[Zope3-dev] service names
Shane Hathaway
shane@zope.com
Sat, 01 Mar 2003 18:54:42 -0500
On 03/01/2003 04:08 PM, Steve Alexander wrote:
>
>>>> However publication of an event does not necessarily imply any kind
>>>> of Notification.
>>
>>
>> Seems to me like "publication" implies the whole delivery process from
>> initiation to delivery (notification). Seems like "dispatch" is the
>> other side from notification - how about "EventDispatch" (or maybe
>> "EventDispatching")?
>
>
> I like this. If this change is made, should the method used by client
> code to ask the service to take care of an event still be called
> publish(event), or should it be called dispatch(event) ?
dispatch(event) seems more descriptive.
> A few weeks ago, Gary Poster passed on to me that Matt Kromer at ZC
> suggested 'signal' rather than 'event' to describe these framework-level
> notifications. The advantage of 'signal' is that it avoids confusion
> with human-experience kinds of events like calendar events, two-day
> events etc. that are common in various kinds of content management.
> So, we might have the 'SignalDispatch' and the 'SignalSubscription'
> services.
>
> I think this idea has some merit, and I'd like to see others' opinions
> on it.
+1 on dispatch, -1 on signal. :-)
Shane