[TYPO3-mvc] Where is the right place and naming style for services?

Roland most.wanted at gmx.at
Tue Jun 26 11:34:12 CEST 2012


hi everybody,

(1) where is the right/best place for services?

/Classes/Service/
/Classes/Domain/Service/

the extbase blog example uses /Classes/Domain/Service/. On the other 
hand side EXT:fed uses /Classes/Service/ and in the extbase wiki [1] 
/Classes/Service/ is used too.

(2) what is the prefered way to name services?

EXT:blog_example: Tx_BlogExample_Domain_Service_TagCloudService
EXT:fed: Tx_Fed_Service_Email

kind regards

roland


[1] 
http://forge.typo3.org/projects/typo3v4-mvc/wiki/Dependency_Injection_%28DI%29


More information about the TYPO3-project-typo3v4mvc mailing list