Advantages and disadvantages of an ajax based client application


Published on

Conduct a study regarding advantages and disadvantages of an Ajax-based client application. Minimum two case studies will be addressed (at least one regarding the interaction between users and specific handheld devices).

Published in: Technology
  • Be the first to comment

  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Advantages and disadvantages of an ajax based client application

  1. 1. Advantages And DisadvantagesOf An Ajax-based Client Application Irinel Bucur Andreea Bucur
  2. 2. What is Ajax?• Ajax (also AJAX; an acronym for Asynchronous JavaScript and XML) is a group of interrelated web development methods used on the client-side to create asynchronous web applications.• Despite the name, the use of XML is not needed (JSON is often used instead), and the requests do not need to be asynchronous.
  3. 3. A little history• In ‘90s, most websites were based on complete HTML pages;• In ’95 when Java Applets were introduced, Asynchronous loading of content became practical;• In ‘96, Internet Explorer introduced IFRAME element which enables asynchronous loading as well.
  4. 4. A little history – Thanks to Microsoft• In April 2000, Microsoft patented the basic Ajax technology, granted in 2006.• In ‘99, Microsoft created XMLHttp ActiveX control which was adopted later by Mozilla, Opera, Safari as XMLHttpRequest JavaScript object.• In 2006, W3C released the first draft for XMLHttpRequest specifications in order to create an official web standard.
  5. 5. Traditional vs. Ajax model• While the server isdoing its thing, what’sthe user doing?
  6. 6. Traditional vs. Ajax model - 2
  7. 7. Transferred data• Merrill found a 61% improvement due to the use of AJAX.• AJAX application transferred on average 27% of the bytes that the traditional HTML application transferred.• White reported a 73% performance increase for bytes transferred and 16% increase in server generating query. * Smullen - White reported a 73% performance increase for bytes transferred – March 2008 (
  8. 8. Advantages• Source code can be very well structured.• 73% performance increase in terms of used bandwidth.• Maintain only one server-side code for Mobile and other browsers.• Maintenance costs are cheaper.• New server side developments are easy to implement.• Ajax source code can be tested automatically.• User input can get server side validated on the fly.
  9. 9. Disadvantages• High costs to implement the solution.• Server load is increased by 16%.• Deployment is not very fast since it may involve lots of scripts to get uploaded.• New programmers needs long training period.• Experienced designers are needed.• A small change in look and feel may not be all the time easy and fast to implement.• Costs with the servers hardware may increase.
  10. 10. Questions?Questions?
  11. 11. Thank youThank you!