[TYPO3-mvc] Running Fluid within tslib_pibase
Martin Kutschker
masi-no at spam-typo3.org
Sat Mar 20 16:31:31 CET 2010
Xavier Perseguers schrieb:
>
> /**
> * Initialize the renderer to be used.
> *
> * @return void
> * @author Xavier Perseguers <xp at sws.ch>
> */
> protected function initializeRenderer() {
> $this->renderer =
> t3lib_div::makeInstance('Tx_Fluid_View_TemplateView');
>
> $this->renderer->setControllerContext(t3lib_div::makeInstance('Tx_Extbase_MVC_Controller_ControllerContext'));
>
> }
>
Smells like a bad case of hacking :)
I wonder if ExtBase could (and should be split) in the base framework (incl. the persistence layer)
and the the MVC stuff and the plugin support. Then it would make sense that a) FLUID depends on the
framework (and not ExtBase as it is right now) and b) the ExtBase views require FLUID.
Masi
More information about the TYPO3-project-typo3v4mvc
mailing list