[TYPO3-mvc] JSON - based View

Dennis Ahrens dennis.ahrens at googlemail.com
Tue Apr 24 17:01:45 CEST 2012


Hi Frank,

On 24.04.2012 16:33, Frank Gerards wrote:
> thx but i am looking for a bit leaner solution :)... I think I will skip the view part and compute the json string with a Service class...

mvc_extjs includes a special view for JSON encoding [1]. It's backported 
from the ExtJS package from FLOW3. It does not use template files - 
instead a configuration array allows you to define what should be returned.

Maybe the JSON view should become a part of extbase. It can be used 
standalone and fit's many needs. I've used it for several JSON services...

regards
Dennis

[1] 
https://svn.typo3.org/TYPO3v4/Extensions/mvc_extjs/trunk/Classes/MVC/View/JsonView.php


More information about the TYPO3-project-typo3v4mvc mailing list