Re: [PEPr] Changes in proposal for Util::Util_Observable

From: Date: Sat, 18 Sep 2004 02:28:23 +0000
Subject: Re: [PEPr] Changes in proposal for Util::Util_Observable
References: 1 2 3 4 5 6 7 8 9  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-33419@lists.php.net to get a copy of this message
Greg Beaver wrote:
Martin Jansen wrote:
On Fri Sep 17, 2004 at 11:4251AM -0400, Greg Beaver wrote:
Maybe we could implement this solution: package-specific interfaces should go in a subdirectory of the package and be named Package_Interface_Blah, and be in Package/Interface.php
Shouldn't this be Package/Interface/Name.php?
Possibly, but since interfaces are unlikely to be more than a few lines, it seems a bit inefficient to put them in separate files. I'm open for debate, I'd be happy calling it Package_InterfaceName as well, but Alan liked Package_Interface_Name better.
Exceptions definitions are likely to be 1 liners, Interfaces, will probably be quite large in general, with alot of Phpdoc comments. Grouping Interfaces in a folder on their own, does help a little to reduce the signal to noise ration when browing around code directories. Regards Alan
Greg


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