[TYPO3-mvc] Best practise for packages in extbase
Kay Strobach
typo3 at kay-strobach.de
Sat Mar 26 19:48:41 CET 2011
Hello guys,
I'm currently working on the sitemgr project.
http://forge.typo3.org/projects/extension-sitemgr/
So i wondered what the best practise is to package related files.
I have the choosen to use extbase and though i have used the given
filestructure for the extension.
Additionally to the base extension i have so called modules which are
included with a hook.
So i created a structure like:
EXT:sitemgr
Classes
Modules
BeUser
BeUserController
locallang.xml
main.js
main.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.
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.
Regards
Kay
--
http://www.kay-strobach.de - Open Source Rocks
More information about the TYPO3-project-typo3v4mvc
mailing list