[TYPO3-mvc] JSON - based View
Frank Gerards
F.Gerards at esolut.de
Tue Apr 24 17:37:55 CEST 2012
Hi,
ok thx for the insight !
can I use this view without the mvc_extjs extension ?
I use jQuery and my AJAXDispatcher (eID mechanism) to bootstrap Extbase and call the controller/action combination, so I don't need the extJS connection...
Thx 4 info,
Frank
-----Ursprüngliche Nachricht-----
Von: typo3-project-typo3v4mvc-bounces at lists.typo3.org [mailto:typo3-project-typo3v4mvc-bounces at lists.typo3.org] Im Auftrag von Dennis Ahrens
Gesendet: Dienstag, 24. April 2012 17:02
An: typo3-project-typo3v4mvc at lists.typo3.org
Betreff: Re: [TYPO3-mvc] JSON - based View
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
_______________________________________________
TYPO3-project-typo3v4mvc mailing list
TYPO3-project-typo3v4mvc at lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc
More information about the TYPO3-project-typo3v4mvc
mailing list