Re: PhD class renamings
| From: | Hannes Magnusson | Date: | Tue, 16 Jun 2009 14:43:15 +0000 |
| Subject: | Re: PhD class renamings | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969380492@lists.php.net to get a copy of this message | ||
On Tue, Jun 16, 2009 at 16:10, Philip Olson<philip@roshambo.org> wrote:
>
> On Jun 16, 2009, at 1:34 AM, Christian Weiske wrote:
>
>> Hi Hannes,
>>
>>
>>>>> But that is the only difference?
>>>>
>>>> Yes.
>>>
>>> I don't see any explicit mention of the vendor directory must being
>>> lowercase (although all examples are lowercased)..
>>
>> That was consensus - lowercasity is to distinguish between "normal"
>> directories (i.e. class dirs) and namespace dirs - at least in the PEAR2
>> standards.
>>
>>> 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
>
> How about using namespaces now? For PhD HEAD. PHP 5.3 is the future, so
> let's get onboard. :)
Well, if someone wants to do the work.. feel free :D
-Hannes