文档介绍:1
Introduction to AJAX
Achievo University
Oscar Huang
黄义飞
2
Agenda
Overview
Ajax Development
Ajax Frameworks
Advantages &Disadvantages
Summary & Questions
3
Overview
What is Ajax?
History
Ajax Technologies
Ajax Applications
4
What is Ajax?
Ajax (Asynchronous JavaScript and XML), or AJAX, is a group of
interrelated web development techniques used for creating interactive
web applications or rich application. With Ajax, web applications
can retrieve data from server side asynchronously in the background
without interfering with the display and behavior of the existing page.
Data is retrieved using the XMLHttpRequest object or through the use of
Remote Scripting in browsers that do not support it. Despite the name,
the use of JavaScript, XML, or its asynchronous use is not required.
5
History
Wile the term Ajax was coined in 2005, techniques for the asynchronous
loading of content data back to 1996, when Explorer introduced
the IFrame element. Microsoft’s Remote Scripting, introduced in 1998,
acted as a more elegant replacement for these techniques, with data
being pulled in by a Java applet with which the client side could
communicate using JavaScript. In 1999, Microsoft created the
XMLHttpRequest object as an ActiveX control in Explorer 5, and
developers of Mozilla and Safari followed soon after with native version
of the object. On April 5, 2006 the World Wide Web consortium (W3C)
released the first draft specification for the object in an attempt to creat
an official web standard.
6
Ajax Technologies
The term Ajax e to represent a broad group of web technologies
that can be used to implement a web application municates with
a server in the background, without interfering with the current state of
the page. In the article that coined the term Ajax, Jesse James Garrett
explained that is refers specifically to these technologies:
XHTML and CSS for presentation
The Document Object Model for dynamic display of and interaction