Google


ADBRITE ads links
You are here: CodeIdol.com > Ajax > Head Rush Ajax > She Blinded Me With Asynchronous > The Final Test Drive (right)

SAVE
Digg
Shown on del.icio.us del.icio.us
See Whos Talking About This on Technorati Technorati
I've Reddit reddit

3.28. The final test drive (right?)

It looks like we've got all the JavaScript for the coffee maker app written. Be sure you've followed along with all the examples so far, and saved your changes to coffee.html and coffee.js. Then load coffee.html in your browser, and take the coffee maker for a test drive.

  1. Enter an order for Jim: he wants a large mocha. Then click "Order Coffee".

  2. Jim's order starts brewing, using the first coffee maker.

  3. Now enter another order, for Bob. Bob wants a medium latte. Click "Order Coffee", and Bob's order should start brewing on the second coffee maker.

  4. Now wait for the coffee makers to finish brewing. Whose order comes up first? Do both orders finish brewing? Is this what you expected to happen?

    Bob's order comes up first, even though it was ordered second.

So what happened to Jim's coffee order?


SAVE
Digg
Shown on del.icio.us del.icio.us
See Whos Talking About This on Technorati Technorati
I've Reddit reddit

You are here: CodeIdol.com > Ajax > Head Rush Ajax > She Blinded Me With Asynchronous > The Final Test Drive (right)
   
Related tags







Popular Categories
Unix books and guides
AJAX popular information
C# language guides
Windows books and cookbooks
.......






© CodeIdol Labs, 2007