What are the advantages and Disadvantage of Ajax?
Kumar Bhimsen
AJAX Advantages 1 )Speed Reduce the server traffic in both side request. Also reducing the time consuming on both side response. 2) XMLHttpRequest XMLHttpRequest has an important role in the Ajax web development technique. XMLHttpRequest is special JavaScript object that was designed by Microsoft.. 3) Asynchronous calls AJAX make asynchronous calls to a web server. This means client browsers are avoid waiting for all data arrive before start the rendering. 4) Form Validation This is the biggest advantage. Form are common element in web page. Validation should be instant and properly, AJAX gives you all of that, and more. 5) Bandwidth Usage No require to completely reload page again. AJAX is improve the speed and performance. Fetching data from database and storing data into database perform background without reloading page.AJAX Disadvantages 1. AJAX application would be a mistake because search engines would not be able to index an AJAX application.2. Open Source: View source is allowed and anyone can view the code source written for AJAX.3. ActiveX requests are enabled only in Internet Explorer and newer latest browser.4 The last disadvantage, XMLHttpRequest object itself. For a security reason you can only use to access information from the web host that serves initial pages. If you need to fetching information from another server, it's is not possible with in the AJAX.
Following are the advantages of Ajax: 1. Bandwidth utilization – It saves memory when the data is fetched from the same page. 2. More interactive 3. Speeder retrieval of dataDisadvantages of AjaxFollowing are the disadvantages of Ajax: 1. AJAX is dependent on Javascript. If there is some Javascript problem with the browser or in the OS, Ajax will not support 2. Ajax can be problematic in Search engines as it uses Javascript for most of its parts. 3. Source code written in AJAX is easily human readable. There will be some security issues in Ajax. 4. Debugging is difficult 5. Increases size of the requests 6. Slow and unreliable network connection. 7. Problem with browser back button when using AJAX enabled pages.