[TYPO3-dev] How to use the new autoloader feature?
Martin Kutschker
masi-no at spam-typo3.org
Tue Jun 2 09:32:58 CEST 2009
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
Masi
More information about the TYPO3-dev
mailing list