[TYPO3-ect] Controller for Typo3

Michael Scharkow mscharkow at gmx.net
Thu Mar 23 20:55:55 CET 2006


Joerg Schoppet wrote:
> Joerg Schoppet schrieb:
> 
>> Is it ok from an oo-point, that a controller returns a view-object?
>>
> Or should/must the controller returns the resulting output?

I'd say yes because the caller (TYPO3 with tt_content etc.) should be 
ignorant of the implementation of view. Of course, we could by 
convention call $returnObj->render instead of returning a string but 
what would be the use? Post-processing?

Greetings,
Michael



More information about the TYPO3-team-extension-coordination mailing list