[TYPO3-mvc] Which logic belongs to the controller?

Jochen Rau jochen.rau at typoplanet.de
Tue Jan 19 00:33:13 CET 2010


Hi Masi,

On 16.01.10 20:35, Martin Kutschker wrote:
> Jochen Rau schrieb:
>> IMO there is no business logic inside a controller. If it's not is not
>> intrinsic to the Domain Model I would put it into a Domain Service.
>
> I wondered because the Blog Example has the code to populate the repository with test data in the
> controller.

I this case I was annotated with @lazy ;-)

Regards
Jochen


More information about the TYPO3-project-typo3v4mvc mailing list