Deliver to your Kindle or other device

Enter a promotion code
or gift card

Try it free

Sample the beginning of this book for free

Deliver to your Kindle or other device

Sorry, this item is not available in
Image not available for
Image not available

Ajax Design Patterns [Kindle Edition]

Michael Mahemoff
4.1 out of 5 stars  See all reviews (15 customer reviews)

Digital List Price: $35.99 What's this?
Print List Price: $44.99
Kindle Price: $19.79
You Save: $25.20 (56%)

Free Kindle Reading App Anybody can read Kindle books—even without a Kindle device—with the FREE Kindle app for smartphones, tablets and computers.

To get the free app, enter your email address or mobile phone number.


Amazon Price New from Used from
Kindle Edition $19.79  
Paperback $34.23  
Best Books of the Month
Best Books of the Month
Want to know our Editors' picks for the best books of the month? Browse Best Books of the Month, featuring our favorite new books in more than a dozen categories.

Book Description

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

Editorial Reviews


"Ajax Design Patterns fills the literary void that exists in AJAX design by using real examples of best practice to enhance your apps. As with most AJAX titles it's pretty intense and hardcore reading, but then if you're into AJAX you're probably pretty hardcore too. Thankfully, Ajax Design Patterns is one of the most organised books on any programming subject. It's a massive book, but you won't get lost as the chapters are sensibly divided up and the sound layout means there's nothing whatsoever to fear. The book gets inside what makes top apps like NumSum tick and there's even a look at the code of DHTML Lemmings thrown in for good measure!" .Net, October 2006

Book Description

Creating Web 2.0 Sites with Programming and Usability Patterns

Product Details

  • File Size: 12157 KB
  • Print Length: 656 pages
  • Simultaneous Device Usage: Unlimited
  • Publisher: O'Reilly Media; 1 edition (June 29, 2006)
  • Sold by: Amazon Digital Services, Inc.
  • Language: English
  • ASIN: B0026OR3BM
  • Text-to-Speech: Enabled
  • X-Ray:
  • Word Wise: Not Enabled
  • Lending: Not Enabled
  • Amazon Best Sellers Rank: #1,360,874 Paid in Kindle Store (See Top 100 Paid in Kindle Store)
  •  Would you like to give feedback on images?

Customer Reviews

4.1 out of 5 stars
4.1 out of 5 stars
Share your thoughts with other customers
Most Helpful Customer Reviews
55 of 58 people found the following review helpful
3.0 out of 5 stars Good techniques August 11, 2006
Format:Paperback|Verified Purchase
This book is filled with too many stories, facts and fictions. There are lots of success stories told about Ajax. Every so called "design pattern" discussion begins with a fictional story. I'm not sure if this is good, but for me it just bloats the book and adds unnecessary readings for my eyes that too easily get tired.

Most of the "patterns" discussed in this book are specific solutions. I believe design patterns are solutions to generic problems. To make it feel like you are really reading a design patterns book, the author uses the generally accepted way of presenting patterns (problem/forces/solution). It just made the book worse rather than better. Anybody who has read a real design pattern book and then read this book will soon feel the artificiality.

One minor thing is that its server side examples are written in PHP. Of course, that is not a problem for PHP guys. It should, however, be mentioned in the description.

Still, I am keeping this book. There are many JavaScript coding techniques that are very impressive and I feel will be very useful. I just need to use a couple of my highlighters to mark specific readings and techniques and so my eyes can avoid the other verbosity.
Comment | 
Was this review helpful to you?
15 of 15 people found the following review helpful
Although I think the book is mistitled, there's still a lot of value to be gleaned from Ajax Design Patterns by Michael Mahemoff. It's almost more like a cookbook than a patterns guide...


Part 1 - Introduction: Introducing Ajax; A Pattern-Led Tutorial; Ajax Design - Principles and Patterns

Part 2 - Foundational Technology Patterns: Ajax App; Display Manipulation; Web Remoting; Dynamic Behavior; Extended Technologies

Part 3 - Programming Patterns: Web Services; Browser-Server Dialogue; DOM Population; Code Generation and Reuse; Performance Optimization

Part 4 - Functionality and Usability Patterns: Widgets; Page Architecture; Visual Effects; Functionality

Part 5 - Development Patterns: Diagnosis; Testing

Part 6 - Appendixes: Ajax Frameworks and Libraries; Setting Up The Code Samples; Patterns and Pattern Languages; References; Index

Each of the chapters, such as Widgets, show a number of techniques and features that you can use in an Ajax application. In this particular case, there's the Slider, Progress Indicator, Drilldown, Data Grid, Rich Text Editor, Suggestion, Live Search, and Live Command-Line. Although each of these are presented as a "pattern", I think that's really a misuse of the term as it's commonly utilized in our industry. Patterns are general architectures that have been developed over time to solve particular types of design issues. A pattern called "Slider" is really just an example of how a slider widget can be used effectively in an Ajax application. Because of the specificity of a slider, I see that as more of a recipe than a pattern.

Having cleared that gripe, it's still an effective book.
Read more ›
Comment | 
Was this review helpful to you?
7 of 7 people found the following review helpful
5.0 out of 5 stars A "must have" Ajax Resource for every Web 2.0 developer. February 26, 2008
Let me get something straight here: Michael Mahemoff really knows how to teach, this book is one of the most appropriated books for those who want to learn about AJAX and in this review I'll tell you why I think so.
First of all, the book starts explaining all the basics of AJAX with its definitons, how it works, related technologies and more. But the best point is: the author always explains using real-life examples, which makes everything easier to understand. The following chapters cover the AJAX Design Patterns properly. You can think about these design patterns as specific solutions, for example "how to made an auto-complete box with ajax", which will give you a great variety of "what can I do with ajax" things. The book also covers some architectural patterns too.
I think the main goal of this book is not only the great diversity of solutions that you can apply in your projects, but how the author explains them. He always starts the explanation of a design pattern with a brief history of how this pattern can help you giving real examples on where these patterns have being applied. Don't forget that one of the main goals of Design Patterns is to create a "vocabulary" to make an easier reference about a specific subject, and this book completely achieves this goal by giving names for each one of those solutions represented as a Design Pattern.
That's why I believe this book is a "must have" for any AJAX professional or student.
Comment | 
Was this review helpful to you?
16 of 20 people found the following review helpful
5.0 out of 5 stars The Best Ajax Book! July 25, 2006
If you think you know anything about Ajax, you're wrong. After you read this book you'll realize how little you knew. Michael Mahemoff has a PhD in Computer Science, but it might as well be on Ajax since I've never read a book with so much useful information about it. There are about 8 or 9 Ajax books on the market right now and none of them come close to giving the useful information this one does and that is only after reading the first 150 pages. This book really is the complete tutorial and reference to learning and using Ajax properly.

The first 2 chapters go over the basic components of Ajax and some basic code examples different techniques Ajax is used to enhance functionality and usability: live search, progress indicators and the one-second spot highlight. The end of chapter 2 is a kind of teaser of what is to come in explaining some of the patterns that will be discussed with website examples to illustrate how they are done: data grids, suggestion, popup, virtual workspace, browser-side cache, fat client, drag-and-drop, image slideshow, web services, etc.

Chapter 3 focuses on the basics of an ideal Ajax application and some the design principles that programmers should follow such as following web standards, accessibility, bandwidth issues, latency, and graceful degradation, among others. He sets you in the right direction in thinking how you should code your application with all these ideas in mind since proper patterns will give you smoother working applications with fewer problems when it is released into production. It is a very interesting chapter that does not go into much code but is more of a background on the issues that need to be thought about before developing your architecture.
Read more ›
Comment | 
Was this review helpful to you?
Most Recent Customer Reviews
2.0 out of 5 stars Lots of ideas, little organization.
While learning modern ways of displaying information on the web, I eagerly awaited this book's arrival. Read more
Published on January 7, 2010 by Quintus Sertorius
5.0 out of 5 stars .NET Developer Group Coban
Para mi, AJAX y las herramientas que involucra es algo nuevo. Este libro me parece interesante porque muestra como disenar paso a paso la estructura AJAX de los sitios web y como... Read more
Published on July 18, 2009 by Jose Rolando Guay Paz
5.0 out of 5 stars Widgets or Design Patterns it's a great book
Michael Mahemoff's comprehensive book describes a large number of common web metaphors that mostly have Ajax in common. Read more
Published on March 2, 2009 by Bernard Farrell
4.0 out of 5 stars Good AJAX Cookbook
The title 'Ajax Design Patterns' is a little misleading because this is more like an AJAX cookbook or solutions book. Read more
Published on April 18, 2008 by Dan McKinnon
3.0 out of 5 stars too long...
Got this book in late 2006, and just about a month ago, I finished. I was involved in creating web forms using Rich Internet Applications (RIA) early last year, and I was hoping... Read more
Published on February 8, 2008 by Baskin I. Tapkan
5.0 out of 5 stars Packed with excellent information
This book is not perfect. There are a handful of editing mistakes and the author seems to go out of his way to ignore anything that Microsoft might have created (except ajax of... Read more
Published on April 27, 2007 by JS
5.0 out of 5 stars Excellent
It help me clarify the mystery behind AJAX and provided easy to follow examples.
Published on January 5, 2007 by Amazon Customer
5.0 out of 5 stars Don't go without this book if you're doing Web 2.0 work
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... Read more
Published on November 14, 2006 by Amazon Customer
1.0 out of 5 stars You can't be serious
I am as eager as the next guy to learn established design patterns for the various new technologies I encounter, but I have to say this book is of very little utility in that... Read more
Published on October 26, 2006 by Paul Lovvik
5.0 out of 5 stars An Excellent Ajax Patterns Book
Ajax Design Patterns is the third book I have read dealing with AJAX (after Head Rush Ajax and Pragmatic Ajax, both good books) and it is by far the most comprehensive dealing with... Read more
Published on October 24, 2006 by Shawn McKenna
Search Customer Reviews

More About the Author

Discover books, learn about writers, read author blogs, and more.


There are no discussions about this product yet.
Be the first to discuss this product with the community.
Start a new discussion
First post:
Prompts for sign-in

Look for Similar Items by Category