[TYPO3-english] ControllerAction & JSON Response

Jan Kornblum jan.kornblum at gmx.de
Thu Dec 12 22:28:35 CET 2013


Hi newsgroup,

i'm not sure what is the better way to behave like extbase likes:

I've got an Ajax-called ControllerAction without view which returns a 
JSON object. Is it "ok" to exit the ControllerAction using 
return($jsonobject) or would it be better to use a view for this action 
and ouput the JSON object from the view?

Kind regards, Jan




More information about the TYPO3-english mailing list