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

Joerg Schoppet joerg at schoppet.de
Wed Jun 17 19:06:10 CEST 2009


Hi,

Steffen Kamper schrieb:
> 
> i renewed the structure and used the existing one.
> 
> I created Module/BlogModule for the test module, other mods can have an 
> own directory.
looks good.

Next improvement, IMHO, would be, to rename ModuleController to BlogModuleController (Convention over Configuration).
So a module controller should be named like the module (what do you think?).

Additionally, under Configuration/Module there should be
a) an extra-folder per module (name like module)
b) an extra-file per module (e.g. BlogModuleConfig.php)

Regarding the registration/dispatch-process I would suggest the following:
- extend Tx_Extbase_Utility_Plugin with an additional static method
   (e.g. registerModule)
- all the config actually stored in the conf.php file, should be imported there
- I think we need an additional global Property/Registry to hold these information
   (or is there something already, what we can use? perhaps TBE_MODULES)
- 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.


Joerg


More information about the TYPO3-project-typo3v4mvc mailing list