Thomas Fuchs
Hi, I'm Thomas Fuchs. I'm the author of Zepto.js, of script.aculo.us, and I'm a Ruby on Rails core alumnus. With Amy Hoy I'm building cheerful software, like Freckle Time Tracking and Every Time Zone and write books like Retinafy.me.
   Want me to speak at your conference? Contact me!

Add a tip to DOM Monster and win a seat for HTML5 Mobile Pro

January 12th, 2011

ONLY TODAY, January 12, 2011! If you submit a pull request on GitHub for DOM Monster today we’ll include you in a draw for a free seat for our HTML5 Mobile Pro workshop (either this Friday or any future dates for it!).

What’s a useful patch? Any patch that enhances the structure of the DOM Monster to make easier to add more tips, or additional tips for the DOM Monster. Here are some suggestions:

  • Look for external webfont service and advise against them (serving fonts yourself is probably faster and you don’t suffer from downtimes)
  • Look for stats scripts that are included in HEAD instead of the BODY
  • Provide pointers that JavaScript can by loaded in parallel in some browsers (async/defer attributes)
  • Plug into popular JavaScript libs to see how many event listeners are active and give some warnings if there are too many, or too many nested event listeners (e.g. use event delegation instead)

There are many, many more possibilities of course. I’m looking forward to see what you come up with!