[ZODB-Dev] know the state of an object

Victor Safronovich vsafronovich at naumen.ru
Tue Oct 18 03:18:53 EDT 2005


Hello Jim Fulton,

Friday, October 14, 2005, 7:01:00 PM, you wrote:

JF> The long term solution to these are other related use cases is to start
JF> using events in ZODB.  That is, ZODB should use zope.event to report
JF> happenings of potential interest to applications.  Then applications
JF> can use the event system to be notified and provide additional
JF> functionality.
   May be usefull to add some simple workflow to Persistent class with
   states:
       GHOST
       UPTODATE
       CHANGED
       STICKY
   transitions:
       activate
       deactivate
       ghostify
       unghostify
       changed
       invalidate
       and others
   and to be able to add hooks to before and after transition.

-- 
Best regards,
 Victor Safronovich
 NauMen.NauDoc.SoftwareDeveloper  http://www.naumen.ru



More information about the ZODB-Dev mailing list