Wednesday, October 5, 2011

Modern Web Development API / JSON


JSON

-------------------------------------------------------------------------------------------------------------------

Understanding JSON: the 3 minute lesson

    And what does that mean? JSON is a syntax for passing around objects that contain name/value pairs, arrays and other objects
    
tutorial :
 Converting a JSON Text to a JavaScript Object
  One of the most common use of JSON is to fetch JSON data from a web server (as a file or as an HttpRequest), convert the JSON data to a JavaScript object, and then use the data in a web page.
For simplicity, this can be demonstrated by using a string as input (instead of a file).
 http://www.w3schools.com/json/json_eval.asp 
  http://www.w3schools.com/json/tryit.asp?filename=tryjson_eval  ( try example )

http://www.w3schools.com/json/tryit.asp?filename=tryjson_create




REST web Services
----------------------


http://www.webmonkey.com/2010/02/get_started_with_rest/  -- what is REST easy one ... ( see examples at bottom )
http://www.xfront.com/REST-Web-Services.html
http://rest.elkstein.org/
http://www.myeclipseide.com/documentation/quickstarts/webservices_rest/   - OLD way


Web APIs:

-------------------------------------------------------------------------------------------------------------------



4,000 Web APIs: What’s Hot and What’s Next?

asr: 1/ Modern and popular WEB APIs are using  'REST' protocol and in the response giving either JSON or XML .
 2/  It seems when you start any Development , you have to start with  Web API first , after looking at these 4000 APIs .. no more hard coding the Server Calls in the 'Client code' .  In your own client code also JUST call  WEB APIs .. so you are API  from BIRTH ... not After thought .

http://blog.programmableweb.com/2011/10/03/4000-web-apis-whats-hot-and-whats-next/


Most Popular APIs( based on #of Mashables): http://www.programmableweb.com/apis/directory/1?sort=mashups
Breaking Down E-Commerce APIs: http://blog.programmableweb.com/2011/09/09/breaking-down-e-commerce-apis/
API Score CARD:  http://www.programmableweb.com/scorecard
8 Different FaceBook APIs: http://www.programmableweb.com/apis/directory/1?company=Facebook
91 Google APIs: http://www.programmableweb.com/apis/directory/1?company=Google

API growth Time Line Monthly from 2007:  http://blog.programmableweb.com/2011/09/16/open-api-growth-a-visualization/



2 comments:

nago said...

interesting blog. It would be great if you can provide more details about it. Thanks you



Web Development

dev2007 said...

Following link seems a good tutorial on JSON.
http://www.w3resource.com/JSON/introduction.php