Re: Re: [PEPr] Comment on PEAR::NameScheme
| From: | David Costa | Date: | Sun, 06 Jun 2004 14:11:54 +0000 |
| Subject: | Re: Re: [PEPr] Comment on PEAR::NameScheme | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-30035@lists.php.net to get a copy of this message | ||
On Jun 6, 2004, at 4:08 PM, Andrey Demenev wrote:
Pepr wrote:that was what I feared too when I saw it, so I doubt it will be accepted. Cheers David CostaDmitry Koteroff (http://pear.php.net/user/koteroff) has commented on the proposal for PEAR::NameScheme. Comment: Andrey, if you call include_once "system.php" in your program, you also load ./system.php, not /usr/local/php/System.php. And even more — your code is not windows-compatible at all (because Windows loads files in case-insensitive mode) and bad because of that.I can always do include_once "./system.php". This was just an example, there may be more complex cases.About coding standarts — first let's vote, and in the case of positive mark I'll convert the package.I am talking not about _coding_ standards (although they are important too), but about _naming_ standards you rely on (like class OLE must reside in OLE.php), which are not respected by all packages (actally it is in OLE/OLE.php) As I already said, I personally don't see any use in this package.