Ajax Design Patterns: Creating Web 2.0 Sites with Programming and Usability Patterns

Front Cover
"O'Reilly Media, Inc.", Jun 29, 2006 - Computers - 656 pages

Ajax, or Asynchronous JavaScript and XML, exploded onto the scene in the spring of 2005 and remains the hottest story among web developers. With its rich combination of technologies, Ajax provides astrong foundation for creating interactive web applications with XML or JSON-based web services by using JavaScript in the browser to process the web server response.

Ajax Design Patterns shows you best practices that can dramatically improve your web development projects. It investigates how others have successfully dealt with conflictingdesign principles in the past and then relays that information directly to you.

The patterns outlined in the book fall into four categories:

  • Foundational technology: Examines the raw technologies required for Ajax development
  • Programming: Exposes techniques that developers have discovered to ensure their Ajax applications are maintainable
  • Functionality and usability: Describes the types of user interfaces you'll come across in Ajax applications, as well as the new types of functionality that Ajax makes possible
  • Development: Explains the process being used to monitor, debug, and test Ajax applications

Ajax Design Patterns will also get you up to speed with core Ajax technologies, such as XMLHttpRequest, the DOM, and JSON. Technical discussions are followed by code examples so you can see for yourself just what is-and isn't-possible with Ajax. This handy reference will help you to produce high-quality Ajax architectures, streamline web application performance, and improve the userexperience.

Michael Mahemoff holds a PhD in Computer Science and Software Engineering from the University of Melbourne, where his thesis was "Design Reuse in Software Engineering and Human-Computer Interaction." He lives in London and consults on software development issues in banking, health care, and logistics.

"Michael Mahemoff's Ajax Design Patterns is a truly comprehensive compendium of webapplication design expertise, centered around but not limited to Ajax techniques. Polished nuggets of design wisdom are supported by tutorials and real-world code examples resulting in a book thatserves not only as an intermediate to expert handbook but also as an extensive reference for building rich interactive web applications."
--Brent Ashley, remote scripting pioneer

 

Contents

Part One
1
Introducing Ajax
3
A PatternLed Tutorial
21
Principles and Patterns
43
Part Two
57
Ajax App
59
Display Manipulation
69
Web Remoting
85
Part Four
327
Widgets
329
Page Architecture
389
Visual Effects
445
Functionality
473
Part Five
531
Diagnosis
533
Testing
549

Dynamic Behavior
133
Extended Technologies
149
Part Three
159
Web Services
161
BrowserServer Dialogue
209
DOM Population
253
Code Generation and Reuse
275
Performance Optimization
289
Part Six
565
Ajax Frameworks and Libraries
567
Setting Up the Code Examples
601
Patterns and Pattern Languages
605
References
607
Index
609
Index of Patterns
639
Copyright

Other editions - View all

Common terms and phrases

Bibliographic information