[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TYPO3-dev] How to use the new autoloader feature?



Martin Kutschker wrote: on 02.06.2009 09:32:
> Ingo Renner schrieb:
>> Martin Kutschker wrote:
>>
>> hi Masi,
>>
>>> IMHO using a standard filename and class name pattern should be enough
>>> for the autoloader to find the class. Only legacy class names that don't
>>> match the requirements should be registered manually.
>> Yes, that was my opinion at first too. However I changed my mind about
>> that in favor of the "registry",
> 
> I think I wasn't clear. What I propose is that the EM scans the
> extensions and automatically adds all classes to the "registry" that
> match the filename conventions.
> 
> This has two benefits:
> 
> a) The extension author does not need to create a config file
> b) The naming conventions are encouraged

Yes, +1 to that idea. :)

Cheers,
Ernesto
_______________________________________________
TYPO3-dev mailing list
TYPO3-dev@xxxxxxxxxxxxxxxxxxxx
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev