Tuesday 23 June 2015

Ajax Interview Questions

Is Ajax considered client or server-side scripting?

Ajax ( short for asynchronous JavaScript and XML) is a group of interrelated Web development techniques used on the client-side to create asynchronous Web applications

With Ajax, web applications can send data to and retrieve from a server asynchronously (in the background) without interfering with the display and behavior of the existing page. Data can be retrieved using the XMLHttpRequest object

If you are talking about ASP.NET AJAX , its both client side and server side. There is client side asp.net ajax framework that gets loaded in the browser with the help of .axd files and there is server side framework that receives the request, process it and sends the response back to the client/browser. 

If you are talking about just jQuery or JavaScript ajax , it's pure client side technology that let us send the request to the server without sending the entire page on the server.  

No comments:

Post a Comment