Sunday, May 30, 2010

New Document Editor. First week of coding.

Strangely, there were not much coding this week :) All I've created was same kind of "Hello, world" app for Django-GAE. But now I got a good idea about how these things actually work together.

Most of the time was spent on studying the GAE datastore. I had to get a firm grip on this topic before hacking out Melange's models. First of all, I've looked through a wonderful book on GAE. The architecture of the datastore seemed quite unusual compared to the Django ORM. But it definitely has some cool features like associativity and Expando (sounds great!) class.

My main concern is the architecture of the revision control for Melange. There are two main approaches:
  1. Add fields that store revision information to the existing models and convert the whole bunch of existing documents.
  2. Create model that stores information about revisions and link existing entities to it.
I hope this issue to be resolved soon for me to start actual coding.

P.S. Here is the thread in the development list.

No comments:

Post a Comment