[TYPO3-core] RFC Feature #11148: Remove static require_once() to t3lib and tslib and use autoloading instead

Ernesto Baschny [cron IT] ernst at cron-it.de
Tue May 19 21:58:13 CEST 2009


Susanne Moog wrote: on 19.05.2009 21:54:
> Oliver Hader schrieb:
>> This is an SVN patch request.
>>
>> Type: Feature
>>
>> Bugtracker references:
>> http://bugs.typo3.org/view.php?id=11148
>>
>> Branches: Trunk
>>
>> Problem:
>> Since autoloading is integrated in the TYPO3 Core it's not required to
>> statically require files without knowing whether they are really required.
>>
>> Solution:
>> Remove require_once() calls to files in t3lib and tslib.
>>
>> Notes:
>> This is just the beginning of cleaning up the core - there are many
>> still require_once() to t3lib classes that will be removed later on.
>> For the time being I'd like you to install the patch, test it (happy
>> clicking ;)) and tell me if you experience any negative effects.
>>
>> If you are interested in meassuring the improvements, execute a
>> benchmark before testing this patch and one afterwards.
> 
> +1 by reading (a bit monotone ...) and testing (felt like 2000 clicks,
> tested mainly thinks like working with content and pages, user
> permissions, copying and moving etc.)
> 
> (I don't really trust my benchmarks, they say it's 20% faster [that
> seems way too much to me])

I think this is what Oli predicted it to be more or less. So it can be
possible. I can imagine that also the frontend will benefit a lot from
it later!

Cheers,
Ernesto


More information about the TYPO3-team-core mailing list