Copyright
Brief Table of Contents
Table of Contents
Preface
Acknowledgments
About this Book
1. Rethinking the web application
Chapter 1. A new design for the Web
1.1. Why Ajax rich clients?
1.1.1. Comparing the user experiences
1.1.2. Network latency
1.1.3. Asynchronous interactions
1.1.4. Sovereign and transient usage patterns
1.1.5. Unlearning the Web
1.2. The four defining principles of Ajax
1.2.1. The browser hosts an application, not content
1.2.2. The server delivers data, not content
1.2.3. User interaction with the application can be fluid and continuous
1.2.4. This is real coding and requires discipline
1.3. Ajax rich clients in the real world
1.3.1. Surveying the field
1.3.2. Google Maps
1.4. Alternatives to Ajax
1.4.1. Macromedia Flash-based solutions
1.4.2. Java Web Start and related technologies
1.5. Summary
1.6. Resources
Chapter 2. First steps with Ajax
2.1. The key elements of Ajax
2.2. Orchestrating the user experience with JavaScript
2.3. Defining look and feel using CSS
2.3.1. CSS selectors
2.3.2. CSS style properties
2.3.3. A simple CSS example
2.4. Organizing the view using the DOM
2.4.1. Working with the DOM using JavaScript
2.4.2. Finding a DOM node
2.4.3. Creating a DOM node
2.4.4. Adding styles to your document
2.4.5. A shortcut: Using the innerHTML property
2.5. Loading data asynchronously using XML technologies
2.5.1. IFrames
2.5.2. XmlDocument and XMLHttpRequest objects
2.5.3. Sending a request to the server
2.5.4. Using callback functions to monitor the request