Kay lives here

working with the web

iStock_000014841479Smallperformance

Jeremy Keith’s Bulletproof Ajax

iStock_000015984893Small

More book­shelf fod­der com­ing our way…

When I was at Web Direc­tions South last year, I had the priv­i­lege to intro­duce Jeremy Keith’s ses­sion on Hijax. The pre­sen­ta­tion was one of the high­lights of the con­fer­ence for me, in spite of — or in case because of — the love/hate strug­gle I’ve had with JavaScript over the years.

The Hijax approach builds on the idea of pro­gres­sive enhance­ment. It involves cre­at­ing acces­si­ble web appli­ca­tion func­tion­al­ity with­out JavaScript, and then adding a JavaScript layer that “hijacks” par­tic­u­lar clicks and replaces the stan­dards HTTP requests with XML­HttpRe­quest calls and gen­er­ally Ajaxy stuff. That way, if JavaScript is not avail­able to the user agent, the appli­ca­tion works as intended any­way. But more capa­ble user agents get an enhanced user expe­ri­ence. And every­one is happy.
After Jeremy’s pre­sen­ta­tion I inno­cently asked the ques­tion “Where can I find more resources? Are you writ­ing a book on this?”. After protest­ing that the ques­tion wasn’t staged, Jeremy revealed that he was — and that book, Bul­let­proof Ajax, is now fin­ished.

It’s not actu­ally out yet, but you can pre-order, and if you’re keen like me, check out the com­pan­ion web site with down­load­able code sam­ples. The name “Bul­let­proof” puts the title in the same New Rid­ers series as Dan Cedarholm’s Bul­let­proof Web Design, another title I own and love.

So con­grat­u­la­tions on get­ting it fin­ished, Jeremy — can’t wait to get my hands on a copy.

3 Comments

  1. I sus­pect that a great deal of some of the exam­ples (but in more detail) from Jeremy’s Work­shop at Web Direc­tions South (2006) is in this book. Which will be a hoot. Like you Kay I too have had a hot/cold rela­tion­ship with javascript. I did enjoy Jeremy’s Dom Scripting.

  2. I also have “PPK on JavaScript” on it’s way… that’s meant to be good for the JavaScript-phobic amongst us as well.

  3. There is noth­ing to be pho­bic about in Javascript really. As Kay would vividly remem­ber I had my fair share of anguish with Javascript in the time we worked together, but I have to say, once you “get it” a whole new world opens, and you will find your­self using it more often or at least think­ing IF you could be using it.

    Since we’re talk­ing about pro­gres­sive enhance­ment, the link below might be useful.

    http://www.webkroll.com/popups-are-not-all-bad/