Ajax,即异步JavaScript与XML,目前是网络开发人员中最热门的编程技术之一。Ajax综合了大量技术,通过在浏览器中使用JavaScript来处理网络服务的响应,为创建基于XML或者JSON网络服务的交互式网络应用程序提供了坚实的基础。
Michael Mahemoff,获得墨尔本大学计算机科学和软件工程系的博士学位。他的博士毕业论文是"Design Reuse in Software Engineering and Human-Computer Interaction"。他现在住在伦敦并为银行、医疗保健和物流行业中软件开发提供咨询。
PREFACE
Part One INTRODUCTION
1 INTRODUCING AJAX
Ajax and the Usable Web
The Rise of Ajax
Ajaxifying the Web: The Story of Portals
Webifying the Desktop: The Story of Office Applications
Characteristics of Ajax Applications
The Ajax Technologies
Anatomy of a Server Call
Ajax Trends
Conclusions
2 A PATTERN-LED TUTORIAL
Ajax Technologies in a Blink
Ajaxifying a Web App: One Pattern at a Time
Projects and Katas
Conclusions
3 AJAX DESIGN: PRINCIPLES AND PATTERNS
Desirable Attributes of Ajax Applications
Oesigning for Ajax
Ajax Patterns Oueruiew
Anatomy of a Pattern
Ajax Patterns Demos
Cnnclusions
Part Two FOUNDATIONAL TECHNOLOGY PATTERNS
4 AJAX APP
Ajax App
5 DISPLAY MANIPULATION
Display Morphing
Page Rearrangement
6 WEB REMOTING
Web Service
XMLHttpRequest Call
IFrame Call
HTTP Streaming
On-Demand JavaScript
7 DYNAMIC BEHAVIOR
User A ction
Scheduling
8 EXTENDED TECHNOLOGIES
Richer Plugin
Part Three PROGRAMMING PATTERNS
9 WEB SERVICES
RESTful Service
RPC Service
Ajax Stub
HTML Message
Plain-Text Message
XML Message
JSON Message
10 BROWSER-SERVER DIALOGUE
Call Tracking
Periodic Refresh
Submission Throttling
Explicit Submission
Distributed Events
Cross-Domain Proxy
11 DOM POPULATION
XML Data Island
Browser-Side XSLT
Browser-Side Templating
12 CODE GENERATION AND REUSE
Server-Side Code Generation
Cross-Browser Component
13 PERFORMANCE OPTIMIZATION
Browser-Side Cache
Predictive Fetch
Guesstimate
Multi-Stage Download
Fat Client
Part Four FUNCTIONALITY AND USABILITY PATTERNS
14 WIDGETS
Slider
Progress Indicator
Drilldown
Data Grid
Rich Text Editor
Suggestion
Live Search
Live Command-Line
Live Form
15 PAGE ARCHITECTURE
Drab-And-Drop
Sprite
Popup
Malleable Content
Microlink
Portlet
Status Area
Update Control
Virtual Workspace
16 VISUAL EFFECTS
One-Second Spotlight
One-Second Mutation
One-Second Motion
Highlight
17 FUNCTIONALITY
Lazy Registration
Direct Login
Host-Proof Hosting
Timeout
Heartbeat
Unique URLs
Part Five DEVELOPMENT PATTERNS
18 DIAGNOSIS
Logging
Debugging
DOM Inspection
Traffic Sniffing
19 TESTING
Simulation Service
Browser-Side Test
Seruice Test
System Test
Part Six APPENDIXES
A AJAX FRAMEWORKS AND LIBRARIES
B SETTING UP THE CODE EXAMPLES
C PATTERNS AND PATTERN LANGUAGES
D REFERENCES
INDEX