Where do we have to inherit from when writing a persistent object? As I have seen, there are at least two choices: Persistence.Persistent and Globals.Persistent Thanks, Mario. _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com
Mario Bianchi writes:
Where do we have to inherit from when writing a persistent object? As I have seen, there are at least two choices: Persistence.Persistent and Globals.Persistent "Globals.Persistent" is defined by
from Persistence import Persistent Thus, both are identical. "Globals" has apparently been defined to have most relevant definitions in one place rather than spread over dozens of modules. Unfortunately, "Globals" no longer provides most relevant definitions... Dieter
Either is fine. Persistence.Persistent is preferred. On Mon, 2002-09-02 at 05:52, Mario Bianchi wrote:
Where do we have to inherit from when writing a persistent object? As I have seen, there are at least two choices: Persistence.Persistent and Globals.Persistent
Thanks, Mario.
_________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
participants (3)
-
Chris McDonough -
Dieter Maurer -
Mario Bianchi