Can anyone point me to an article, book, or something that talks about the ideas behind building a basic API for a site? I've made good progress on the various pieces of the puzzle, but I've got an incomplete picture in terms of how things fit together.
This is sort of a continuation of an earlier post about the client-heavy approach that seems to be gaining popularity these days, Which technologies are key in a set up where the client does lots of the heavy lifting and makes calls to an API on the server for content? So far, it looks like...
Data can be moved between the client and server via JSON, which is much lighter than XML.
Is it AJAX that one uses the make the call?
I'm trying to get a handle on how all the pieces fit together. Maybe I should dig through the jQuery source and see what getJSON() does?
I honestly don't expect hand-holding and I have done some digging on my own. A bit of a nudge or hint would be very much appreciated.
ajax is no good, xml is a PITA, and use can simply use <script src="http://mysite.com/api?topic=obama"></script> instead of getJSON()...
Create, Share, and Debug HTML pages and snippets with a cool new web app I helped create: pagedemos.com
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread