Re: Autoloader class

2012-01-03 Thread Christian Grobmeier
On Tue, Jan 3, 2012 at 8:44 AM, Ivan Habunek wrote: > On 2 January 2012 17:45, Christian Grobmeier wrote: >> +1 >> Sad but true. >> >> I just had a random thought. Not sure if it is true because I am not >> that hardcore user of git... >> but wouldn't it be very easy to maintain two branches of l

Re: Autoloader class

2012-01-03 Thread Florian Semm
Am 03.01.2012 08:44, schrieb Ivan Habunek: On 2 January 2012 17:45, Christian Grobmeier wrote: +1 Sad but true. I just had a random thought. Not sure if it is true because I am not that hardcore user of git... but wouldn't it be very easy to maintain two branches of log4php, at least for a whi

Re: Autoloader class

2012-01-02 Thread Ivan Habunek
On 2 January 2012 17:45, Christian Grobmeier wrote: > +1 > Sad but true. > > I just had a random thought. Not sure if it is true because I am not > that hardcore user of git... > but wouldn't it be very easy to maintain two branches of log4php, at > least for a while? One with namespace one withou

Re: Autoloader class

2012-01-02 Thread Christian Grobmeier
On Mon, Jan 2, 2012 at 4:18 PM, Ivan Habunek wrote: > Hi Florian, > > On 2 January 2012 16:07, Florian Semm wrote: >> That's a good point and it isn't much work. >> >> Do we need the $_classes array or is a naming-conversion for the classes >> (PEAR/Zend) an alternative solution? > > I'm not a fa

Re: Autoloader class

2012-01-02 Thread Christian Grobmeier
On Mon, Jan 2, 2012 at 2:51 PM, Ivan Habunek wrote: > There's one thing that's been bugging me for ages, and that's the > array used for autoloading which is located at the beginning of > Logger.php ($_classes). > > I think it should be moved into a separate class, e.g. > LoggerAutoLoader.php, alo

Re: Autoloader class

2012-01-02 Thread Ivan Habunek
On 2 January 2012 16:32, Florian Semm wrote: > PEAR naming conversion was just a example for pseudo namespaces and it is > backward compatible. I understand, I just think it's not worth the effort. > Namespaces are not planed for the 2.3 release, right? Short answer: no. Long answer: Can't spe

Re: Autoloader class

2012-01-02 Thread Florian Semm
Am 02.01.2012 16:18, schrieb Ivan Habunek: Hi Florian, On 2 January 2012 16:07, Florian Semm wrote: That's a good point and it isn't much work. Do we need the $_classes array or is a naming-conversion for the classes (PEAR/Zend) an alternative solution? I'm not a fan of the PEAR naming conve

Re: Autoloader class

2012-01-02 Thread Ivan Habunek
Hi Florian, On 2 January 2012 16:07, Florian Semm wrote: > That's a good point and it isn't much work. > > Do we need the $_classes array or is a naming-conversion for the classes > (PEAR/Zend) an alternative solution? I'm not a fan of the PEAR naming convention (and neither is Christian). Anyw

Re: Autoloader class

2012-01-02 Thread Florian Semm
Am 02.01.2012 14:51, schrieb Ivan Habunek: There's one thing that's been bugging me for ages, and that's the array used for autoloading which is located at the beginning of Logger.php ($_classes). I think it should be moved into a separate class, e.g. LoggerAutoLoader.php, along with the autoloa

Autoloader class

2012-01-02 Thread Ivan Habunek
There's one thing that's been bugging me for ages, and that's the array used for autoloading which is located at the beginning of Logger.php ($_classes). I think it should be moved into a separate class, e.g. LoggerAutoLoader.php, along with the autoload() method. It's huge, and it is not logicall