Re: PhD class renamings
| From: | Philip Olson | Date: | Tue, 16 Jun 2009 14:10:39 +0000 |
| Subject: | Re: PhD class renamings | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969380491@lists.php.net to get a copy of this message | ||
On Jun 16, 2009, at 1:34 AM, Christian Weiske wrote:
Hi Hannes,How about using namespaces now? For PhD HEAD. PHP 5.3 is the future, so let's get onboard. :) Regards, PhilipThat was consensus - lowercasity is to distinguish between "normal" directories (i.e. class dirs) and namespace dirs - at least in the PEAR2 standards.I don't see any explicit mention of the vendor directory must being lowercase (although all examples are lowercased)..But that is the only difference?Yes.But ok, then I prefer to use 'phd' and make dirty autoload workaround until we move to namespaces. ..actually. That will make the namespace name 'phd\PhD\', 'phd\PhD\Reader', 'phd\PhD\Package\PEAR' ?No. When we use namespaces, we don't need the PhD class prefix anymore. So without namespaces: PhD_Package_PEAR_Web with namespace: phd\Package_PEAR_Web