From Ajax Patterns
Ajax Design Patterns
|The "Ajax Design Patterns" (2006) book, based on the patterns in this website is now available. You can order direct from O'Reilly's website (where you can also obtain electronic copies), from Amazon.com, Amazon.co.uk or other online and physical stores. The book is 655 pages long and includes 70 design patterns, each with overview sketches and screenshots. Ahead of the patterns, the first three chapters contain: an overview on Ajax, a tutorial on Ajax for those who haven't yet done any hands-on Ajax development, and a discussion of design principles for Ajax.|
Trivia: Original Cover Art
|For posterity, here's the original cover, before the series changed from an O'Reilly "animal book" to be part of O'Reilly's new Theory and Practice series.|
Linux Journal Award
|Ajax Design Patterns was winner of the 2006 Linux Journal Editor's Choice Award in the general category of software development books.|
These are quotes about the book. See also Media page for quotes about this website, AjaxPatterns.org.
"Michael Mahemoff's Ajax Design Patterns is a truly comprehensive compendium of web application design expertise, centred 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 that serves not only as an intermediate to expert handbook but also as an extensive reference for building rich interactive web applications." - Brent Ashley, Ajax guru and creator of the first Ajax/remoting library in 2000
"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." - .Net Magazine (October, 2006) (Book of the Month in .Net Magazine)
"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." - Amazon Reviewer Frank Stepanski
"I have bought a book, Ajax Design Patterns, by Michael Mahemoff. The book is brilliant. Elegant code examples, inpiring advice. It gives me an adrenaline rush akin to what I had felt years ago when I first learned about Flash. So now I am all excited again." - Victoria Chan - Vicissitude blog
"True to its promise, the Ajax Design Patterns book, with its more than 70 design patterns, documented in more than 600 pages with encyclopedic detail, is very effective in presenting the AJAX programming knowledge in a reader friendly format. In the spirit of seminal GoF Design Patterns work, it captures the essence of each of the topics with problem solving approach -- first stating the problem in general terms and then presenting the solution, outlining the approach and discussing variations, alternatives, trade-offs and even listing actual uses in real applications." - Blogger Pankaj Kumar
Watch out for a detailed table of contents soon. Here's a summary:
- Part 1: Introduction
- Chapter 1: Introducing Ajax. Expains how Ajax came about, overviews the technology, and identifies current trends.
- Chapter 2: A Pattern-Led Tutorial. Try the tutorial apps online. The first half contains three exercises walk you through the Foundational Technologies and are suitable for readers who haven't yet worked with Ajax. Each exercise focuses on one Foundational Technology chapter - manipulating the user interface, responding to user actions, communicating with the server. The second half starts with a conventional web application (Ajaxagram, an anagram finder) and each section introduces some patterns to refactor it into a full-fledged Ajax App.
- Chapter 3: Ajax Design: Principles and Patterns. Discusses the theoretical foundations for the Ajax patterns - what constitutes a quality design, what problems do designers encounter, and how do they overcome them?
- Part 2: Foundational Technologies. 11 "building blocks" describing the raw technologies underlying any Ajax App.
- Part 3: Programming Patterns. 23 patterns guiding on performance and maintainability, covering topics such as browser-server message formatting, caching, and strategies for DOM population.
- Part 4: Functionality and Usability Patterns. 28 patterns on the things that matter to users, including widgets, drag-and-drop, and bookmarkability.
- Part 5: Development Patterns. 8 patterns advising on best practices such as debugging and testing.
- Extras: The inner covers contain an alphabetically ordered list of patterns, each with a one-line summary and a page reference. The appendixes cover: Ajax libraries and frameworks, setting up the code examples, discussion of patterns and pattern languages, and references. Each pattern contains an In a Blink sketch to help you grasp the concept at a glance (or, in a blink) and annotated screenshots for the Real-World Examples.
Michael produced a series of podcasts on the patterns in at Software As She's Developed. There are now audio recordings for every pattern in the book. This Odeo page is a convenient way to play the audio through your browser.