This is a single archived entry from Stefan Tilkov’s blog. For more up-to-date content, check out my author page at INNOQ, which has more information about me and also contains a list of published talks, podcasts, and articles. Or you can check out the full archive.

RailsConf Europe: Dan Webb on Unobtrusive JavaScript

Stefan Tilkov,

This was an extra session done to popular demand: Dan Webb talked about unobtrusive DOM scripting using JavaScript (which is a well-known approach to JavaScript development that adds behavior to DOM elements based on the classes and ids usually used for CSS). His talk made a lot of sense to me — he repeatedly advocated for building a working plain HTML/CSS application first and only afterwards add JavaScript and Ajax goodness as optional improvements later. He also talked the UJS Rails plugin, which makes this approach really easy.

Update: Code and Slides.