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
173
asynchronous applications
Test drive
Even though there is plenty of work left to do, go ahead and take the coffee
maker for a test drive. Be sure you’ve added the sendRequest(), getSize(),
getBeverage(), and orderCoffee() functions to coffee.js, and then
load coffee.html in your web browser.
Enter in an order, and see what happens. Then, enter in another order... are
both coffee makers being used?
Jim’s large mocha
is brewing on the
rst coffee maker.
Bob’s order is
brewing over
on the seecond
coffee maker.
Notice that once an order is placed, the person’s name and
order details stay lled in. Could this cause problems? What
do you think we should do to avoid any confusion?
brain
power
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