- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
The Pros and Cons of Using Ajax
Ajax is a set of web development techniques using many web technologies on the client-side to create asynchronous web applications. With Ajax, web applications can send and retrieve data from a server asynchronously without interfering with the display and behavior of the existing page.
Any other technology Ajax also has its own pros and cons. Let's look at some of those.
Pros −
Allows applications to render without data and fill data as the application gets it from the server.
Gives platform independence to application developers
Faster page renders
More responsive applications
No rerenders of whole pages are needed to update only a single area.
Cons−
Any user whose browser does not support JavaScript or XMLHttpRequest, or has this functionality disabled, will not be able to properly use pages that depend on Ajax.
Multiple server requests need more data consumed at the client-side.
Failure of any one request can fail the load of the whole page.
Browsers with JS disabled will not be able to use pages using ajax.