Re: SplClassLoader

From: Date: Thu, 03 Nov 2011 20:48:43 +0000
Subject: Re: SplClassLoader
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-56050@lists.php.net to get a copy of this message
2011/6/27 guilhermeblanco@gmail.com <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

« previous php.internals (#56050) next »