Re: Class-/Filenaming/Directorystructure RFC

From: Date: Tue, 27 Apr 2004 00:16:49 +0000
Subject: Re: Class-/Filenaming/Directorystructure RFC
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-28388@lists.php.net to get a copy of this message
Stefan Neufeind wrote:
I also do think that usually the rule is very good, but should allow exceptions in certain cases. To come up with one example: The file "Elements.php" of Image_Graph contains several, mainly small elements. They only get their size from the phpdoc-comments actually :-)) They are mostly just for storing data or very short functions. Splitting all classes in this file into separate files would imho be an overkill, since a lot of Elements rely on parent-classes.
For people who know Java, this is akin to inline classes. Inline classes are usually just another form of code structuring, and get used almost only in the code of the 'bigger' class. -- Sérgio Carvalho AIM: SergioSGC / ICQ: 67512780

Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
« previous php.pear.dev (#28388) next »