[Zope-PTK] New tool proposal: portal_events

Chris Withers fresh@bay-c.co.uk
Tue, 05 Sep 2000 19:43:07 +0100


Andrew Wilcox wrote:
> * It is easy to classify and filter on event types, simply by having
> subclasses of Event such as: ObjectAddedEvent, a subclass of
> ObjectManagerEvent, a subclass of Event.

Like that :-)

> (Er, was that very
> clear?  Perhaps an example?)

yes please :-S

> * You will find in your client code that there are operations that you do
> over and over again in reference to the event.  With an Event class, you
> can easily refactor your code to make the common operations methods of the
> class, simplifying your client code.

That sounds cool too...

cheers,

Chris