I've been working with alot of Ajax lately(this includes code and laundry :P) and just realized that i've been doing some unecessary code after reading this article. I think I got hooked so much with the Ajax-hoopla that I forgot that not everything should be done via Ajax.
Below is an outline of what Jack Herrington suggested.
- Polling on a timer when you don't need to
- Not inspecting the return results in the callback
- Passing complex XML when HTML would be better
- Passing XML when you should pass JavaScript code
- Doing too much on the server
Read more about this article here.
*Update: I did some research and found out that Michael Schwarz, the creator of Ajax.NET has also a great list of things to avoid in his article Top 10 Mistakes When Using Ajax. Great read.