[TYPO3-mvc] Naming convention of MVC files and classes

Sebastian Gebhard sebastian.gebhard at gmail.com
Wed Dec 2 20:13:59 CET 2009


Maybe it's just because i'm already used to it, but to me it sounds quite natural.
A "SheepRepository" delivers "Sheep"s.

So you would go for SheepEntity, ColorValueObject?

Thomas "Thasmo" Deinhamer schrieb:
> Good evening!
> 
> Is there a reason why action controllers are
> named e.g. 'SheepController' and models just 'Sheep'?
> 
> A repository is again called 'SheepRepository',
> also validators and view helpers have a suffix.
> 
> Either go for the approach with an appropriate suffix, like it
> is beeing used on controllers or repositories etc. or just
> leave the suffix entirely, like it's been done with models, no?
> 
> Thanks for your answers!
> 
> Thomas


More information about the TYPO3-project-typo3v4mvc mailing list