Itamar Shtull-Trauring <[EMAIL PROTECTED]> wrote:
> Bob Barter wrote:
> > 
> > Is there a way for an object to be notified that it has been
> > modified?
> Use ZPatterns 0.4, it allows you to be notified of events - change,
> add and delete of objects.

I may be confused, but normally the object should _know_ that it has
been modified, because one of its methods has been called.  In fact,
the usual pattern for this is to have the object notify other
interested parties ("Observers") of the fact that it has changed.

2.2 has experimental support for this -- see
$ZOPE/lib/python/OFS/  Also, see the writeup
on this in the Intefaces wiki (start from -- look for ObserverAndNotification.


Zope maillist  -  [EMAIL PROTECTED]
**   No cross posts or HTML encoding!  **
(Related lists - )

Reply via email to