AJAX stands for Asynchronous JavaScript and XML.It is the use of the XMLHttpRequest object to communicate with servers. The Ajax was publicly used on 18 February 2005 by Jesse James Garrett. Mainly we are creating interactive web applications.
The differences between AJAX and JavaScript are given as follows :
AJAX sends request to the server and will not wait for the response.
It will allow other operations on the page before it get response of previous request; whereas, JavaScript make a request to the server, will waits for response and
will not allow other operation on the page during that time.
In AJAX, the page will not get refreshed for downloading the whole page while JavaScript manages and controls a Web page after being downloaded.
By using AJAX we can minimize the overload on the server because the script needs to request once while JavaScript posts the request that updates the script each time.
The server-side framework facilitates the developers to develop Ajax functionality, without gaining much knowledge of JavaScript.
This framework supports server controls and components as well as the drag and drop features.
This framework is usually preferred when you required to rapidly ajaxify an asp.net web page. The drawback is that a round trip will take place to the server to
execute a client-side action.
The Client-Side Framework allows you to build web applications with rich user-interactivity as that of a desktop application.
It includes a set of JavaScript libraries, which is not dependent from ASP.NET. The functionalities of this library are enhanced in every release.
User send request from a browser where JavaScript is enabled. XMLHttpRequest object receives call and sent it to server. Server retrieves data and sends XML or JSON data back to HMLHttpRequest callback function and data is shown to user on browser.
UpdateProgress control shows the progress for all partial-page updates on the page. You can use an UpdatePanel control for every UpdateProgress control.
There is only one ScriptManager control in one page. It registers ajax library scripts for that page. It also creates proxies for asynchronous web service call.
As mentioned above there is only one ScriptManager control in one page but the page can have multiple ScriptManagerProxy controls. If you have the ScriptManager in master page which will go across all pages, you cannot add another ScriptManager to underlying pages, instead ScriptManagerProxy control would be added to those underlying pages otherwise the page would show error.
MooTools : It is one of the popular JavaScript toolkits which is primarily used for creating visual effects.
Google Web Toolkit (GWT) : It enables developers to create rich Ajax applications using Java.
Dojo Toolkit : It is most popular toolkit and used in large number of applications. It is a modular JavaScript toolkit which is distributed under an open-source license. Dojo toolkit includes many user interface effects, widget APIs, drag and drop AISs etc.
Yahoo User Interface(YUI) : YUI library is an open source JavaScript framework and is used to make interactive applications.
Spry : This framework was developed by Adobe. It consists of animation and visual effects components, a data binding component, and a framework to crate widgets.
It is a web application which has many characteristics of desktop application software. It has quick response time and many advanced functions. An RIAis browser dependent or require browser plugin or a virtual machine to deliver user application.
The different types of real-time applications include security authentications which can be applied for the AJAX web applications on the server side and client side as well. XML in AJAX is least used whereas the JSON is the most used data format for the exchange of information across different sources. AJAX also provides the feature of fetching resources using Fetch API of XMLHTTPRequest object.
JavaScript closures are used to handle such synchronous requests. Firstly functions are built and then parameters (back function and URL) to corresponding functions are selected with the use of Closures and pass to AJAX URL Objects.
RegisterClientScriptBlock : The script is specified as a string parameter.
RegisterClientScriptInclude : By setting the source attribute to a URL that point to a script file.
RegisterClientScriptResource : specifies Resource name in an assembly. The source attribute is automatically populated with a URL by a call to an HTTP handler that retrieves the named script from the assembly.