[TYPO3-dev] Extbase / Best practice question

Xavier Perseguers xavier at typo3.org
Wed Mar 5 11:21:58 CET 2014


Hi,

>> Were do I have tp put the 'class.tx_example_tca.php' file nowadays? Is
>> it still the root directory of the extension?
> 
> I would go for Classes\Hooks or Classes\Tca

Yes, I personally use Classes\Tca

> Please validate whether you need to put the filename at all. AFAIK you can 
> just use the classname.

Yes, class name is sufficient (with doubled \\ in case of a namespace)

Kind regards

-- 
Xavier Perseguers
TYPO3 CMS Team Member

TYPO3 .... inspiring people to share!
Get involved: http://typo3.org




More information about the TYPO3-dev mailing list