|This article is an attempted rewrite of Ajax (programming).
It is a work in progress. Please do not edit it, except for minor edits. Thank you.
- In many cases, the pages on a website consist of much content that is common between them. Using traditional methods, that content would have to be reloaded on every request. However, using Ajax, a web application can request only the content that needs to be updated, thus drastically reducing bandwidth usage.
- Because only sections of pages need to be reloaded, Ajax allows for much more responsive web applications, giving users the feeling that changes are happening instantaneously.
- The use of Ajax can reduce connections to the server, since scripts and style sheets only have to be requested once.
- Dynamically created pages do not register themselves with the browser's history engine, so clicking the browser's "back" button would not return the user to an earlier state of the Ajax-enabled page, but would instead return them to the last page visited before it. Workarounds include the use of invisible IFrames to trigger changes in the browser's history.
- Dynamic web page updates also make it difficult for a user to bookmark a particular state of the application. Solutions to this problem exist, many of which use the URL fragment identifier (the portion of a URL after the '#') to keep track of, and allow users to return to, the application in a given state.
- The same origin policy prevents Ajax from being used across domains, although the W3C has a draft that would enable this functionality.
- Baekdal, Thomas (2005-02-20). "XMLHttpRequest Usability Guidelines". baekdal.com. Retrieved 2008-06-27.
- Ullman, Chris. "What is Ajax?". wrox.com. Retrieved 2008-06-24.
- Jesse James Garrett (2005-02-18). "Ajax: A New Approach to Web Applications". adaptivepath.com. Retrieved 2008-06-19.
- Wei, Coach (2008-05-19). "A Brief History of AJAX". Real-World AJAX. AjaxWorld Magazine. Retrieved 2008-06-24. Unknown parameter
- "Dynamic HTML and XML: The XMLHttpRequest Object". Apple Inc. Retrieved 2008-06-25.
- "The XMLHttpRequest Object". World Wide Web Consortium. 2006-04-05. Retrieved 2008-06-25.
- Merrill, Christopher (2006-01-15). "Performance Impacts of AJAX Development". Web Performance, Inc. Retrieved 2008-06-16.
- "The Advantages of Using AJAX". lunarpages.com. Retrieved 2008-06-26.
- "Advantages and Disadvantages of Ajax". Exforsys Inc. Retrieved 2008-06-26.
- Wroblewski, Luke. "AJAX & Interface Design". LukeW.com. Retrieved 2008-06-26.
- "Why use AJAX?". InterAKT. 2005-11-10. Retrieved 2008-06-26.
- "The Disadvantages of Using AJAX". lunarpages.com. Retrieved 2008-06-26.
- Edwards, James (2006-05-05). "AJAX and Screenreaders: When Can it Work?". sitepoint.com. Retrieved 2008-06-27.
- "Access Control for Cross-Site Requests". World Wide Web Consortium. Retrieved 2008-06-27.
- AJAX at the Open Directory Project.
- Ajax Tutorial with get, post, text and XML examples.
- Attacking AJAX Applications Presentation on Ajax Security issues given at the Black Hat security conference.