Ajax Patterns and Best Practices

Ajax Patterns and Best Practices

by Christian Gross

Paperback(1st ed.)

$44.99
Choose Expedited Shipping at checkout for guaranteed delivery by Friday, May 31

Customer Reviews

Most Helpful Customer Reviews

See All Customer Reviews

Ajax Patterns and Best Practices 4 out of 5 based on 0 ratings. 3 reviews.
Anonymous More than 1 year ago
Anonymous More than 1 year ago
Guest More than 1 year ago
I very much enjoyed reading this book and got a lot out of it. To date, I've read about four of the major Ajax titles from various publishers, and this is the best of them so far. Christian Gross uses a very friendly voice and makes tacking the technical concepts behind modern-day web programming with Ajax - often a difficult task to simplify by the writing community - very easy to grasp. But don't think just because Gross slyly defines the relationship of JavaScript, XML and HTTP that this is merely a book for the newbie. He uses some very advanced patterns soon into the book, and bases his fundamental asynchronous calls on one of the better models of safe and reliable cross-browser object instantiation through the use of a simple factory pattern. It's effective programming by way of intelligent design. I appreciated the fact that the patterns described within the book aren't those that are becoming commonplace among blogs, wikis and books, demonstrating the range of Ajax programming on today's web. Gross also mentions the idiosyncrasies of the major browsers in handling things like HTTP headers, caching, output display (or lack thereof), and other things you'll need to know. Perfect examples of these helpful patterns are those used for persistent communications, cache controlling and permutations for multi-device UI rendering. (I still would have liked to see Gross' take on the 'AutoSave' feature that's so copied by early Ajax adopters, but I won't hold it against him.) I also enjoyed the fact that the book kept coming back to REST-style programming, with the capstone chapter being an exhibit of MVC-style applications development on top of REST. Not enough has been published in mainstream print about working with, much less describing, REST systems, so this was another definite plus. He also references several languages in describing patterns and concepts, such as PHP, Python, C# and Java. While it is a bit of a stretch for those of us not using each one of the languages, it does show cross-platform effectiveness. Gross also breaks down the importance of coding object-oriented JavaScript, using prototypes, code reuse and other best practices concepts that may take a few re-reads to fully stick, but will make you a better overall programmer. This is a definite must-have.