Five Ajax Anti Patterns
Catching up on the Ajaxian Blog I found a post covering Jack D Herrington’s article on 5 Ajax anti patterns. The article covers 5 pitfalls of coding Ajax and reasons to avoid or at the very leats think carefully before implementing.
It’s a very well written article (IMHO) and worth a read.
Topics covered include:
- Invalid use of timers.
- Not inspecting 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.