[TYPO3-mvc] How to use an Extbase plugin as "sidebar"?

Jochen Rau jochen.rau at typoplanet.de
Wed Apr 7 10:47:37 CEST 2010


Hi Masi.

On 04.04.10 19:23, Martin Kutschker wrote:
> Martin Kutschker schrieb:
>> Hi!
>>
>> Sometimes you want to hard-wire a plugin via TS to the page without the need to look for any
>> incoming GET/POST data. This means I could do without RequestBuilder or RequestHashService.
>>
>> Is there any other method besides Dispatcher->dispatch() to use in such a case? I don't think there
>> is one for 4.3. I haven't followed trunk recently, so I might have missed the promised refactoring
>> of the the dispatcher
>
> Hm, looking at the (hopefully) old code of the 4.3 version of the Dispatcher makes me sad. The
> reflection service is static, yet it is a) created unconditionally (!) and b) it is also shut down
> again within the dispatcher (this should happen only at the real end of the request *).

The Dispatcher is indeed cluttered with different responsibilities. This 
was caused by a "get it done for 4.3" rush. The refactoring is 
definitely a task for Extbase 1.2 as it is a catalyzer for other 
development steps (like dispatching AJAX calls or CLI).

I have opened an issue:

http://forge.typo3.org/issues/show/7153

Jochen


More information about the TYPO3-project-typo3v4mvc mailing list