[Zope-PTK] portal_events

Shane Hathaway shane@digicool.com
Thu, 24 Aug 2000 10:59:12 -0400


Tres Seaver wrote:
> I would *far* rather add one or more filter objects, perhaps
> of the same class as 'portal_events', but whose job in life
> was to "condition" the set of events which they propagated
> to *their* subscribers::
> 
>          portal_events :
>        PortalEventChannel
>             ^
>             |
>       <<subscribed>>
>             |
>   workflow_events : +---- passes only "WorkflowEvent" events
>  PortalEventChannel       on to its subscribers.
> 
> Part of the point of my proposal was to remove the burden
> of tracking subscriptions from all possible event sources,
> and to allow for customization of event flows via
> configuration, rather than coding.

Okay, you win. :-) With your way we get both options, filtered events
and non-filtered events.

Shane