Re: Cache_Lite and PEAR naming
| From: | Bertrand Mansion | Date: | Thu, 19 Sep 2002 21:28:14 +0000 |
| Subject: | Re: Cache_Lite and PEAR naming | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-9233@lists.php.net to get a copy of this message | ||
<tuupola@appelsiini.net> wrote :
>
> Nitpicking about PEAR naming standards again :) but shouldn't
> Cache_Lite files be installed something like:
>
> Cache/Lite.php
> Cache/Lite/Output.php
> Cache/Lite/Function.php
>
> Now they get installed as:
>
> Cache_Lite/Cache_Lite.php
> Cache_Lite/Cache_Lite_Output.php
> Cache_Lite/Cache_Lite_Function.php
>
> "The PEAR class hierarchy is also reflected in the class name,
> each level of the hierarchy separated with a single underscore."
>
> The CS does not directly mention installation path, but IIRC
> the installation path directly reflects class hierarchy.
You are right, this should be changed in the repository.
Bertrand Mansion
Mamasam