The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...
Whats Ajax Cheatsheet
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