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

Ernesto Baschny [cron IT] ernst at cron-it.de
Tue Jun 2 10:55:36 CEST 2009


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




More information about the TYPO3-dev mailing list