Re: Re: [PEPr] Comment on PHP::Autoloader

From: Date: Fri, 28 May 2010 23:02:37 +0000
Subject: Re: Re: [PEPr] Comment on PHP::Autoloader
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-53516@lists.php.net to get a copy of this message
On Fri, May 28, 2010 at 8:24 AM, Markus Malkusch <markus@malkusch.de> wrote: > Christian Weiske: > >> - GPL is not there for a reason, you have to use a different license > > OK, I will read the list of licenses and decide for one of them. I'm curious, > what't the reason against GPL? The reason is that when someone else uses your code, the GPL forces this code to be GPL as well. That's why we use more liberal licenses which allow our libraries to be used in other open source projects and also in commercial environments. >> - I don't think that autoloader should be in PEAR, given that there is >> already an autoloader that works with PEAR standards. > > PEAR's Autoloader is (as far as I see) only used internally for loading PEAR > classes which follow the PEAR conventions. > > This Autoloader is not intended for autoloading only PEAR classes (although it > could do that). It's purpose is beeing used by an application developer as > Autoloader for his project. There are no naming conventions for classes to be > found. The autoloader would simply find every class in a given class path. BTW > the Autoloader still works if there are other autoloaders registered. > I think this package could still be a nice addition. Of course it wouldn't necessarily be used for PEAR itself. After all, the coding standards enforce naming rules which make autoloading trivial. :-) Till

« previous php.pear.dev (#53516) next »