Re: SplClassLoader RFC Voting phase
| From: | Ivan Enderlin @ Hoa | Date: | Mon, 07 Nov 2011 17:59:32 +0000 |
| Subject: | Re: SplClassLoader RFC Voting phase | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-56120@lists.php.net to get a copy of this message | ||
On 07/11/11 18:41, guilhermeblanco@gmail.com wrote:
Hi Ivan, Hi,
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. Exactly.
I added quickly the methods ->registerNamespace() and ->registerPrefix() to RFC, but I still require to update the SplClassLoader PHP based version. Ok.
By now, you can either look at Symfony 2, Doctrine 2 or Zend Framework 2 to see the implementation details. The implementation is not a problem. I just said that your RFC is not consistent and thus we can't vote for a partial RFC, it's has no sense.I repeat my proposition to participate to this effort (PSR). How can I contribute? 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/