Easy as Pie Ajax Requests - Simple Ajax Tutorial |
|
We found this interesting AJAX (Asynchronous JavaScript and XML) tutorial. It is called "Easy as pie" because this is as simple as it can get. The tutorial shows how to implement a nice voting system and the graphical output helps you to understand how AJAX works. The author starts by stating what AJAX isn't: "Ajax is not flashy JavaScript. Ajax is not a fancy form, radical menu or custom tool-tip. Ajax is definately not a styled popup."
Then what it is indeed: "Ajax, also known as XHR, is a technology used to send and receive requests for data to and from a server without having to refresh the whole page. That's really all there is to it. Don't let that put you off though! You can still accomplish some really neat things using Ajax. The first 'neat thing' is a voting script. You click a button to vote, which will poll phazm.com's server and come back with an updated tally of how many votes there are -- without a single page refresh. Fascinating, am I right?" View the full article here.
|
Mis à jour / Last updated ( mercredi, 26 mars 2008 23:43 )
|