• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

Why AJAX?

 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Now a days there is a huge talk about AJAX. I would like to know what is the pros and cons of using AJAX in web development.

Thanks.
 
Ranch Hand
Posts: 290
Oracle Tomcat Server Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Irfan,
A little googling will help!
Ajax makes web applications more interactive. You can asych*ly make calls to server with out reloading the whole page.
Also look into DWR + Reverse Ajax.
Aryan
 
Ranch Hand
Posts: 1325
Android Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by Mohd. Irfan Khan:
Hi,

Now a days there is a huge talk about AJAX. I would like to know what is the pros and cons of using AJAX in web development.

Thanks.



Ajax is one of the way to cover HCI (Human Computer Interaction) in your web application.

Pros
1. No need to have pages reload.
2. Faster display of data.
3. Ability to provide more desktop like user interfaces.

All these point are available on this article by Jesse James Garrett.
 
author
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes the big win for Ajax is improvement of user experience in your web apps.

Some quick points:
-Ajax can run in any modern web browser (although there are some catches)
-Ajax can add new functionality only found in desktop apps before
-Improves the responsiveness of your web pages
-Reduce server load in some cases

Many chapters of "Enterprise Ajax" are devoted to this very subject so there is obviously lots to say
 
You'll never get away with this you overconfident blob! The most you will ever get is this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!