[Zope-PTK] New tool proposal: portal_events

Dan L. Pierson dan@sol.control.com
Tue, 22 Aug 2000 09:15:21 -0400 (EDT)


Shane Hathaway writes:
 > Note that portal_events should eliminate the need for hook-like
 > functions.

I agree that this is a better approach for most uses of hooks.  While
elaborating hooks to advice may be entertaining it's definitely
inferior to a decent event structure for event like problems.  (The
main remaining uses of advice go beyond what can be done with either
hooks or events and are mainly useful for debugging and exploratory
programming, but that opens up a general Python can of worms that I
may be best avoided...)