Ajax Design Patterns

Ajax Design Patterns

by Michael Mahemoff


$40.49 $44.99 Save 10% Current price is $40.49, Original price is $44.99. You Save 10%.
View All Available Formats & Editions
Choose Expedited Shipping at checkout for guaranteed delivery by Thursday, September 19


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

Product Details

ISBN-13: 9780596101800
Publisher: O'Reilly Media, Incorporated
Publication date: 07/05/2006
Pages: 656
Product dimensions: 9.06(w) x 10.88(h) x 1.14(d)

About the Author

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

Table of Contents

  • Preface
  • Part I: Introduction
    • Chapter 1: Introducing Ajax
    • Chapter 2: A Pattern-Led Tutorial
    • Chapter 3: Ajax Design: Principles and Patterns

  • Part II: Foundational Technology Patterns
    • Chapter 4: Ajax App
    • Chapter 5: Display Manipulation
    • Chapter 6: Web Remoting
    • Chapter 7: Dynamic Behavior
    • Chapter 8: Extended Technologies

  • Part III: Programming Patterns
    • Chapter 9: Web Services
    • Chapter 10: Browser-Server Dialogue
    • Chapter 11: DOM Population
    • Chapter 12: Code Generation and Reuse
    • Chapter 13: Performance Optimization

  • Part IV: Functionality and Usability Patterns
    • Chapter 14: Widgets
    • Chapter 15: Page Architecture
    • Chapter 16: Visual Effects
    • Chapter 17: Functionality

  • Part V: Development Patterns
    • Chapter 18: Diagnosis
    • Chapter 19: Testing

  • Part VI: Appendixes
    • Ajax Frameworks and Libraries
    • Setting Up the Code Examples
    • Patterns and Pattern Languages
    • References

  • Colophon

Customer Reviews

Most Helpful Customer Reviews

See All Customer Reviews

Ajax Design Patterns 5 out of 5 based on 0 ratings. 3 reviews.
Anonymous More than 1 year ago
Guest More than 1 year ago
Michael has quickly staked his claim as a major driving force in the world of software design, most notably in the vein of AJAX development, and his outstanding work on 'AJAX Design Patterns' is certainly testament to that. Despite the book's title implying a heavy lean towards application development via asynchronous remote scripting, it's actually is more accurate in its subtitle, being applicable towards the trendier Web 2.0 movement (but given the mixed reactions to Web 2.0, I can see how such might want to be played down.) The book's organization is logically laid out, providing a historical and academic profile of the technological foundations that gave rise to modern-day asynchronous programming. Michael then leads into the actual patterns, being grouped by function. Probably the most relevant to web developers are those related to into the various forms of web remoting, DOM manipulation, and next-gen visualization (i.e., drag-and-drop effects) while programming patterns geared for performance enhancement and code generation will whet the appetites of even the most advanced coders. (Among my favorite patterns are those dealing with HTTP streaming (a field of which Michael's a pioneer), on-demand JavaScript, and content refreshing.) If, for no other reason, you buy this book it should be for any developer considering themselves to be cutting-edge should buy this book for the section on Chapter 9 on REST applications development. This in my opinion is the most well-rounded discussion of what RESTful production is(n't), and how to incorporate such architecture into your own web projects. Being a .NET developer, that platform's framework serves to both abstract my kind away from having to directly deal with such concepts, or Microsoft blatantly neglects to mention it at all. After scouring the Web for months looking for good content on REST, Michael lays it all out in easy to understand lingo and examples. I'm having the REST chapter photocopied and bronzed for my desk. It's that good. The one thing I didn't dig too much about the book is its exclusive lean towards PHP for examples where server-side logic was needed. While other platforms like J2EE, .NET, Ruby on Rails and Cold Fusion are keenly cited for their contributions and capabilities, the vast majority of the code is in PHP. But this is just a personal quirk¿I'm obviously not big on PHP. But that minor preference aside, I've followed this book's development since its days as a wiki. It's an invaluable resource as your online development begins to get more complex in a demanding world expecting web apps with rich UIs and multifaceted formats (e.g., JSON, SOAP, XML, et al.). I find it to serve equally well as programmer's reference and architecture guide. I rarely rate any books a perfect score, but this certainly is deserving of such a nod. This is truly a masterpiece, and one that no developer doing Web 2.0 work should be without.
Guest More than 1 year ago
Are you a developer, designer and manager who wants to know how Ajax is being used in the real world? If you are, then this book is for you. Author Michael Mahemoff, has done an outstanding job of writing a 2nd edition of a book that shows you what¿s possible and what¿s not with Ajax, and how Ajax is being used in the real world. Michael, begins with a prelude to the patterns. Then, the author outlines the building blocks at the heart of any Ajax application. Next, he focuses on the technical qualities of software, in particular maintainability, robustness, and performance. The author also focuses on the usability of Ajax applications. Finally, he discusses why development patterns are not things in the same sense as the patterns in previous patterns, but processes you can use to aid development. Because of the reference-like nature of the patterns, this most excellent book is accessible to people from different backgrounds. More importantly, this book doesn¿t assume you know any particular server-side environment.