Ajax in Action is still one of the better books around to learn Ajax fundamentals. My own Ajax in Practice is a good book if you want a quick overview of the fundamentals and then lots of practical examples of using Ajax in real applications. Head First Ajax is a great book too, if you are a fan of the Head First approach.
If you'd rather use a library to do your Ajax (highly recommended, especially if you are a novice and need to dive in quickly), I'll recommmend my own book: jQuery in Action.
I'm also after a good book - having been disappointed by a recent purchase.
Which book has the most comprehensive reference section? The books I have on Ajax do not sufficiently address technical details , but tend to focus on use (DOM, Java, pretty tricks etc) rather than the technical aspects (Get, Post, send etc). I can get by without creative examples, but I need the technical aspects.
I will need to buy another book.
when in doubt put it in parenthesis and stick a dollar sign in front of it, only good can come from this.
Yes, perhaps that's what I am looking for. For example, I have not been able to find out directly about the following
- how to set up the different mime types
- how to set up the payload for the different mime types
- how to extract the payload using Java on the server side for more complicated POSTs
- how to set up headers, and what the options/ consequences are
- that you cannot upload files using ajax.
I have only been able to find these sort of things by flicking through books and googling and hoping to land on an appropriate example.
For example, I bought Jeremy Keith's DOM scripting book a while ago, it has a simple but comprehensive reference at the back, and by using that I am now a DOM master. Unfortunately Jeremy's Ajax book does not have such a reference, which has stranded me a bit. But I flick through other books they seem a bit the same, for example Olson's Java on Ajax.
Anyway, I'm going on a bit too much. But if you could recommend a book that is a bit more technical, I'll buy it.
Everything you describe is really independent of Ajax, and I'd be surprised if any Ajax book went into details on those subjects. Some are general HTTP topics that are not specific to Ajax, and most of those are very dependent on what technology you are using on the server. If Java, I'd expect those topics to be covered in a book on J2EE or servlets, if PHP, a book on PHP and so on.
There are some specialized books on Ajax with a particular server-side technology (I know there's on an Ajax with PHP), but I haven't been impressed with them.