11
Instructor, Dr. Khalili Bahram Jeevan Kumar Gogineni

Ajax

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: Ajax

Instructor,

Dr. Khalili Bahram

Jeevan Kumar Gogineni

Page 2: Ajax

History of Web ApplicationsWhat is Ajax?Two real Applications of AjaxWhy Ajax in Web Applications?Different Technologies in AjaxHow each Technology interacts in Ajax

ApplicationsImportant Notes about Ajax

Page 3: Ajax

The fundamental purpose of all web applications is to facilitate the completion of one or more tasks.”

User at browser interacts with application at Web Server

Web Server Application sends HTML to Web user agents for human display using HTTP.

Using traditional methods, the whole content would have to be reloaded on every request.

Page 4: Ajax

AJAX is Asynchronous JavaScript And XMLAjax is not a new programming language but only

a new technique which combines mature programming languages for web applications.

Ajax Technologies to improve web application responsiveness, performance as well as interactivity.

Ajax applications are used to build Rich Internet Application’s (RIA).

The Rich Internet Application’s can also be created using Adobe Flash, JavaFX and Microsoft Silverlight.

Page 5: Ajax

GmailGoogle MapGoogle Suggest Page

The Future Application will follow this pattern. http://www.dewspot.com/

http://monket.net/wiki-v2/Main_Page

Page 6: Ajax

In Ajax applications, page reloading is not required. Ajax minimizes the Network traffic because it just

requests what the user needs instead of the whole document.

Ajax makes the web applications look like a normal desktop application.

Terrific Interaction.Ajax application’s generally have higher response time

than Traditional HTML applicationsIt was worth mentioning that Ajax works across

platforms and it works regardless of any platform because it uses only basic languages like HTML, Java etc.

Page 7: Ajax

Java ScriptXMLHttpRequestDOMXHTML & CSSXML & XSLT

Page 8: Ajax

XMLHttpRequest –For Asynchronous Communication

DOM – Dynamic Display & Data InteractionXHTML & CSS – Look on the BrowserXML & XSLT – For Data ProcessingJava Script - Gets all these Technologies

together

Page 9: Ajax

The technology was brought in early 1990’s and was used to full extent only from mid 2000’s.

Google was the one which spotted this technology and used in different applications like Gmail, Google Maps, etc which provided user interface that was much more like a web application.

Old applications like Calendar applications are all now getting converted in to Ajax applications.

Security aspects in Ajax and normal web applications are same and which needs a good focus on.

Page 10: Ajax

Do we only need JavaScript for Making Ajax Applications:

No VBScript, .NET etc. also be used.Do we only need XML for data transfer and

Manipulation in Ajax Applications: No, JavaScript Object Notation (JSON) etc.Can Rich Internet Applications are only built with

Ajax. No. Adobe Flash, JavaFX and Microsoft Silverlight. So Don’t mention as Acronym AJAX but as term

Ajax.

Page 11: Ajax