Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


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. Using the unique and highly effective visual format that has turned Head First titles into runaway bestsellers, this book offers a big picture overview to introduce Ajax, and then explores the use of individual Ajax components -- including the JavaScript event model, DOM, XML, JSON, and more -- as it progresses. You'll find plenty of sample applications that illustrate the concepts, along with exercises, quizzes, and other interactive features to help you retain what you've learned. Head First Ajax covers:

  • The JavaScript event model

  • Making Ajax requests with XMLHTTPREQUEST objects

  • The asynchronous application model

  • The Document Object Model (DOM)

  • Manipulating the DOM in JavaScript

  • Controlling the browser with the Browser Object Model

  • XHTML Forms

  • POST Requests

  • 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.

Head First Ajax is the ideal guide for experienced web developers comfortable with scripting -- particularly those who have completed the exercises in Head First JavaScript -- and for experienced programmers in Java, PHP, and C# who want to learn client-side programming.

Subscriber Reviews

Average Rating: 4.125 out of 5 rating Based on 8 Ratings

"Very difficult to read on iPad" - by Dean.w on 02-MAY-2013
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
The font is too light and too small to read on the iPad.
Report as Inappropriate

"Head First AJAX" - by Vinay on 04-JAN-2012
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
A must read book for people who want to learn AJAX. The basic concepts are explained very beautifully and the pictures will never allow you to forget what you have learnt.
Report as Inappropriate

"Head First Ajax" - by GeoChing on 11-AUG-2010
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
Much much better than Head First Javascript.  This book sample code included PHP server-side scripts for the ajax code, but I decided to implement the server side code in Struts2, so this allowed me to learn javascript/ajax and Struts2 at the same time!
Report as Inappropriate

Table of Contents



The publisher has provided additional content related to this title.


Visit the catalog page for Head First Ajax

  • Catalog Page

Visit the errata page for Head First Ajax

  • Errata

Download the supplemental electronic content for Head First Ajax

  • Supplemental Content