160 likes | 177 Views
Davis Dai. AJAX. Introduction. Acronym for “asynchronous JavaScript and XML” Combination of various technologies Was not developed as an official standard It came to be as a way of thinking about the architecture of web applications utilizing certain technologies. History.
E N D
Davis Dai AJAX
Introduction • Acronym for “asynchronous JavaScript and XML” • Combination of various technologies • Was not developed as an official standard • It came to be as a way of thinking about the architecture of web applications utilizing certain technologies
History • 2003 – Idea first conceived by Greg Aldridge • 2005 – Termed AJAX by Jesse James Garrett • 2006 – OpenAjax Initiative • 2006 – OpenAjax Alliance
OpenAjax Alliance • Began as the OpenAjax Initiative • Industry group formed to facilitate development • Mainly addressing issues that require coordination among AJAX-using organizations • Voluntary contribution
Specs – Composition • Presentation – X/HTML and CSS • Dynamic display of and interaction with data – Document Object Model (DOM) • Interchange of data – XML • Manipulation and display of data – XSLT • Asynchronous communication – XMLHttpRequest • Central link – JavaScript
Specs – Presentation X/HTML CSS
Specs – DOM • Cross-platform • Language-independent • Convention for representing and interacting with objects in X/HTML and XML documents
Specs – XSLT • Extensible Stylesheet Language Transformations • Transforms XML into XHTML or other XML documents
Specs – XMLHttpRequest • Communicate with server from inside web page • Update web page with new data without reload • Request and receive new data from server after page load • Communicate with server in background
Specs – JavaScript JavaScript Java
Mainly used for: Dynamic and interactive web (site/app) development.
Examples AjaxDaddyw3schools.com AJAX Example
Advantages • Interoperability • Usability • Speed • Reduced network/server load
Disadvantages • Implementation/ Maintainability • Privacy/Security
Conclusion • Good Idea • Will remain in practice for a long time