Register now or log in to join your professional community.
All answers are almost correct in some ways. Main advantages of using Ajax are:
- User don't need to wait to permform another action while already performing an action.
- User may perform actions as many as it can.
- It enhances user experience.
- It reduces page load time to fetch an information for an action.
Following are few advantages of using AJAX !
for the user experience ajax methodolody is better to sort the data by display fewer, make user experience better through the application, almost make the application light & quick. make the code in each page less, so i like to use ajax in Web App and websites too.
AJAX is about updating parts of a web page, without reloading the whole page.
Better interactivityEasier navigation
Ajax Help to make the web application to be more frinedly with users and to make web like desktop
aplication and to reduce the postback or roundtrip in reqular web pages
as we know that ajax is combination of javascript and XML languages so all action or event it will bedone on browser clinet
ajax help to just update section of page note all the page will send to server
For better user experience and asynchronous communication with client to server and required data send and receive from client to server.
Better User Expereince and Less page refresh i think these are main advantages
Ajax is useful in certain situations such as when you want to update a specific part of the page, without the need to reload the entire page. so Instead of asking your server for a web page (HTML/CSS) you ask for data (JSON or XML) to be added in your page (DOM Manipulation). On the other side its great User Experience. imagine you are using Facebook chat and after each message the entire page is loading!! (like when navigate from the home page to your profile). Ajax are made from the JavaScript, you can make a simple ajax call with jQuery or any other framework such as AngularJS easily.
Its quick and less irritating for user.
As AJAX is a asynchronous request to the server from web browser , we can perform other executions afte passing the requset to the server. When it's response came it act like a separate thread and execute the code in its call back depending on status in the response without reloading the entire page.
The callback feature is very helpful in handling AJAX Response.