Asynchronous Java script And XML Technology Ajax Technology Asynchronous Java script And XML Technology
Agenda Introduction Classic Model vs. Ajax Model. Demo. Microsoft Atlas. Demo References.
Introduction What is Ajax. Technologies Ajax used.
What is Ajax? Ajax, shorthand for Asynchronous JavaScript and XML, is a Web development technique for creating interactive web applications.
Live Examples Google Suggestion Google Gmail. Google Maps. MS Outlook Web Access. Microsoft Virtual Earth.
Other ways to exchange data with server Invisible inline frames Netscape's LiveConnect Microsoft's ActiveX Microsoft's XML Data Islands Macromedia Flash Player Java Applets
XML , HTML , Plain text , JSON Technologies Ajax use XHTML (or HTML), CSS. marking up and styling information DOM (Document Object Module) accessed with a client-side scripting language The XMLHttpRequest object to exchange data asynchronously with the web server. XML,HTML, plain text or JSON as the format for transferring data between the server and client. XHTML CSS XMLHttpRequest XML , HTML , Plain text , JSON
XmlHttpRequest XMLHttpRequest is an API that can be used by JavaScript, JScript, VBScript and other web browser scripting languages to transfer and manipulate XML data to and from a web server using HTTP, establishing an independent connection channel between a web page's Client-Side and Server-Side.
Classic Model vs. Ajax Model. Structure. Event handling.
Classic WAM Structure To understand Ajax structure we should take a look at the classic web application model.
Ajax WAM Structure Ajax engine lays in client side to be as a communicate layer between client side and server side
Classic Application and Events Allows the page is reloading because the event will be fired from the server.
Ajax Web Application and Events In Ajax case the event will be called from the client side and handled by Ajax engine in the background.
Ajax Demo AjaxSession.Classic AjaxSession.Ajax
Microsoft Atlas What is Atlas? "Atlas" is a free framework for building a new generation of richer, more interactive, highly personalized standards based Web applications.
Microsoft Atlas features Cross-Browser. client-side JavaScript framework for easy script creation and reuse. super easy to use services from ASP.NET.
Atlas Demo AjaxSession.Ajax AjaxSession.Atlas
References www.Google.com www.xulplanet.com/references/objref/XMLHttpRequest.html www.w3schools.com en.wikipedia.org/wiki/Ajax_(programming) www.codeproject.com/AJAX/AJAXExplained.asp Atlas.asp.net