JavaScript

  1. Home
  2. Computing & Technology
  3. JavaScript

Head Rush AJAX

About.com Rating fourhalf out of Five

By Stephen Chapman, About.com

The Bottom Line

A book for the anyone with some knowledge of Javascript who wants to learn about how to use Javascript to request information from the server.
Pros
  • provides a perfect introduction to Client/Server Communication
  • Introduces topics in a logical order
  • Makes no unnecessary assumptions about what you already know
  • Shows how to use both XML and JSON data formats
  • Concentrates mostly on the Client side of the process
Cons
  • The latest three versions of the five ActiveX controls are not mentioned at all.
  • Uses the deprecated escape() function where encodeURIComponent() should be used
  • Concentrates on the Client side with only prewritten PHP representing the server side processing
  • Not a reference book

Description

  • First Edition: Published 2006
  • 413 page paperback
  • Published by O'Reilly Media Inc
  • ISBN 0-596-10225-9
  • Get it in your Brain, FAST
  • Author Brett McLauglin

Guide Review - Head Rush AJAX

Using the irreverent style common of the Head Start/Head Rush series of books, this book starts at the beginning and introduces you to all you need to know to be able to write the Javascript that will both send requests to the server and update the page with the results when they are returned.

This book concentrates on the Javascript side of things and uses a few simple PHP scripts to demonstrate the server side of the processing without going into great detail on how to handle that side of things (after all PHP is only one of many possible languages that can be used for that part). There are also a couple of chapters that provide a good explanation of the Document Object Model which is extremely important when it comes to updating your page when the results of the query are returned.

One of the best things about this book (apart form the excellent explanations of how the code works) is that it also looks at security issues (although the info on security with JSON could have been mentioned earlier than Appendix 2.

Any one with a basic understanding of Javascript should be able to work their way through this book as all of the Javascript is explained at some point in the book and where the explanation is considered to be too advanced for that point in the book it is made clear that the code will be fully explained later in the book.

If you learn Ajax from this book you are unlikely to forget much of what you learn.

Compare Prices
User Reviews Write Review

Explore JavaScript

About.com Special Features

Build Your Own Website

Step-by-step advice on how to do everything from choosing a Web host to promoting your content. More >

Connect Your Home Computers

Easy ways to connect two computers for networking purposes. More >

JavaScript

  1. Home
  2. Computing & Technology
  3. JavaScript
  4. Ajax
  5. Head Rush AJAX

©2009 About.com, a part of The New York Times Company.

All rights reserved.