[DB-SIG] Saving composed objects.

Alex Willmer alex at moreati.org.uk
Thu Jul 10 20:32:50 CEST 2008


On Thu, 2008-07-10 at 19:41 +0200, Federico Di Gregorio wrote:
> On Thu, Jul 10, 2008 at 01:19:02PM +0100, Heston James - Cold Beans
> wrote:
> > I'm looking for your thoughts and advice on saving composed objects
> to the
> > database using the db API. Where do you place your persistence code?
> For
> > arguments sake let's look at a simple foo/bar example.
> 
> Use one of the many persitence layers available in Python.
> Just search on f r e s h m e a t for them. ;)

Also take a look here:
http://wiki.python.org/moin/HigherLevelDatabaseProgramming

Object Relational Mapping is the term for persisting class instances in
a database.

The current celebrities are SQLObject and SQLAlchemy. Axiom
asynchronous, being closely aligned with the Twisted suite.

Alex



More information about the DB-SIG mailing list