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.



english
español
Deutsch
français
Italiano
Português
русский










One comment
Beantworten