* HTML (or XHTML) structure for semantic information;
* CSS for presenting information;
* The XMLHttpRequest object to exchange and manipulate data asynchronously with the web server.
* Replace XML data format informative (JSON) and visual (HTML).
As an alternative to XML, AJAX applications can use text files or JSON.
AJAX applications can be used in Web browsers that support the technologies described above. Among them, there are Mozilla Firefox, Internet Explorer, Google Chrome, Safari and Opera.
History of AJAX
The term AJAX was introduced by Jesse James Garrett (American computer scientist), February 18, 2005, in an article on the Adaptive Path Web site. Since then he has quickly gained popularity.
AJAX compared to traditional Web applications
The traditional web applications allow users to make choices (follow a link, fill and submit a form). A query is then sent to the HTTP server, which acts according to the action and data received, and returns a new page (in Web jargon, these requests are called “synchronous”). This operation consumes unnecessary part of the bandwidth, a large part of the code (X) HTML are common to different pages in the application. And because a request to the HTTP server must be performed at each interaction with the application, the response time of the application depends greatly on the response time of the HTTP server. This leads to user interfaces slower than their native equivalent. Current browsers are common elements in cache, then loading new pages does not require the server to give the same items each time.
Conversely, loading the first page may be penalized if the application uses a large AJAX library (some libraries weigh more than 500 kb, but this is rare).
Latest posts by Santosh (see all)
- Cloud Computing: The Concept and Examples of its Virtual Services | Part 1 - July 23, 2012
- Why Rapidly Growing Companies Need Cloud Computing | Part 1 - July 22, 2012
- Web Designing Process | Strategic Planning | Part 1 - August 7, 2011