[TYPO3-mvc] Best practise for packages in extbase
Sebastian Fischer
sf at marketing-factory.de
Mon Mar 28 09:50:17 CEST 2011
Hi Kay,
the convetion is quite clear about the file structure. Please have a
look further down.
>
> So i created a structure like:
>
> EXT:sitemgr
> Classes
> Modules
> BeUser
> BeUserController
> locallang.xml
This belongs into Resources/Private/Language/
> main.js
This belongs into Resources/Public/JavaScript
> main.css
This belongs into Resources/Public/CSS
>
> Basicly the langfile, js and css belong to the module.
> The main module data is stored in the Resources dir as it is convention
> in extbase.
As in extbase modules exist only as controllers they have to be situated
in Classes/Controller/, so there is absolutly no such structure like
Classes/Modules...
>
> So how should i organize the modules, so that the extension is still
> easy to extend - is there any package mechanism?
>
> The second problem i found is, that classic:
> &t3lib_div::getUserObj($_classRef);
> didn't work with classes which start with Tx_sitemgr, but mit tx_sitemgr.
Thats a know problem, either you hacke the core to accept Tx_ or live
with the limitation until 4.6 where it hopefully works.
>
> Regards
> Kay
Greetings
Sebastian
More information about the TYPO3-project-typo3v4mvc
mailing list