On Wednesday 31 August 2005 05:41, Martijn Faassen wrote: > Okay, this is clear. It's not that clear to me how to efficiently make a > subscriber only handle one object type (I've been using the "is this a > IFoo? If not, return" pattern at the start of subscribers), but that's > another discussion.
The better pattern is: Have a subscriber to your event E that sends out another event notification for (E, E.obj). Then you have many subscribers to the latter pair. Note that we are already doing this for object events. Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software Design, Development and Training _______________________________________________ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com