4. “ When your only tool is a hammer, every problem looks like a webpage.”
5. The Ajax Revolution The page is an application with a data connection to a server.
6. When the user does something, we send a JSON message to the server, and receive a JSON message as the result.
7. A JSON message is less work for the server to generate, moves faster on the wire, and is less work for the browser to parse and render than an HTML document.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18. Division of Labor How is the application divided between the browser and the server?