Getting started with Ajax

If you're completely new to Ajax, you'll probably want to start with the basics. Ajax (Asynchronous JavaScript and XML) is a method of building interactive applications for the Web that process user requests immediately.

    Requires Free Membership to View

The three major pieces of the Ajax approach are JavaScript, XML and the XMLHttpRequest Object.

JavaScript is a scripting language similar to Visual Basic or Perl. It also shares some of the same ideas found in Java and can be embedded in html Web pages. It's important for an Ajax developer to understand the current JavaScript standard.

XML (extensible markup language) is similar to HTML (Hypertext Markup Language), but unlike HTML tags, XML tags are unlimited and self-defining. A simple tutorial for Handling XML with Ajax might be very helpful.

The XMLHttpRequest object is the piece of the puzzle that allows Ajax applications to run asynchronously. Using the XMLHttpRequest object, an Ajax developer can program applications that are capable of exchanging data between the client and the server behind the scenes, without requiring a new page refresh for each data request individually.

If you found this page interesting you may want to read more from our Ajax tutorial.

This was first published in August 2010

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: