AJAX In Action [316]
1.4.2 Java Web Start and related technologies
1.5 Summary
1.6 Resources
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
2.5.5 The full lifecycle
2.6 What sets Ajax apart
2.7 Summary
2.8 Resources
Introducing order to Ajax 3.1 Order out of chaos 3.1.1 Patterns: creating a common vocabulary
3.1.2 Refactoring and Ajax
3.1.3 Keeping a sense of proportion
3.1.4 Refactoring in action
3.2 Some small refactoring case studies 3.2.1 Cross-browser inconsistencies: Fa�ade and Adapter patterns
3.2.2 Managing event handlers: Observer pattern
3.2.3 Reusing user action handlers: Command pattern
3.2.4 Keeping only one reference to a resource: Singleton pattern
3.3 Model-View-Controller
3.4 Web server MVC 3.4.1 The Ajax web server tier without patterns
3.4.2 Refactoring the domain model
3.4.3 Separating content from presentation
3.5 Third-party libraries and frameworks 3.5.1 Cross-browser libraries
3.5.2 Widgets and widget suites
3.5.3 Application frameworks
3.6 Summary
3.7 Resources
Core techniques The page as an application 4.1 A different kind of MVC 4.1.1 Repeating the pattern at different scales
4.1.2 Applying MVC in the browser
4.2 The View in an Ajax application 4.2.1 Keeping the logic out of the View
4.2.2 Keeping the View out of the logic
4.3 The Controller in an Ajax application 4.3.1 Classic JavaScript event handlers
4.3.2 The W3C event model
4.3.3 Implementing a flexible event model in JavaScript
4.4 Models in an Ajax application 4.4.1 Using JavaScript to model the business domain
4.4.2 Interacting with the server
4.5 Generating the View from the Model 4.5.1 Reflecting on a JavaScript object
4.5.2 Dealing with arrays and objects
4.5.3 Adding a Controller
4.6 Summary
4.7 Resources
The role of the server 5.1 Working with the server side
5.2 Coding the server side 5.2.1 Popular implementation languages
5.2.2 N-tier architectures
5.2.3 Maintaining client-side and server-side domain models
5.3 The big picture: common server-side designs 5.3.1 Naive web server coding without a framework
5.3.2 Working with Model2 workflow frameworks
5.3.3 Working with component-based frameworks
5.3.4 Working with service-oriented architectures
5.4 The details: exchanging data 5.4.1 Client-only interactions
5.4.2 Introducing the planet browser example
5.4.3 Thinking like a web page: content-centric interactions
5.4.4 Thinking like a plug-in: script-centric interactions
5.4.5 Thinking like an application: data-centric interactions
5.5 Writing to the server 5.5.1 Using HTML forms
5.5.2 Using the XMLHttpRequest object
5.5.3 Managing user updates effectively
5.6 Summary
5.7 Resources
Professional Ajax The user experience 6.1 Getting it right: building a quality application 6.1.1 Responsiveness
6.1.2 Robustness
6.1.3 Consistency
6.1.4 Simplicity
6.1.5 Making it work
6.2 Keeping the user informed 6.2.1 Handling responses to our own requests
6.2.2 Handling updates from other users
6.3 Designing a notification system for Ajax 6.3.1 Modeling notifications
6.3.2 Defining user interface requirements
6.4 Implementing a notification framework 6.4.1 Rendering status bar icons
6.4.2 Rendering detailed notifications
6.4.3 Putting the pieces together
6.5 Using the framework with network requests
6.6 Indicating freshness of data 6.6.1 Defining a simple highlighting style
6.6.2 Highlighting