Book Reviews - Head Rush Ajax by Brett McLaughlin, and Ajax Hacks by Bruce Perry

Many technologies have a tendency to morph and evolve into forms that their creators never envisaged. Such is perhaps the fate of much of creation. Ajax is one such polyglot technology, borrowing from sources as diverse as Microsoft, the once-written-off JavaScript, and the desire of browsers/readers to interact directly with the interfaces they deal with on a daily basis on the web.

It is a technology agglomeration that seems very easy to use and many developers have ventured into the frothing waters before retreating, befuddled, preferring to remain on the consumption end of the spectrum. This is partly due the complexity introduced into preparing web pages for multiple implementations on different browsers. The conditional checks can be confusing to keep track of for even the most attentive person. Various frameworks and wrappers have sprung up to compensate and mask the complexity.

Sometimes, it helps to look at a problem from multiple perspectives simultaneously. One way to do this for Ajax is to read both Ajax Hacks and Head Rush Ajax together. Ajax Hacks utilizes the by-now popular model of explorations deep and wide into the new burgeoning paradigm of user behavior online. Head Rush Ajax is a meta-cognitive approach to learning Ajax, bouncing the technology between different facets and perspectives until it seems like specific neurons are hardwired to XMLHttpRequest, the DOM and DIVs.

Begin with the first three chapters of Head Rush, which show you how to speak the language of asynchronous web applications. Then switch to the first 20 or so hacks, which give you techniques to consume and tweak the requests/responses between the server and clients.

Once you're through with this, refill your caffeine tanks and try writing your own self-editing rollover-highlight dynamically generated selection list that orders your favorite blend of Starbucks. If you do it right, the rest is easy going. If you find it easier to use the drive-through lane, make sure you ask for extra-hot tall misto with hazelnut for me.

Continued on the next page Page 1 — Page 2

Article tags

Spread the word
Bookmark and Share
Profile image for aaman-lamba

Article Author: Aaman Lamba

Aaman Lamba is a Blogcritics editor, as well as the Publisher of Desicritics.org, a Blogcritics network site covering media, politics, culture, sports and more with a global South Asian focus

Visit Aaman Lamba's author pageAaman Lamba's Blog

Read comments on this article, and add some feedback of your own
  • Head Rush Ajax (Head First) Head Rush Ajax (Head First)

    Sick of creating web sites that reload every time a user moves the mouse? Tired of servers that wait around to respond to users' requests for movie tickets? It sounds like you need a little (or maybe ...

  • Ajax Hacks Ajax Hacks

    Ajax, the popular term for Asynchronous JavaScript and XML, is one of the most important combinations of technologies for web developers to know these days. With its rich grouping of technologies, Ajax ...

  • Ajax in Action Ajax in Action
  • AJAX and PHP: Building Responsive Web Applications AJAX and PHP: Building Responsive Web Applications
  • Sophocles - Ajax (Classical Texts) Sophocles - Ajax (Classical Texts)

Article comments

Add your comment, speak your mind

Personal attacks are NOT allowed.
Please read our comment policy.
Please preview your comment.

blogcritics lists for Dec 01, 2009

fresh articles Most recent articles site-wide

fresh comments Most recent comments site-wide

most comments Most comments in 24hrs

top writers Most prolific Blogcritics for November

top commenters Most prolific Commenters in 24 hrs