Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:56117 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 26667 invoked from network); 7 Nov 2011 17:41:50 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Nov 2011 17:41:50 -0000 Authentication-Results: pb1.pair.com header.from=guilhermeblanco@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=guilhermeblanco@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.220.42 as permitted sender) X-PHP-List-Original-Sender: guilhermeblanco@gmail.com X-Host-Fingerprint: 209.85.220.42 mail-dy0-f42.google.com Received: from [209.85.220.42] ([209.85.220.42:38731] helo=mail-dy0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 0D/77-13242-A5818BE4 for ; Mon, 07 Nov 2011 12:41:47 -0500 Received: by dyi33 with SMTP id 33so183093dyi.29 for ; Mon, 07 Nov 2011 09:41:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=z+tlccHJ892sRC2Kb4XNfY951dx6t9ootrr673H3POM=; b=MTLvriBl+75Zvz1y34XHifqcKBWtzCfg6oaKbaHG2Qv/VOKVYMIx+83MlbijmQedqR a6rWBZYl6Y7+npUFVF2JInJAJLKYGK+I4x5kKPlCgQfnKGXoroQ57vj4cMRROXerdVnb qnEb6l0eQLcZwFREYhpgGv5Ce2BS1O7ZU0S9A= Received: by 10.182.13.3 with SMTP id d3mr3827322obc.20.1320687702868; Mon, 07 Nov 2011 09:41:42 -0800 (PST) MIME-Version: 1.0 Received: by 10.182.221.71 with HTTP; Mon, 7 Nov 2011 09:41:21 -0800 (PST) In-Reply-To: <4EB81703.7030605@hoa-project.net> References: <4EB81703.7030605@hoa-project.net> Date: Mon, 7 Nov 2011 15:41:21 -0200 Message-ID: To: ivan.enderlin@hoa-project.net Cc: David Coallier , internals Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] SplClassLoader RFC Voting phase From: guilhermeblanco@gmail.com ("guilhermeblanco@gmail.com") 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 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 presen= t > in the proposed implementation). > > I have a solution in Hoa (a set of libraries, please, see my signature) f= or > supporting multiple paths per namespace. How can I contribute knowing tha= t > 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 > > --=20 Guilherme Blanco Mobile: +55 (11) 8118-4422 MSN: guilhermeblanco@hotmail.com S=C3=A3o Paulo - SP/Brazil