Re: [PEPr] Changes in proposal for Util::Util_Observable
| From: | Greg Beaver | Date: | Fri, 17 Sep 2004 16:51:09 +0000 |
| Subject: | Re: [PEPr] Changes in proposal for Util::Util_Observable | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-33411@lists.php.net to get a copy of this message | ||
Philippe Jausions wrote:
Basically, should an interface be in the same directory as the main package implementing it or should it be in a collection of interfaces? Consistency for all interface is a must, so to help you think consider the two interfaces: Observable and Template...I disagree on one point. There is a different between private, package-specific interfaces and public interfaces that can be used by many unrelated packages. Consistency for all public and consistency for all private interfaces is a must, but they needn't be the same format. Public: Interface/Observable.php -> Interface_Observable Interface/Template.php -> Interface_Template Private: DB/Interface.php -> DB_Interface_Driver PhpDocumentor/Interface.php -> PhpDocumentor_Interface_Tag, PhpDocumentor_Interface_InlineTag, PhpDocumentor_Interface_Reflectable etc. Greg