Re: [PEPr] Comment on RFC::NotificationCenter

From: Date: Tue, 04 Jan 2005 15:27:02 +0000
Subject: Re: [PEPr] Comment on RFC::NotificationCenter
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-35332@lists.php.net to get a copy of this message
Bertrand Mansion wrote:
That is why I proposed the alternative of simply having a common interface with a reference implementation (or maybe several for different specific needs) that people essentially cut and paste. I am not so worried about lines of code here. I am more worried about number of required files.
I think the notification center is a lot less intrusive than PEAR, PEAR_Error or even Error_Stack. It is not because you use it that the user has to use it. Furthermore, requiring an interface file per observable packages would take even more time... :D
Yeah .. do interfaces work via __autoload? would be kind of funky to be able to disable interface checking via an ini option. I mean in production you could care less about what implement what interface .. its more of a development tool :-) regards, Lukas

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