Ajax Foundations, Ajax at Work: Book Reviews
February 28th, 2006 by Pat Eyler in
Title: Foundations of Ajax
Authors: Ryan Asleson and Nathaniel T. Schutta
Publisher: Apress
ISBN: 1-59059-582-3
Price: $29.99
Title: Ajax in Action
Authors: Dave Crane and Eric Pascarello with Darren James
Publisher: Manning
ISBN: 1-932394061-3
Price: $44.95
Ajax has been making the rounds lately, and I needed to learn a bit more about it. So, I grabbed copies of Foundations of Ajax, from Apress, and Ajax in Action, from Manning. Let me fill you in on both of them.
Foundations of Ajax is the smaller of the two books, and it certainly feels as though it's geared to someone just getting started with Ajax. The first third of the book--three chapters and 74 four pages--covers the philosophy and technology behind Ajax. Then, after a chapter on implementing basic Ajax techniques, the book moves on to another big block--three chapters and 92 pages--covering JavaScript development. The final chapter presents a case study in three parts; introducing patterns, describing a framework (written by the authors) and building an Ajax project. The book closes with two appendices and a good index.
I especially was pleased to find a chapter on JSUnit, the JavaScript unit testing framework. The chapter provides an overview of test driven design, documentation of JSUnit and a number of examples of how JSUnit can be used.
The only letdown I had with Foundations of Ajax is it doesn't cover a lot of ground. What is covered, however, is covered well. Overall, the book is approachable, useful and worth looking into if you're going to be doing any Ajax work.
Ajax in Action is more than twice the size of Foundations. The table of contents and the index both seem more complete and better laid out in this book, too. Ajax in Action is broken into four parts (13 chapters) and three appendices. The first part, "Rethinking the Web Application"; the fourth part, "Ajax by Example"; and the appendices are similar to the sections of Foundations of Ajax described above. The middle two parts, "Core Techniques" and "Professional Ajax", are where you'll find the extra meat in Ajax in Action.
Ajax in Action spends much less time with hands-on JavaScript, but it does provide much more coverage of CSS and theory. I also enjoyed a 30-page section, in Chapter 10, that discusses refactoring. In addition, Manning's code typesetting--something I've always appreciated in their books--really shines in this chapter, setting off discussion points and changes nicely. Chapter 6, "The User Experience", and Chapter 8, "Performance" also are good reads, chock full of solid information.
My favorite feature of Ajax in Action is its availability as an unencumbered PDF file. I love having a paper copy to tote around and read but having a searchable, on-line version is really great.
Overall, I think both Foundations of Ajax and Ajax in Action are two really good books. If I had to choose between them, I'd grab Ajax in Action, but I think they complement each other well. Enjoy!
--
-pate
http://on-ruby.blogspot.com
Special Magazine Offer -- Free Gift with Subscription
Receive a free digital copy of Linux Journal's System Administration Special Edition as well as instant online access to current and past issues. CLICK HERE for offer
Linux Journal: delivering readers the advice and inspiration they need to get the most out of their Linux systems since 1994.
Subscribe now!
The Latest
Newsletter
Tech Tip Videos
- Nov-04-09
- Oct-29-09
- Oct-26-09
Recently Popular
From the Magazine
December 2009, #188
If last month's Infrastrucuture issue was too "big" for you then try on this month's Embedded issue. Find out how to use Player for programming mobile robots, build a humidity controller for your root cellar, find out how to reduce the boot time of your embedded system, and if you're new to embedded systems find out the basics that go into one. You can also read about the Beagle Board, the Mesh Potato and a spate of other interestingly named items. And along with our regular columns don't miss our new monthly column: Economy Size Geek.
Delicious
Digg
StumbleUpon
Reddit
Facebook








Great Review -Thanks
On May 22nd, 2007 Webkatalog (not verified) says:
Question!
Is this book available in german language?
please reply!
Webmaster@netzfind.de
thanks in advanced!
Ajax in Action - for beginners?
On March 4th, 2006 Anonymous (not verified) says:
Good descriptions overall, but I am wondering if you would consider Ajax in Action valuable for beginners? Or is Foundations of Ajax a better fix in that case?
Thanks!
Quick Update
On February 28th, 2006 pate (not verified) says:
You learn something every day. It turns out that Apress also sells PDF ebooks, and Foundations of Ajax is one of the titles they offer in this format. You can get a copy from Apress directly.
good review
On February 28th, 2006 bradw2k (not verified) says:
This is helpful, thanks!
Post new comment