Ajax Explained

Ajax Explained

By:


Along with JavaScript, XML, CSS and JavaScript libraries like jQuery AJAX is part of a suite of technologies that are making web apps faster and more dynamic especially with the unstoppable increase in the mobile web. This are the skills that are in the hottest demand among web programmers at the moment.
What is AJAX?
and how does it fit in?
Web apps can be slow which is irritating. No one wants to click on a link and have to wait more ages for something to happen. This essentially happens because data is being collected from a server, and the server is taking too long to respond.
Ajax can speed things up.
Ajax stands for Asynchronous JavaScript and XML and is a new way of programming for the Web. Its not a new technology it is a way of using existing technology better. AJAX combines XML, XSLT, XHTML, CSS and JavaScript and acts as an intermediary between the web browser (client side) and the web server (server side obviously!).
The AJAX engine works within the web browser itself, and handles requests, holds data and responds to user interactions. Because it can hold data, it can respond immediately when the user requests that data therefore speeding up the process.
What does the Asynchronous bit in AJAX mean?
The Asynchronisity (if that is a word) of AJAX is the crux of the whole thing. In normal Web applications, the user asks for something, the request is sent to the server and the server responds that is a synchronous chain of events.
AJAX uses the JavaScript, which is loaded when the page first loads (when you open the site) which handles the majority of the basic tasks like data validation and manipulation, and display rendering. The AJAX engine can now handle all of this without making another trip to the server. So AJAX can do the data handling back and forth to the server whilst everything else is happening, - but it doesnt wait for the user to make the request before it does it hence Asynchronous.


About the Author:
Silicon Beach Training provide AJAX Training and Javacript Training in Brighton. jQuery training, HTML5 training and CSS training also available.



Article Originally Published On: http://www.articlesnatch.com


|

Loading...
Related....
Videos...

Recent Sales-Training Articles

Comments

Still can't find what you are looking for? Search for it!

Loading

Copyright 2005-2011 ArticleSnatch, LLC - All Rights Reserved.
Privacy Policy | Terms of Service.