[orm-devel] Automatic table modufication (was: orm)
Diedrich Vorberg
orm-devel@mailman.tux4web.de
Sat, 7 Dec 2002 07:29:45 +0100
Hi Ross,
>I'd stay away from the idea of making orm do schema management. My fear
>would be that adding this kind of feature set would make orm bloated and
>cumbersome. I also think that schema management is best left to the db
>supplier (or other third parties that specialize in it). I generally
>put a lot of thought and time into designing a schema that will
>efficiently model the problem domain. Actually building the tables
>takes up only a small portion of this time. I really *hate* changing
>the schema once the entities/tables have been created - the ability to
>have orm do it for me doesn't sound very interesting.
If this is done it has to stay in a module of its own and should not
make changes to any other part of orm necessary. With that requirement
met I don't see any harm done. I can see side how it could be usefull
for some.
Personally I change around the tables a bit but that usually means
changing the app, too. The effort bringing orm up-to-date with the
SQL is dwarfed by the work spent on that.
Diedrich
--
_..._ Diedrich Vorberg
.' '.
/ _ _ \ http://www.tux4web.de
| (o)_(o) | info@tux4web.de
\( ) / .---.
//'._.'\ \ / \ Internet Dienstleistungen
// . \ \ \.@-@./ und 'Consulting'.
|| . \ \ /`\_/`\
|\ : / | // _ \\ Linux Rules!
\ `) ' (` /_ | \ )|_
_)``".____,.'"` (_ /`\_`> <_/ \
) )'--'( ( \__/'---'\__/
'---` `---`