Though, in order to make Event_Dispatcher useful for other PEAR developers,=
in
case they want to use it in their own packages, we have to define a common =
way
to:
1. Document the methods that post notifications.
It would be nice if that was supported by PHPDocumentor, like the @throw
keyword, maybe something like @post NotificationName. Still, this can also =
be
added directly in the method description.
2. Define a standard way to name notifications posted by PEAR packages in o=
rder
to avoid collision.
Something like : PackageClassName_Notification_EventName
Example: HTML_QuickForm_Notification_onSubmit
This might become subject to an RFC.
That would probably be the best way to go and I think it would be a good thing
to define a standard.
Arnaud.