[TYPO3-core] Taming the Performance in 6.2
Thomas Maroschik
tmaroschik at dfau.de
Thu Nov 7 08:31:24 CET 2013
Hello Christian,
Am 07.11.13 07:53, schrieb Christian Weiske:
>> Dropping PSR-0 support is no option?
>
> TYPO3 does not have and never had PSR-0 support. It requires a clear
> mapping of class to file names" replace \ and _ with /, append .php.
>
> In TYPO3, you need to split the class name up to extension name and
> class name, and create some path out of it in a nondeterministic way.
>
> Actually introducing PSR-0 support would lighten that burden.
Since the introduction of the PackageManager PSR-0 support is there for
Flow and Composer Packages. But it does not help that much as the right
package path for the classname has still to be determined. See [1]. And
copying class files into the right folder structure deterministic
resolving is imho a no go. It introduces issues of its own, like when to
invalidate the copies and recopy them?
[1]
https://github.com/composer/composer/blob/master/src/Composer/Autoload/ClassLoader.php#L222
--
Thomas Maroschik
TYPO3 CMS Active Contributor
TYPO3 .... inspiring people to share!
Get involved: typo3.org
More information about the TYPO3-team-core
mailing list