• Uncategorized
17 February 2008

Advantages & Disadvantages of AJAX

Although there are many advantages of using Ajax technology, but there are as well some disadvantages of using this technology. The primary reason of using the Ajax technology is due to the interface. Because the application using Ajax is operate more like as compared to the standalone program. In the normal pages, end users will have to submit a button if they want to refresh the page. Following are some advantages and disadvantages of using Ajax technology.

Advantages:

1. XMLHttpRequest - Can make requests to pages not set up for AJAX Can set/get all HTTP headers Can make HTTP requests using any type (GET, POST, PROPFIND, and so on)Supports full control over POST requests, allowing for any type of data encoding

2. IFrame - Can make POST and GET HTTP requests Supportes all modern browsers Supports asynchronous file uploads

3. Cookies - Supports the largest number of browsers Few implementation differences between browsers

Disadvantages:

1. XMLHttpRequest - Requests ActiveX to be enabled in IE 5 and 6 Is only available in newer versions of Opera and Safari Has small implementation differences between browsers
2. IFrame - Prohibits synchronous requests Server pages must be designed to work with IFrame requests Has implementation differences between browsers Can leave extra entries in browser history (depends on browser and implementation) All request data is URL-encoded, increasing request size
3. Cookies - Prohibits no synchronous requests Doesn’t work with large requests/results Requires server pages to be designed to work with cookie requests Requires polling on the client Can make only GET HTTP requests.

Tags:

This entry was posted on 17 February 2008 at 10:29 AM and is filed under Uncategorized. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

One comment

1. 
NewToYou

This post is skillfull knowledge for users like me.

3 March 2008 at 8:11 PM

Leave a reply

Name (*)
Mail (will not be published) (*)
URI
Comment