[TYPO3-mvc] injectReflectionService() recent change?

Xavier Perseguers typo3 at perseguers.ch
Thu Oct 22 14:21:39 CEST 2009


Hi Jochen,

> The changeset was tested and does not touch the public API. Creating an 
> own data mapper by a pro user (yes you are ;-) ) is always a little bit 
> tricky.

I know that I made stuff a bit odd :-)

> A possible solution would be to initialize all static class members of 
> the Dispatcher at construction time.
> 
> Best solution: Put all the stuff in a method called initialize()
> $dispatcher = new Tx_Extbase_Dispatcher;
> $dispatcher->initialize();
> $dispatcher->dispatch();
> 
> But that’s IMO not possible with TS as we have
> userFunc = tx_extbase_dispatcher->dispatch
> 
> Second best solution: Put the two lines
> 
> $this->initializeCache();
> $this->initializeReflection();
> 
> into __constructor()
> 
> I have applied this in a changset attached. Could you please test it and 
> report if that works for you?

I'll test that later today (with my dev environment).

> Any other suggestions?

Not at the moment.

> I really appreciate your help as a beta tester.

And myself your prompt answer to my "special requests" :D. Thanks.

-- 
Xavier Perseguers
MVC ExtJS Leader

http://forge.typo3.org/projects/show/extension-mvc_extjs


More information about the TYPO3-project-typo3v4mvc mailing list