a “web


What's Ajax?
                                                                                      2.0”
         ...
Upcoming SlideShare
Loading in...5
×

Whats Ajax Cheatsheet

230

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
230
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Whats Ajax Cheatsheet

  1. 1. a “web What's Ajax? 2.0” cheat s heet by amy h oy Buzzw AJAX, n. acronym ord Bi ngo! Every 1. Method of making HTTP server body's talking requests using Javascript code, and about fetching the server response without Ajax, and pr reloading the web browser. Short a nobody ctically for Asynchronous Javascript And actuall XML. Uses the XMLHTTPRequest y has a clue as to w Javascript object. hat it 2. Bloody overused! actuall y is. Ajax hit your server and get some data from in a Nutshell A way to No server requests? it without making your poor user reload the whole stinkin' page. (You can send data to the It ain't Ajax. server, too, such as form submissions.) The HTTP request is normal, just done from Ajax Code Packages Javascript! And no reloads! Just the good ones! Wha? XML? Prototype.js Dojo Toolkit Despite the name, XML doesn't have to be MochiKit involved. Some Ajax packages let you offload data formatting work to your back end so you Debugging Tools can return HTML and even Javascript instead of Useful Firefox Extensions serializing stuff. Prototype.js is one of them. & Greasemonkey Scripts the road from here Live HTTP Headers View Formatted Source Code it by hand, use a Javascript toolkit, or use a Web Developer Javascript/server-side scripting language Tamper Data framework. Ruby on Rails and its clones have XMLHTTPRequest Debugging Ajax support baked in. For other languages, your best bet is one of the pure Javascript code packages to the right. copyright 2005 amy hoy (amy@infocookie.com) http://www.slash7.com

×