[TYPO3-mvc] Where is the right place for methods like sendEmailAfterNewObjectIsSaved() in your extbase extension?

Bastian Waidelich bastian at typo3.org
Mon Jun 25 17:24:16 CEST 2012


Roland wrote:

> hmm, i think this should all better happen in the controller, shouldn't it?

Exactly ;)
Or, you emit a signal [1] in the controller (alternatively: execute a 
hook) to decouple it even more.


[1] http://flow3.typo3.org/documentation/guide/partiii/signalsandslots.html


-- 
Bastian Waidelich
TYPO3 Core Team Member

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


More information about the TYPO3-project-typo3v4mvc mailing list