AJAX – Brief introduction – Why, Where and Example. To be very confine to cover Why and Where AJAX technology is used with example, will cover following 5 topics just to get an overview of an AJAX technology. This post only deals with why and where this technology is used.
Brief introduction to AJAX
XML and XMLHttpRequest Object : XMLHttpRequest is Represents an XML request using HTTP.
HTML and CSS : For Web designing.
DOM(document object model)
Why need of AJAX
AJAX makes a web page appear more like a desktop application rather than a web application as it gives smoother and less frustrating experience to the user.
What are the application and the type of project that can implement by AJAX
AJAX application, it really made a change in web technology. Google used AJAX heavily in their application and make an impact on impressing their user and providing such a exciting technology. Some of the examples of AJAX that you regularly use are as:
- Google search or Google Suggest : When you type in some letter or word, Google predicts some query for you, that appear as follows :
How was that, without loading a page, some words are send to server in form of XMLHttpRequest and that request makes a search and suggested query for you can be seen provided by Google.
- Google MAPS : When you zoom in the map, the maps appear more clearer with more points and its name loaded to that page. Amazing the data is been loaded without reloading the page, its processes so smoothly that we would never recognize that a request has made by us to a server. See the example below, and notice the url.
- Google GMAIL : When a mail is sent to you and you are already logged in, a message been appear to you as one mail received. But is the Gmail is regularly reloading or updating the page where you logged in, No its a magic of AJAX.
Google Reader, Facebook, Amazon, Orkut, Google group, Flickr etc are the website which makes use of this technology.
Chatting and Submitting form and getting feedback a form without refresh are the another application where we can work with by using AJAX technology.
Author review or words for AJAX
Thank you. If you are having a more knowledge on AJAX and want to share your ideas, do comment below.