why do many developers use ajax in their applications.

Asked 6 years ago
Viewed 672 times

1 Answer


0

The Ajax (Asynchronous JavaScript and XML) is a method of building fast and dynamic interactive web applications. Ajax is a client-side script that communicates to web server/database without the need for a postback or a complete page refresh. Ajax combines several programming tools including JavaScript, dynamic HTML (DHTML),(XML). In other words we can say Ajax is “the method of exchanging data with a server, and updating partially of a web page – without reloading the full page.” Ajax is a JavaScript techniques used to communicate to a web server dynamically without necessarily loading pages.
Reason of why use Ajax
There are 3 reason of using Ajax in web applications:
Callbacks: Ajax is used to perform a callback, making a fast round trip to and from the server to retrieve and/or save data without posting the entire page back to the server. Without performing postback and send all form data to the server.
Making Asynchronous Calls: Ajax allows you to make asynchronous call to the web server/database. The Ajax allows the client browser to avoid waiting for all data to arrive before allowing the user to act once more.
Increased application Speed: The main reason of Ajax is to improve the speed and performance of a web application. For example: The user rates a blog and their personal rating for that blog will be saved to their database without waiting for the page to refresh or reload. These blog ratings are being saved to their database without posting the entire page back to the server.

answered 6 years ago by SQL Tutorials Point

Your Answer