What is AJAX?

ADVERTISEMENTS

Ever wondered what AJAX is and why it is so popular these days? Keep reading to find out.
AJAX stands for Asynchronus Javascript and XML.

It is a Web development technique for interactive Web applications.

A method that defines how Web pages interact with the server and client.

When was AJAX developed?
The technique was used way back in 2000, when Javascript Remote Scripting was first used. But back then,it was purely based on Javascript.
Why is AJAX gaining in popularity?

The concept is very simple, and the programmer doesn’t have to lean a new language. With Ajax, you can create richer, more dynamic Web application user interfaces that approach the immediancy and usability of native desktop applications.
How is AJAX better than just HTML?

AJAX makes Web pages more user-friendly and the entire HTML page doesn’t need to refresh each time a change is made.It allows for updating,deleting and fetching of small queries without the entire page needing to submitted. This makes the page more interactive, and quicker,AJAX also reduces interaction with the server.
Where will AJAX be used?

AJAX will be used in almost all Web pages that need to be more interactive, and to reduce response time.
Who has used AJAX?

The technique has been extensively used by Google in their applications such as Gmail.
Another example is portal applications,which bring up information from multiple sources and provide application services to the portlets that comprise the portal Web application. To the user, the portlet applications are similar to windowed applications on a desktop. Most portals are in a scenario where an action in one windowed application causes content in all other applications to be refreshed! Web developers employ AJAX-style programming to combact this behavior.
I hope this has cleared all your basic doubts about AJAX.

banner

Search JohnTP.com or view a random post

To receive this blogs articles for FREE on your email inbox, just enter your email address below and click 'Go':

Enter your email address: or .

Find out what I am doing currently by .

7 responses so far,

  1. 1

    Arun

    March 15, 2006 at 6:49 am

    Ajax has been into the industry for more than a decade, only thing was that it was not standardised and many browsers did not support it! I myself did a case study in Ajax and was able to successfully implement it, with site owner’s permission, i’d like to show an example - go to search functionality in http://www.thecheatplanet.net/ (my second site).
    I was/am fascinated by it, about how all the processing happens in the background thus not showing the user any progress (unless the user intends to).
    There are still many drawbacks in the technology-
    1. Back/Forward buttons become useless with this.
    2. U cannot save a web page.
    and lot others, but still if google is using the technology for almost all of their applications, its worth understanding! :-)

    ciao
    -Arun

  2. 2

    johntp

    March 15, 2006 at 2:34 pm

    - Browsers have started supporting AJAX. But I think IE still has a few problems with sites using AJAX :-(

  3. 3

    Arun

    March 17, 2006 at 4:53 am

    u r right johntp, the browsers have now started supporting AJAX. But if u look back when gmail just started, :idea: Opera did not support it. I’m not sure about other browsers at that time though. but as of now, almost all browsers support ajax.

    yup, u right, there r some problem with IE when ajax comes in.

    The best ajax site that i’ve come across till now is the one that is used in our company’s intranet (sorry could not tell u the site - restricted). Though there are lot other wonderful sites too!:eek:

  4. 4

    johntp

    March 17, 2006 at 5:22 am

    Now AJAX is almost everywhere. My blog search uses AJAX. Heck, even my comments feature uses AJAX :cool:



Copyright ©2005-2008 JohnTP, All rights reserved.