47 of 49 people found the following review helpful
4.0 out of 5 stars
Outstanding platform-agnostic look at Ajax programming, Feb 17 2006
By Jason A. Salas - Published on Amazon.com
This review is from: Professional Ajax (Paperback)
The book does a good job academically of showing how Ajax has evolved (itself a debatable topic) and how it is used in modern-day applications. The book doesn't marry the reader to any one particular web development framework, effectively citing examples in PHP, .NET, and JavaServer Pages. Practically, the authors exhibit a proper mix of (X)HTML, CSS, JavaScript, Dynamic HTML and XmlHttpRequests, showing how the technologies are blended for developing next-gen UIs.
There are great discussions of advanced concepts like JSON, REST, and SOAP-based web services and how Ajax is incorporated into them. Also, coding to allow cross-browser compatibility is stressed throughout the book, particularly in instantiating an XMLHTTP object across IE, Firefox, Mozilla and Safari. The authors' zXml and XParser are cited as two of several third-party libraries to seamlessly pull this off.
Some gems that I found within the book include Chapter 8 - "Web Site Widgets", which is very helpful, giving practical demonstrations and usable code for several Ajax-driven mini-applications we could all use in our web projects. Chapter 7's case study of a Google Suggest-style autocomplete text box was very elegant, using JSON as an alternative to XML's typically verbose payload. Chapter 2 - "Ajax Patterns" also abstracts many of the features common to apps using Ajax (i.e., polling, autosave, incremental updating). All are well done and greatly appreciated.
Syntactically, the authors' programming style is very clever. While not exhaustively described, the book shows how to feign object-oriented programming in client-side JavaScript, making liberal use of such time-saving coding tricks like faux classes, inline function definitions and prototypes.
In criticism, the one chapter I found to be a letdown was Chapter 5 - "RSS/Atom", mainly because I'm very involved with work in that space. A terse description of content syndication is presented, but then followed exclusively by an analysis the FooReader.NET web-based RSS aggregator app. It's nice, but doesn't take a more holistic view of how Ajax is being used elsewhere. I would have also liked to see examples in emerging platforms, specifically Ruby on Rails and the Ajax support built directly into that web framework.
But overall this is a very good introductory read for experienced programmers wanting to get up to speed on the next big thing in advanced web UI development. I'm a better, more aware, more prepared developer for having read it.
15 of 16 people found the following review helpful
5.0 out of 5 stars
Best code explanations ever, Sep 4 2006
By L. Israel "Nerdy female" - Published on Amazon.com
This review is from: Professional Ajax (Paperback)
As a newcomer to Ajax, I cant comment on the coverage but it seemed reasonably comprehensive.
But the code walkthroughs were terrific - completely readable, easy to follow and sometimes even quite fun to read. I cant remember reading better code runthroughs ever.
11 of 11 people found the following review helpful
5.0 out of 5 stars
Ajax made fun, May 10 2006
By M. Sanford - Published on Amazon.com
This review is from: Professional Ajax (Paperback)
I found this book to be extremely informative. It is written in a clear, engaging style that makes it a pleasure to read. The examples are well constructed, relevant to real world applications, and thoroughly explained. The essential bits of code are highlighted for quick reading. The most irritating thing about web development is cross-browser support, and authors do a great job to making this less intimidating and point readers to libraries to abstract away the differences. Also covered are related JavaScript XML, XPath, XSLT support, web services, RSS/Atom.
PHP is the primary server side language used, though they chose .NET/C# for creating a web service. Microsoft's .NET web service tools are excellent, but I would have liked it if the authors had rounded this out with giving the basics of creating a web service using open source solutions.
If you want to learn Ajax techniques and related technologies, this book is well worth your time and money.