General infrastructure/design question - long

Michal Wallace sabren at manifestation.com
Mon Nov 19 16:07:29 EST 2001


On Mon, 19 Nov 2001, Bill Witherspoon wrote:

> My fear is that everytime I change the db schema, I have
> to run around and update all of the classes to insure that
> the data maps correctly. Is there any way to easily have a
> class that 'knows' how to create its own __init__ so that
> the db fields always become appropriate properties?

ZDC does this.


http://sf.net/projects/zdc

(not much in the way of docs yet, but look in the CVS
browser for RecordObject)


Cheers,

- Michal   http://www.sabren.net/   sabren at manifestation.com 
------------------------------------------------------------
Give your ideas the perfect home: http://www.cornerhost.com/
 cvs - weblogs - php - linux shell - perl/python/cgi - java
------------------------------------------------------------





More information about the Python-list mailing list