Section 2.42. Step 5: Place the customer s pizza order


2.42. Step 5: Place the customer's pizza order

The customer enters their order into the form, and they'll see their address filled in, Ajax style, by the JavaScript function you wrote in Step 4. All that's left is to let the user submit his order, and get the pizza cooking.

While the server is looking up the address, the customer types in his pizza order.

With an order and delivery address, the customer can click "Order Pizza".

Ajax? No, I have no idea what that is. But if it's what got my pizza here so fast, I'm all for it.

The customer now gets his order fast, because Alex knew the right address to deliver the pizza to.

     Customer's OrderThe server generates a delivery order for Alex, and gets the pizza cooking. 




Head Rush Ajax
Head Rush Ajax (Head First)
ISBN: 0596102259
EAN: 2147483647
Year: 2004
Pages: 241

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net