Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:56166 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 90195 invoked from network); 8 Nov 2011 17:17:37 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Nov 2011 17:17:37 -0000 Authentication-Results: pb1.pair.com smtp.mail=guilhermeblanco@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=guilhermeblanco@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.214.42 as permitted sender) X-PHP-List-Original-Sender: guilhermeblanco@gmail.com X-Host-Fingerprint: 209.85.214.42 mail-bw0-f42.google.com Received: from [209.85.214.42] ([209.85.214.42:40262] helo=mail-bw0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 19/61-17035-03469BE4 for ; Tue, 08 Nov 2011 12:17:36 -0500 Received: by bkbzt4 with SMTP id zt4so662214bkb.29 for ; Tue, 08 Nov 2011 09:17:33 -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=Zu7CQga3Wn3B2JjYKuSUoPYgkW7NRdORtoXYBjoMvVQ=; b=XfHpjaDiz0WRZB1IejwpsXcRH3aabgIYLEFvB/ToZWtH9L5lLX0GMfj74ZG7i2vQjK nhorTtLLFRdGGjHKQHEjuXHnlj9y6TOdaOvNbl3DFR1uCkWVOCflou79cudzRV3KoTAA E464eOOrg+GL4n+mAfAXB5kLHLwBXvysVWKas= Received: by 10.182.174.106 with SMTP id br10mr10253039obc.40.1320772652295; Tue, 08 Nov 2011 09:17:32 -0800 (PST) MIME-Version: 1.0 Received: by 10.182.221.71 with HTTP; Tue, 8 Nov 2011 09:17:11 -0800 (PST) In-Reply-To: <4EB8A22B.8000607@lerdorf.com> References: <4EB81703.7030605@hoa-project.net> <4EB81C84.8010609@hoa-project.net> <4EB820BB.2030009@lsces.co.uk> <4EB822D4.4060306@hoa-project.net> <4EB89C36.5000503@garfieldtech.com> <4EB8A22B.8000607@lerdorf.com> Date: Tue, 8 Nov 2011 15:17:11 -0200 Message-ID: To: Rasmus Lerdorf Cc: Larry Garfield , internals@lists.php.net 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") Ok... I promised to complete the RFC and here I am. I wrapped the entire idea, PHP implementation of what I'm proposing all in = RFC. If you're interested, feel free to review the document, highlight if I missed something and update/add your votes. http://wiki.php.net/rfc/splclassloader Answering possible questions: 1- Why do not implement a fallback directory? It is implemented as part of include_path lookup. Just add the fallback directory in your include path and you're done. 2- Why not implement addAll, remove, etc? Remove is useless. conditionally add loaders and you're done. AddAll is ok for user land, but we focus on basic stuff, not fluffy implementations. It can be easily done in userland. Cheers, On Tue, Nov 8, 2011 at 1:29 AM, Rasmus Lerdorf wrote: > On 11/07/2011 07:04 PM, Larry Garfield wrote: > >> If anything, the low degree of communication between "people who write >> PHP" and "people who write in PHP" is, and has long been, one of PHP's >> great weaknesses. =C2=A0I think this entire thread has shown that very w= ell. >> =C2=A0That is something that needs to be addressed, just as much as >> inter-framework communication does. =C2=A0Perhaps moreso. > > This is the second time someone has alluded to that. I don't see a > single core PHP developer weighing in on this thread in the way you > describe. All I see are various framework folks disagreeing with each oth= er. > > -Rasmus > > -- > 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