Re: Status of Util_Observable?

From: Date: Mon, 17 Jan 2005 14:21:05 +0000
Subject: Re: Status of Util_Observable?
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-35534@lists.php.net to get a copy of this message
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.

« previous php.pear.dev (#35534) next »