Friday, September 2nd, 2005

addEvent() considered harmful

Category: Articles

addEvent() considered harmful is an interesting entry that delves into the world of events and JavaScript.

Are there differences between the W3C and Microsoft event registration models?. Yuppers.

The article discusses:

  • Unlimited event handlers
  • Avoiding memory problems in IE
  • The difference between addEventListener and attachEvent
  • addEvent() and a foldout menu

We do have libraries that help abstract these things away. Dojo has a nice, rich, event model. Prototype has support too. And TwinHelix has a humble AddEvent Manager

Posted by Dion Almaer at 1:50 am
Comment here

+++--
3.3 rating from 8 votes

Comments Here »

Comments feed

Leave a comment

You must be logged in to post a comment.