Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Ajax Advantages and Disadvantages of AJAX

Related Tutorials


 
 

Share on Google+Share on Google+

Advantages and Disadvantages of AJAX

Advertisement
XMLHttpRequest - It is used for making requests to the non-Ajax pages. It supports all kind of HTTP request type.

Advantages and Disadvantages of AJAX

     

Advantages:

  1. XMLHttpRequest - It is used for making requests to the non-Ajax pages. It supports all kind of HTTP request type.
  2.  
  3. IFrame  - It can make requests using both POST and GET methods. It supports every  modern browsers. It  supports asynchronous file uploads
  4. Cookies - In spite of  implementation difference among browsers it supports large number of browsers
  5. The interface is much responsive, instead of the whole page, a section of the page is transferred at a time.
  6. Waiting time is reduced
  7. Traffic to and from the server is reduced.

Disadvantages:

  1. XMLHttpRequest -In the older version of IE (5 & 6) ActiveX to be enabled, this feature is available in new browsers and latest version of few. 
  2. IFrame - Requests have to be asynchronous. The design of the Server pages must be compatible with IFrame requests  There is an implementation difference among different   browsers. Unnecessary history records can be left on the history record of the browser. Request size is increased due to the fact that data is URL-encoded.
  3. Cookies - It prohibits no synchronous requests, it does not cope with large 
    requests/results The server pages requires to be designed to work with cookie requests.
Advertisements

If you enjoyed this post then why not add us on Google+? Add us to your Circles



Liked it!  Share this Tutorial


Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: December 1, 2009

Related Tutorials

Discuss: Advantages and Disadvantages of AJAX  

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Comments:1
paul
May 15, 2012
what is Diffarance betwween Ajax And Jqury

what is Diffarance betwween Ajax And Jqury?
DMCA.com