eZ Community » Forums » Developer » JSON-view of any content object
expandshrink

JSON-view of any content object

JSON-view of any content object

Saturday 04 August 2007 10:35:41 pm - 25 replies

Hi all!

I'm looking into the possibility to get any content object as an JSON-object. The reason for this is that I'm currently planning several AJAX-based stuff for a certain website.

Has anyone done this already? As an extension to the content-module? Or as a brand new one?

Felix

Friday 02 November 2007 12:40:43 pm

Hi Andre,

Quick question about how JSON is used within eZ. Is it now officially adopted by eZ?

Im deciding at the moment about dropping support for XAJAX and going JSON with various pieces of work i have on my plate.

Thanks,

Paul

Friday 02 November 2007 1:44:23 pm

Hi Paul,

Both approaches have partly a different scope: xajax is easy to expose kernel/your php classes and functions to Javascript, JSON is more a data transport mechanism

With eZ Publish 4.x, expect more JSON use ... so you can say we adopt it indeed.

Regards

Paul

Friday 02 November 2007 2:01:54 pm

Thanks Paul,

I'll test this out locally to see if our simple xajax scripts are as simple with json, with xavier's extension. I've really enjoyed using xajax as no-fuss method of ajax-ing with eZ.

Paul

Monday 05 November 2007 9:44:28 am

Hi,

Have a look at json/explorer

Simple exemple of fetching json datas as the server, template process them on the client side and display them.

X+

Sunday 26 April 2009 7:48:53 pm

For a 100% template-based approach to json, look into ggxmlview extension on projects.ez.no, too

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu