Thursday, January 11, 2007

Chap 3

This chapter is focused on the responsiveness of the webpage, making it truly asynchronous.

The example the book works on is the coffee maker application.
There are three parts to the coffee making application:
1.) Coffee maker HTML
2.) JavaScript code
3.) Server-side coffee-making script

The coffee maker HTML is going to take orders and report on the status of the two coffee makers. The JavaScript code is going to create a request object, a function to send an order to the coffee-making script, function to serve a drink when it's been brewed, and event handlers to connect the web form buttons to these JavaScript functions. The server-side coffee-making script is going to brew the coffee anytime it gets a request.

In this chapter, they also define the term iterative development. This term means that you go back and forth on the same pieces over and over again. In this way, you keep adding and improving to what you've already worked on.

0 Comments:

Post a Comment

<< Home