Re: PEAR/PECL and Namespaces
| From: | Stig S. Bakken | Date: | Sun, 13 Apr 2003 23:25:33 +0000 |
| Subject: | Re: PEAR/PECL and Namespaces | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-15150@lists.php.net to get a copy of this message | ||
On Sun, 2003-04-13 at 01:04, l0t3k wrote:
> hey all,
>
> i'm working on an OO based extension for PHP5 which at some point i'd like
> to submit to PECL. since extensions now can declare their own namespaces, id
> like to get a basic discussion going about how we select/reserve namespaces
> for extensions. or is it that PECL code is not necessarily considered a part
> of the PEAR namespace heirarchy.
> in my particular case, the extension implements functionality already in
> PEAR, but i'd also like to hear people's ideas about the general case.
Why not make a regular PEAR package with C code? All you really need to
do is follow the naming standards for classes and such. Hey, if it
implements the same stuff as some existing package written in PHP, the C
implementation could even replace it (or parts of it).
- Stig