Author: aklaver@comcast.net (Adrian Klaver)
Posted: 2008-02-16 at 17:53:58
-------------- Original message ----------------------
From: Michael Hipp <Michael@Hipp.com>
<Snip>
>
> I believe you answered my question. But just to make sure...
>
> The problem with a lot of frameworks is that they have wonderful save()
> and load() methods and such. But as soon as save() needs to work on
> multiple tables (or even multiple records at one time within one table)
> then all of a sudden the built-in helpers are no help and you're back to
> writing fully custom SQL and managing transactions and such as if there
> was no framework at all.
>
> Knowing that lots of my stuff is just like this, will I be glad I'm in
> Dabo or will it seem like I'm just back to making calls to psycopg2 on
> my own?
>
> Thanks,
> Michael
>
I good place to start is:
http://paul.dabodev.com/doc/api/dabodoc/
Look at the section on dBizobj and methods save() and saveAll(). I found it instructive to look at the corresponding code in ~/dabo/biz/dBizobj.py. I think you will find the Framework does what you want.
--
Adrian Klaver
aklaver@comcast.net