Friday, May 26, 2006

JSON : the web 2.0 esperanto ?

JSON is probably a technology you never heard of unless you are a javascript or web designer expert. But this piece of tech does have potential for glueing the web together. In some way, this is the javascript counterpart of a webservice And just like its couterpart, this is a multiplatform, call anywhere lightweight object, which you can easily manipulate from within a javascript. Today many websites have public API's (yahoo, google, del.icio.us, technorati, etc..) so integrating all those creates some real added value, and JSON can help you deliver it. For instance, do you want to integrate your cel.icio.us categories (dynamically) in a web site like blogger? JSON is your friend then. What JSON does is that it takes a string which can comes from a 3rd party website and transform it into a javascript object. References: JSON an exemple with yahoo : http://developer.yahoo.com/common/json.html the json website : http://www.json.org the json parser : http://www.json.org/json.js JSONP : this proposition aims at handling the relation of JSON results and your scripts http://bob.pythonmac.org/archives/2005/12/05/remote-json-jsonp http://ajaxian.com/archives/jsonp-json-with-padding JSONT : This is to transform an external JSON object into your own javascript datamodel easily http://goessner.net/articles/jsont http://www.xsltblog.com/archives/2006/02/jsont_transform.html

0 Comments:

Post a Comment

Links to this post:

Create a Link

<< Home