Re: PEAR/PECL and Namespaces

From: Date: Mon, 14 Apr 2003 00:16:45 +0000
Subject: Re: PEAR/PECL and Namespaces
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-15151@lists.php.net to get a copy of this message
On Sunday, April 13, 2003, at 07:25 PM, Stig S. Bakken wrote:
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).
It can certainly share the same namespace, which is nice solution to this problem.

« previous php.pear.dev (#15151) next »