Académique Documents
Professionnel Documents
Culture Documents
Models
Technologies
Framework
Advantages / Disadvantages
Market Trends
APPLICATIONS TODAY
Desktop applications
It usually come on a CD and install completely on your computer.
The code that runs these applications resides on your desktop.
It is usually pretty fast, has great user interfaces and is incredibly dynamic.
Web Applications
It runs on a Web server and you access the application with your Web browser
It provides services you could never get on your desktop ( Amazon.com and
eBay).
Waiting for a server to respond, waiting for a screen to refresh, waiting for a
request to come back and generate a new page.
Improves performance
Real-time updates
Applets
Hidden Frames since mid-90’s.
Iframe
In 2005, Jesse James Garret wrote an article on AJAX
named “Ajax: A New Approach to Web Applications “.
CLASSIC WEB APPLICATION MODEL
AJAX WEB APPLICATION MODEL
REQUEST – RESPONSE MODEL
AJAX FLOW
AJAX – XMLHTTPREQUEST OBJECT
The keystone of AJAX is the XMLHttpRequest object.
The XMLHttpRequest object is used to exchange data with a server.
var xmlhttp;
if (window.XMLHttpRequest)
{// code for IE7+, Firefox, Chrome, Opera, Safari
xmlhttp=new XMLHttpRequest();
}
else
{// code for IE6, IE5
xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
}
AJAX FRAMEWORKS
Java frameworks
DWR (Direct Web Remoting).
Google Web Toolkit.
.NET frameworks
Microsoft Ajax Library(ALTLAS)
ColdFusion frameworks
AjaxCFC
ADVENETAGES
Increases interactivity
Save bandwidth
Mircosoft
AJAX.net(code-named Atlas)
Itwill work across any Web browser that supports AJAX
technologies
But it is not compatible with others(AJAX-style)
Others
Yahoo : give the user a feeling that they are no longer in a
browser
Oracle : Application Server 10g release 3, Support AJAX
Google : trogdor, an ajax webpage editor
REFERNCES
http://en.wikipedia.org/wiki/Ajax
http://www.w3schools.com/Ajax/
http://java.sun.com/developer/technicalArticle
s/J2ee/AJAX
http://computer.howstuffworks.com
http://en.wikipedia.org/wiki/Ajax_framework
Thanks