[Zope3-dev] zwiki: performance of findChildren()

Gary Poster gary@modernsongs.com
Fri, 25 Apr 2003 13:00:30 -0400


Shane Hathaway wrote:

> Another possible benefit I've been pondering is the ability for the 
> application to restore context when reacting to ZODB-initiated events. 
> For example, ZODB might tell the application that some object was 
> modified.  The application looks at the object's hubId and uses the 
> object hub to get the path to that object.  Then it traverses that path 
> and invokes some adapter in that context, sending the event to the 
> adapter.  (Batching events might make it fast.)

The only fly in that ointment I know of is that objects are usually not 
aware of their own hubIds.

Gary