Ajax for Dummies, by Steve Holzner
Quick Summary: Very basic, uneven, a few painful errors. If you are looking for a very basic introduction, try Head Rush Ajax instead.
Albert Einstein famously said "Make everything as simple as possible, but no simpler."
More complex concepts, necessary to understanding the examples, get minimal treatment later on. A few examples:
this, etc. get one paragraph.
nullis never explained. (Judging from the source code, the author is not clear about the difference.)
prototypeis not explained (and is not a term in the index).
The other major concern with this book is the technical errors. I didn't spot many, but the few were significant.
The commitment to "wishing it simple" produces some misleading advice. With regard to code-centric Ajax, the author says (p. 114):
He then proceeds to build an example that connects to Google Suggest, which returns its data as script. The reader is left to wonder why Google sends back script. Weren't they "dummies" enough to follow the author's advice? What the author doesn't know, or at least isn't telling the reader, is that the Google Suggest API is designed to support the dynamic script tag technique for cross-domain access without a server proxy. More realistic advice to the reader would be this:
(Hypothetical) The issues around whether and when you should use code-centric Ajax are far too advanced for this book, but here's how to do it anyway. P.S. Here's a loaded pistol; now go play outside.
Wrapup:Ajax is not for dummies.