[TYPO3-mvc] Thoughts regarding Extbase-Backend-Module

Joerg Schoppet joerg at schoppet.de
Wed Jun 17 19:54:12 CEST 2009


Joerg Schoppet schrieb:
> - Update mod.php a little bit to allow, that extensions can register a 
> keyword.
>   If this keyword is in the GET-var('M'), it is completely dispatched to 
> the
>   registered dispatcher.

After browsing around a little bit more in the core-code I would revert from saying
that mod.php has to be modified.
Better place would be class.t3lib_loadmodules.php->checkMod(). In this function
there is already the "_DISPATCH"-keyword "registered", which dispatches to mod.php.

So perhaps it is such easy? Modify above named method to have the possibility, that
extensions can register keywords. TYPO3 will register "_DISPATCH" to mod.php. Extbase
will register e.g. "_EXTBASE" to e.g. Tx_Extbase_BackendModule. This class will have
big analogy to mod.php, with the difference, that it is class-based.


Joerg


More information about the TYPO3-project-typo3v4mvc mailing list