Home » Programming

AJAX – The Web 2.0 language

AJAX in a Nutshell

By definition, Web 2.0 is about user content. In plain words is about wikis, instant messaging, mashups, social bookmarking, podcasting, blogging etc’. The crucial factor in the realization of these concepts is the ability to enhance the user experience when interacting with web sites. Web 2.0 companies needed a technical platform that will enable the build of rich and interactive web applications, and that’s where AJAX (Asynchronous JavaScript and XML) comes.

I read that people tend to use the terms Web 2.0 and AJAX interchangeably. The thing is that AJAX is not Web 2.0 but its main enabler and building block. The most prominent web applications released by Google during the last 3 years (such as Maps and Gmail) leverage AJAX, as well as other prominent web 2.0 applications such as FlickR, chatting applications, games and widgets do.
The AJAX implementation I like the most is Google Suggest. Give it a shot and see how the application updates the suggested searching terms as you type. That’s AJAX!

The revolutionary aspect of AJAX, is that it allows the user’s interaction with the web site to happen independently of communication with the server (i.e. asynchronously). The main benefit of this feature is that the user’s interaction with the web site is continuous and not disturbed by page refreshes (visualized as blank pages and hourglass icons) as in a Web 1.0 application. This results in “desktop-like” web applications, that users have fun to work with.

So how AJAX works?

AJAX uses JavaScript as its client side programming language, that enables the fetching of data from the server. Following user action in a web page (such as dragging and dropping, typing etc’), JavaScript calls a special object named XMLHttpRequest, that enables the fetching of additional required data from the server, without causing a page refresh. That data can be provided in XML or plain text format, and incorporated seamlessly to the web page once it’s available.

Stay tuned for more on the technical aspects of AJAX.

This article is contributed by Gili Weinbach, He is a Business Intelligence developer and owner of AVirtualExit.com, a practical Web 2.0 blog.

Tagged with: | Need more help ? Ask your Questions at our Support Center | Follow us on Twitter @TSNW or Facebook
Facebook Share Print This Post

Posted on 30th March 2007 by Ashish Mohta , A Professional Tech blogger, Editor and Writer who talks about solving day to day problems of people who use computer. He also writes on How to use the applications like Office, PC tips, Online tools,Browsers and more. All posts by Ashish Mohta | Connect with me @ Twitter | Linkedin | Facebook | Stumble

Leave your response!

Be nice. Keep it clean. Stay on topic. No spam.