Ajax is great - if not overused
No doubt that Ajax can affect user experience to a large extent. We expect from Ajax applications to render parts of pages quickly and smoothly. However, excessive use of Ajax can make things go really bad.
A few days ago I wanted to filter out some content (let's say list of books) on one particular website. Site has a live filter for filtering content. By ticking checkboxes with categories you narrow your choice. So the story goes like this: initially, a paged list of books was displayed. I wanted to see only books from these categories: user experience, web development, ASP.NET, jQuery, and usability. Every time I checked a checkbox, new AJAX request was initialized and list was narrowed.
The problem was that each Ajax request lasted between 3 and 4 seconds. It's not difficult to calculate that it took me between 15 and 20 seconds to finish my filtering, which is very much indeed. Every time I clicked on the checkbox I was looking at Ajax progress indicator and knew that I will have to do it a few more times until I get the desired result. Doesn't sound good, isn't it?
What would be a solution? Simply add a button that would make just one Ajax request and filter data. Yes, this is one more click, but the whole operation would took only 3 or 4 seconds.

As I said earlier, Ajax is excellent thing which purpose is to improve the user experience in overall. If it is not the case, it is certain that you have failed somewhere.
So, one click more or 15 seconds more?
More articles in
Blog archive or
elsewhere