Hi Ivan,

I updated the RFC a few hours ago based on a lengthy discussion in
php-standards.
It seems after these 2 years of PSR-0, all the rules are kept, but
some changes were made to the original code (the one in RFC) to
enhance the support. They are:

- Multiple paths per namespace
- Silent mode

The first one seems very useful in a component based library, while
the second is intended to not explode the class required if you have
multiple instances of ClassLoader.
I added quickly the methods ->registerNamespace() and
->registerPrefix() to RFC, but I still require to update the
SplClassLoader PHP based version.

By now, you can either look at Symfony 2, Doctrine 2 or Zend Framework
2 to see the implementation details.

Cheers,

On Mon, Nov 7, 2011 at 3:36 PM, Ivan Enderlin @ Hoa
<ivan.ender...@hoa-project.net> wrote:
> On 07/11/11 14:41, David Coallier wrote:
>>
>> Hey everyone,
>
> Hi David,
>
>> After lengthy discussions and various opinion, we believe this issue
>> has been discussed at length and the PSR-0 has had this standard
>> effective for the past 1.5 year.
>>
>> The SplClassLoader RFC has moved to "voting" stage. Please cast your
>> votes at https://wiki.php.net/rfc/splclassloader/vote
>>
>> Thank you very much for all the interest showed so far,
>
> I'm very interesting by SplClassLoader but the RFC is not consistent. You
> give an example that actually does not follow the proposed implementation
> (e.g. the registerNamespace() and registerPrefix() methods are not present
> in the proposed implementation).
>
> I have a solution in Hoa (a set of libraries, please, see my signature) for
> supporting multiple paths per namespace. How can I contribute knowing that
> Hoa's implement follows the RFC (since it's beginning).
>
> Best regards.
>
> --
> Ivan Enderlin
> Developer of Hoa
> http://hoa.42/ or http://hoa-project.net/
>
> PhD. student at LIFC/DISC (Vesontio) and INRIA (Cassis)
> http://lifc.univ-fcomte.fr/ and http://www.inria.fr/
>
> Member of HTML and WebApps Working Group of W3C
> http://w3.org/
>
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>



-- 
Guilherme Blanco
Mobile: +55 (11) 8118-4422
MSN: guilhermebla...@hotmail.com
São Paulo - SP/Brazil

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to