DotNetSlackers: ASP.NET News for lazy Developers

Sunday, December 19, 2010

AJAX and its ADVANTAGES

 In the 1990s, most web sites were based on complete HTML pages; each user action required that the page be re-loaded from the server (or a new page loaded). This process is inefficient, as reflected by the user experience: all page content disappears then reappears, etc. Each time a page is reloaded due to a partial change, all of the content must be re-sent instead of only the changed information. This can place additional load on the server and use excessive bandwidth.


Asynchronous JavaScript and XML(AJAX), formerly code-named as ATLAS, is an extension of ASP.NET for developing and implementing the AJAX functionality. ASP.NET AJAX includes both  client side and server side components that allow the developers to create Web application that are capable to update the data on a website without a complete reload of the page


Following are the advantages of using AJAX :

  • Asynchronous- Enables asynchronous calls to the Web server without making the users wait for the data.
  • Minimal transfer of data- Helps in sending only a part of the modified data to the Web server to minimize the network traffic and perform the operations quicker.
  • Minimal processing on the web server- Minimizes the processing on the Web sever as only the necessary data needs to be sent. Now, the server is not required to send a full page to the user.
  • Context- Reduces burden on the server by sending a request back to the server through the client-side script. AJAX-based application implement partial page post backs instead of full page post backs, which reduce the data traffic between the client and server. 

No comments:

Post a Comment