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

    When you register, you'll begin receiving targeted emails from my team of award-winning writers. Our goal is to keep you informed on recent service-oriented architecture (SOA) and SOA-related topics such as integration, governance, Web services, Cloud and more.

    Hannah Smalltree, Editorial Director

    By submitting your registration information to SearchSOA.com you agree to receive email communications from TechTarget and TechTarget partners. We encourage you to read our Privacy Policy which contains important disclosures about how we collect and use your registration and other information. If you reside outside of the United States, by submitting this registration information you consent to having your personal data transferred to and processed in the United States. Your use of SearchSOA.com is governed by our Terms of Use. You may contact us at webmaster@TechTarget.com.

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