Ajax Anti-Patterns#

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.

Friday, March 23, 2007 5:46:24 PM (GMT Standard Time, UTC+00:00) #    Comments [0]  | 

 

All content © 2010, Keith Rull
On this page
This site
Calendar
<March 2007>
SunMonTueWedThuFriSat
25262728123
45678910
11121314151617
18192021222324
25262728293031
1234567
Archives
Sitemap
Blogroll OPML
Disclaimer

Powered by: newtelligence dasBlog 2.3.9074.18820

The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

Send mail to the author(s) E-mail

Theme design by Jelle Druyts


Pick a theme: