[PEAK] Re: ZODB4 in PEAK status
Phillip J. Eby
pje at telecommunity.com
Tue Jan 13 00:35:26 EST 2004
At 09:04 PM 1/12/04 -0600, Stephen Haberman wrote:
>While I'm bugging you, on a previous project I used the Hibernate
>persistence layer for Java that lazy loads object graphs. E.g. if
>you 'object12 = dm.load(12)', only object12 is gotten from the
>database, but if you do 'object12.anotherObject', it'll intercept
>the call and load anotherObject for you behind the scenes and hook
>it up to object12.
>
>I'm fairly new to the Python database scene; could you give me any
>tips on existing Python frameworks that do this? Or whether I'd be
>wasting my time trying to do this in PEAK (with or without a
>framework)?
PEAK does this automatically for you. I suggest reading lessons one
through four of the tutorial at:
http://peak.telecommunity.com/DevCenter/IntroToPeak
as it covers quite a bit about how data managers are used and implemented.
More information about the PEAK
mailing list