Geeks With Blogs

News Dave's Mug View David Oliver's profile on LinkedIn Add to Technorati Favorites Blog Directory for Guildford, Surrey

Dave Oliver's Blog Enterprise Technology Thought Leadership in a FTSE 100

I had promised you another post on my predictions for 2006. Well, after listening to feedback (thanks all that have emailed me) it seems that most of you would like to see a deeper dive into technologies that interest me (with diagrams) but in an easy to digest way. So, this is the first in the range of these posts.

What is Ajax?

Introduction

Ajax or Asynchronous JavaScript And XML is a term that describes the use of a combination of existing web technologies to build rich and interactive web pages.

The Main Advantages

  • There is no need to fetch a whole page of HTML only the part that has change.
  • Most of the processing is performed on the client
  • Most of the popular desktop Internet browsers are able to use web pages build in Ajax without any additional add-ins

A Typical Ajax Story

Ajax is comprised of XHTML, Javascript, XMLHTTPRequest object and XML.

In Figure 1, a client side mouse event is recieved by DOM (Document Object Model) which then in turn is captured by Javascript. Javascript initiates the XMLHTTPRequest. All the server has to do is act on the XML query sent in XMLHTTPRequest and respond with its answer in XML. Once received back at the client DOM than parse the received XML and displays the change.

Figure 1 - A Typical Ajax Story

What is Ajax

Dave Oliver @ GeeksWithBlogs.Net (c) 2006

Examples in Action

Basic Examples
Typical applications 
Google Maps

Coding

Ajax with .Net
Ajax with Java

Definitive Articles

Jess James Garrett
CNET News

Design Patterns

AjaxPatterns.org - is the best Wiki I’ve found on Ajax design patterns.

 

Posted on Monday, January 16, 2006 12:47 PM Main , Technical Architecture | Back to top


Comments on this post: What is Ajax?

# re: What is Ajax?
Requesting Gravatar...
I like that diagram.
Left by Nick Swan on Jan 16, 2006 7:22 PM

# re: What is Ajax?
Requesting Gravatar...
Usefull post .. bookmarked!
Left by Robert on Jan 16, 2006 8:51 PM

# What is Ajax
Requesting Gravatar...
Short description of Ajax for the lehman
Left by on Feb 17, 2006 5:59 AM

Comments have been closed on this topic.
Copyright © Dave Oliver | Powered by: GeeksWithBlogs.net