Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:56131 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 56560 invoked from network); 7 Nov 2011 20:37:45 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Nov 2011 20:37:45 -0000 Authentication-Results: pb1.pair.com smtp.mail=ircmaxell@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=ircmaxell@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.177 as permitted sender) X-PHP-List-Original-Sender: ircmaxell@gmail.com X-Host-Fingerprint: 209.85.216.177 mail-qy0-f177.google.com Received: from [209.85.216.177] ([209.85.216.177:34465] helo=mail-qy0-f177.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 26/1D-13242-79148BE4 for ; Mon, 07 Nov 2011 15:37:44 -0500 Received: by qyk10 with SMTP id 10so4554911qyk.8 for ; Mon, 07 Nov 2011 12:37:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=OJJLlhK+Pv2VHOU5qT/lH00LLfz9a0hxEJjAh8jmBw0=; b=XkAST/wnz2q6LyH+jMyZcWIOhAMw2d5Uzw8YJhevOpHmzILa3MvFAaZ23yVcRWh/Nr yRQw+tlla0k4at9+J+2RxE2BMxE5Gj7jZpLF6szsZtQg+uty/kXRNfYw6DwGA4+1zVT8 t7j54JMnYg+SW2idk3qe8og41YxLIs22YwtK8= MIME-Version: 1.0 Received: by 10.229.68.41 with SMTP id t41mr3377209qci.279.1320698260581; Mon, 07 Nov 2011 12:37:40 -0800 (PST) Received: by 10.229.6.202 with HTTP; Mon, 7 Nov 2011 12:37:40 -0800 (PST) In-Reply-To: References: <4EB81703.7030605@hoa-project.net> Date: Mon, 7 Nov 2011 15:37:40 -0500 Message-ID: To: "guilhermeblanco@gmail.com" Cc: ivan.enderlin@hoa-project.net, David Coallier , internals Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] SplClassLoader RFC Voting phase From: ircmaxell@gmail.com (Anthony Ferrara) > I updated the RFC a few hours ago based on a lengthy discussion in> php-s= tandards. Point of order. Discussions on RFCs are supposed to happen on the internals list. That's the point of an open RFC process, so that the discussion and justification can be made public for all to see. The RFCs under discussion should not be changed during this time with the exception of changes requested in the formal discussion. If the RFC was changing during the discussion phase due to closed-door discussions, then I think that it voids the discussion phase entirely. Why am I so adamant against this RFC? Simple: the implementation won't do what people have been promised. There are dozens of *different* PSR-0 implementations out there (Heck, Symfony has **5** of them). Why are we trying to lock the core down to the most limiting version? And at that point, why isn't the http://pecl.php.net/package/automap Automap extension being considered for inclusion instead/in addition? Rather than trying to find the *right* solution for the core, the focus has been on *a* solution. That's the wrong approach in my opinion and I fear that projects and users will suffer in the long run. And that doesn't even hint at the deficiencies that others and myself have pointed out with PSR-0 itself. I don't want to beat a dead horse here, but I still think that it's important to solidify the RFC prior to the voting phase can legitimately happen. Otherwise people are voting on a moving target (which isn't reasonable IMHO). I won't bring it up again, but I feel it's important to assert this officially... Anthony On Mon, Nov 7, 2011 at 12:41 PM, guilhermeblanco@gmail.com wrote: > 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. Yo= u >> give an example that actually does not follow the proposed implementatio= n >> (e.g. the registerNamespace() and registerPrefix() methods are not prese= nt >> 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 th= at >> 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: guilhermeblanco@hotmail.com > S=E3o Paulo - SP/Brazil > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > >