[TYPO3-mvc] Extbase FrontendSimulator in FE
Bastian Waidelich
bastian at typo3.org
Mon Sep 12 11:02:49 CEST 2011
Sebastian Michaelsen wrote:
Hi Sebastian,
> I chose to create a patch with minimal changes.
That's great. Did you upload it somewhere?
> I think there's room for improvement, especially in terms of performance.
I didn't have a close look at it yet (even though I just found out that
someone put my name in the code..). But IIRC it was meant to be used
especially to mock TSFE unit tests.
Right now it is used only once in the Configuration Manager (if
persistence.stroagePid is a TS Object) in order to render the TS Object [1].
In my opinion, this is the actual issue. We should at least add a check
for TYPO3_MODE and skip those lines if already in FE.. That would solve
the performance issue in frontend. Agree?
Bastian
[1]
<http://git.typo3.org/TYPO3v4/CoreProjects/MVC/extbase.git?a=blob;f=Classes/Configuration/AbstractConfigurationManager.php;h=6c6db02807f779240a43825c705a3ad680c3206b;hb=HEAD#l176>
More information about the TYPO3-project-typo3v4mvc
mailing list