Easy as Pie Ajax Requests - Simple Ajax Tutorial Imprimer

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.

Ajouter votre commentaire / Add your comment

Votre nom / Your name:
Sujet / Subject:
Commentaire:
SPAM: Ne pas inclure de lien ou utiliser le stratagème suivant: "yahoo.com slash mapage.html"     Nous utilisons un filtre qui bloque les commentaires suspects avec une erreur 403. De même, du code de programmation ou sql peut provoquer des erreurs 403. Veuillez utiliser un lien vers votre code tel que: "pastebin.com slash jVNqLieD"    Merci!
Comment:
SPAM: Do not include any links in your post or use the following construct: "yahoo.com slash mypage.html"    We are using a filter that denies suspicious posts with a 403 error. Programming language or SQL code may also cause a 403 error. Please provide a link to your code instead like: "pastebin.com slash jVNqLieD"    Thank you! :
  Lettres de vérification; lettres minuscules seulement, pas d
Retaper les lettres affichées / Word verification:
Mis à jour / Last updated ( mercredi, 26 mars 2008 23:43 )