Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:56050 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 21908 invoked from network); 3 Nov 2011 20:49:41 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Nov 2011 20:49:41 -0000 Authentication-Results: pb1.pair.com smtp.mail=patrick.allaert@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=patrick.allaert@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.161.42 as permitted sender) X-PHP-List-Original-Sender: patrick.allaert@gmail.com X-Host-Fingerprint: 209.85.161.42 mail-fx0-f42.google.com Received: from [209.85.161.42] ([209.85.161.42:57824] helo=mail-fx0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 0D/0C-50864-36EF2BE4 for ; Thu, 03 Nov 2011 15:49:39 -0500 Received: by faao26 with SMTP id o26so915667faa.29 for ; Thu, 03 Nov 2011 13:49:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=DWPOUmunfkxaVi/Yta2ozZmxHxobbo3Bbtl8keUc6kE=; b=eL/zZat6z1xMTnTXNk/OQgMu4PA4GlyE1vU1ZKRYxAuOGjhcXzX4IQSVDIHenmUgCS 2W6Qu+WeqLNKv5SyBhCNFG50O9+MiPVsrwbrj7HVuIyU/pr1r+waDWngnXNzAOlBFADM +TR4rGdbMc/PASy6poySJMbFEBaSymtOJshnU= MIME-Version: 1.0 Received: by 10.223.91.82 with SMTP id l18mr16334633fam.30.1320353323812; Thu, 03 Nov 2011 13:48:43 -0700 (PDT) Sender: patrick.allaert@gmail.com Received: by 10.223.95.205 with HTTP; Thu, 3 Nov 2011 13:48:43 -0700 (PDT) In-Reply-To: References: Date: Thu, 3 Nov 2011 21:48:43 +0100 X-Google-Sender-Auth: Asn4ckX1zhGGlm1vBjiSmX0D4VU Message-ID: To: "guilhermeblanco@gmail.com" Cc: rod , Dennis Haarbrink , Hannes Magnusson , internals@lists.php.net Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] SplClassLoader From: patrickallaert@php.net (Patrick ALLAERT) 2011/6/27 guilhermeblanco@gmail.com : > Hannes, > > There's a RFC covering this. There's a patch also. > > https://wiki.php.net/rfc/splclassloader I do have a few remarks: 1. That is not a *class* loader, that is a loader (also for interfaces), hence my suggestion s/SplClassLoader/SplLoader/ 2. PSR-0 is great and it has the merit to exists, however PHP should remain a bit more independent on a standard perspective. My suggestion is to name that class accordingly: SplPsr0Loader ? 3. Optionally, an abstract class or interface might be realized on top of the SplPsr0Loader and would share common points of different autoloading strategies. To achieve that we should take different strategies in mind and see what are the common points. Regards, Patrick