[storm] some questions about Storm (from the perspective of Grok)

James Henstridge james at jamesh.id.au
Fri Mar 14 02:09:44 GMT 2008


On 13/03/2008, Martijn Faassen <faassen at startifact.com> wrote:
>  Looking at Storm I noticed one thing that seems to be missing that other
>  ORM tools for Python do seem to offer: a way to do table definitions in
>  Python. Instead in the tutorial direct 'create table' statements are
>  used. I'd be interesting to hear whether this missing feature is
>  intentional, and if so, what the reasons behind this decision are.

I wrote a short article about my feelings on this subject here:

http://blogs.gnome.org/jamesh/2007/09/28/orm-schema-generation/

In short, I think a "generate a schema from Python classes" feature
will be useless for any long running project that evolves its schema
over time (unless throwing away all your previous data is an option
...).

I do think it would be useful to have some tool that helps people
manage a database schema as a series of patches though.  I've been
told that Ruby on Rails does this quite well.


James.



More information about the storm mailing list