Skip to Content
Head Rush Ajax
book

Head Rush Ajax

by Brett McLaughlin
March 2006
Beginner to intermediate
448 pages
13h 33m
English
O'Reilly Media, Inc.
Content preview from Head Rush Ajax
you’re on your way 4
7
next generation applications
“Reloads? We don’t need no stinking reloads.”
There’s nothing more annoying than an application that redraws the whole
page everytime you push a button or type in a value. In Katie’s report, only a
few numbers are changing, but the entire page has to be redrawn.
First, let’s gure out why all that reloading is going on...
HTML
Response
HTML
Response
Reload!
Reload!
Request Updated
Board Sales
Request Updated
Board Sales
The browser loads the
page that the server
sends back, and shows it
on the screen.
More reloading... every time
you want new board sales
totals, you gotta suffer
through a page reload.
The server gets a
request for the number
of boards sold...
...and sends back
the number of
boards sold, along
with the updated
prot, wrapped up
in a completely new
HTML page.
All this just so a
couple of numbers
can change...
Katie clicks this
button to get
updated totals.
Katie clicks
the button
again, to see
if any more
boards have
been sold.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

What Employees Want Most in Uncertain Times

What Employees Want Most in Uncertain Times

Kristine W. Powers, Jessica B.B. Diaz
What Successful Project Managers Do

What Successful Project Managers Do

W. Scott Cameron, Jeffrey S. Russell, Edward J. Hoffman, Alexander Laufer
How to Become a Game-Changing Leader

How to Become a Game-Changing Leader

Douglas A. Ready, Alan Mulally

Publisher Resources

ISBN: 0596102259Errata PageSupplemental Content