[Zope-dev] Re: Re: [Zope-dev] ZPatterns framework improvements

Phillip J. Eby pje@telecommunity.com
Sun, 21 May 2000 21:27:42 -0500


At 03:51 PM 5/21/00 -0400, Tres Seaver wrote:
>
>This is really just the classic Observer pattern, a la GoF Design
>Patterns.  "ObjectAdded" and "ObjectRemoved" are events a
>"RackObserver" would register for;  "AfterCreate", "Changed",
>and "BeforeDestroy" are events of the "hosted" object itself.  Note
>that "ObjectAdded" and "ObjectRemoved" would be called during move or
>rename operations, even though the object is not being created.

Yes, but the DataManager will filter that such that Zope "Move" and
"Rename" operations will show to Indexing and Rule agents as though they
were just "Change" events.  See the DataManagementEvents entry in the new
ZPatterns Wiki for details on how this will work.