Ajax is no longer an experimental approach to website development, but the key to building browser-based applications that form the cornerstone of Web 2.0. Head First Ajax gives you an up-to-date perspective that lets you see exactly what you can do—and has been done—with Ajax. With it, you get a highly practical, in-depth, and mature view of what is now a mature development approach.
Head First Ajax covers:
Making Ajax requests with XMLHTTPREQUEST objects
The asynchronous application model
The Document Object Model (DOM)
Controlling the browser with the Browser Object Model
XML Syntax and the XML DOM tree
XML Requests & Responses
JSON -- an alternative to XML
Ajax architecture & patterns
The Prototype Library
The book also discusses the server-side implications of building Ajax applications, and uses a "black box" approach to server-side components.
Chapter 1 Using Ajax: Web Apps for a New Generation
Web pages: the old-fashioned approach
Web pages reinvented
So what makes a page “Ajax”?
Rob’s Rock ‘n’ Roll Memorabilia
Ajax and rock ‘n’ roll in 5 steps
Step 1: Modify the XHTML
Step 3: Create a request object
Step 4: Get the item’s details
Let’s write the code for requesting an item’s details
Always make sure you have a request object before working with it
The request object is just an object
Hey, server... will you call me back at displayDetails(), please?
Use send() to send your request
The server usually returns data to Ajax requests
Ajax is server-agnostic
Use a callback function to work with data the server returns
Get the server’s response from the request object’s responseText property
With twenty years experience in the field, Rebecca M. Riordan has earned an international reputation for designing and implementing computer systems that are technically sound, reliable, and effectively meet her clients' needs. Her particular area of expertise is database design and she is a five year Access MVP. Rebecca has also authored several database books and served as a senior technical support engineer for Microsoft's database products. As a Microsoft employee in Australia, Rebecca was the Senior technical support engineer for Microsoft's database products.
I'm trying to work the exercises in Chapter 1, and am unable to get this to work. Turns out, I need to run XAMPP to get an apache server running in order for the php code provided in the example to run. No mention of this in the book at all, much less how to install it or get it running. So far, I've had no luck getting it running, so can't run the examples or do the exercises. That pretty much makes the book useless.
Bottom Line No, I would not recommend this to a friend
A few days ago, I said, "What the heck? and grabbed this one on AJAX. I can not put it down! I believe I am reading less but retaining more than any of the other types of books I have read.
Even recommended the Algebra and Geometry ones to my brother for his kids!
I learned after many years as an instructor in the Navy that different people have different ways of learning and this book has taught me a lot!
This type of learning may not be for you but at least take the time to read a little bit and find out. Don't just thumb thru the book(s) and view it as a bunch of "gibberish" like I did! (ROFL)
Bottom Line Yes, I would recommend this to a friend