Thursday, June 15th, 2006

Ajax anti-patterns

Category: Ajax, Usability

In this blog entry from Ed Burnette, he voices some opinions about what he calls “Ajax anti-patterns”, things that Ajax sites need to watch out for as they’re developing their sites.

Microsoft recently rolled out live.com, a beta Ajax home page, to mixed reviews. The interesting part to me in all this are the lessons that can be learned, not just for improving live.com, but for all Ajax enabled applications. In a candid article, team member Scott Isaacs dissects the problems they have identified so far. I’ll summarize the basic points here. Consider these Ajax anti-patterns, though you’ll find they are equally applicable to Java, .NET, and other runtime environments.

The five issues he lists are:

  • Chatty communication – lots of “chatter” back and forth between the server
  • Too much XML parsing – libraries to parse XML in the browser are still relatively slow
  • Loading everything before displaying something – don’t make the user wait if things are slow. give them something.
  • Rendering on the server – make good decisions as to where to render various page content
  • Over thinking the design – don’t use the old mentality of just a few releases, update often and in bits

Posted by Chris Cornutt at 7:14 am
6 Comments

++++-
4.3 rating from 41 votes

6 Comments »

Comments feed TrackBack URI

Ok I haven’t read the article yet.. so at the risk of being flamed..

I would dispute the comment about XML parsing. Dave Johnson did some benchmarking of XSLT versus other parsing techniques (JSON) and found that XML offers incredible performance boosts that you just couldnt achieve any other way. I’m not sure how Ed did his benchmarking, but this is definately not what we have seen. I think this should be examined by others before we reach a conclusion. Here is Dave’s take:
http://blogs.ebusiness-apps.com/dave/?p=45

Comment by Alexei — June 15, 2006

[…] I caught a post on ajaxian today talking about ajax ‘anti-patterns’, and the term caught my eye. Apparently Ed Burnette has coined the term referring to anti-patterns as things to watch out for while developing your ajax app. Chris Cornutt from ajaxian summed it up with this short list. […]

Pingback by true asynchronous requests and ‘anti-patterns’ at the miscellaneous ramblings of naterkane — June 15, 2006

Absolutely hilarious to read there issues with IE’s image caching. Be sure to read a comment by Eric van der Meer on why Microsoft thinks this is not a bug.

I just hate companies that through sheer market presence force all developers to work around the bugs in their products.

Comment by Berend de Boer — June 15, 2006

asd

Comment by asd asdf — June 16, 2006

“Over thinking the design – don’t use the old mentality of just a few releases, update often and in bits”
Right!
This has ever been my idea and it’s the (il)logical way to think in these times
:)

Comment by H5N1 — June 20, 2006

nice anti-patterns. :)

a question to 1.) “…and batch multiple requests…”

is there any ajax_”framework” out there that can batch multiple requests? (except my one ;) ) ?

tecM0

Comment by tecM0 — June 26, 2006

Leave a comment

You must be logged in to post a comment.