Sneaky Abstractions

Subscribe to my Feed, follow me on , recommend me on Working With Rails or see my code on GitHub

Unobtrusive JavaScript with Rails

Posted on January 17, 2008 00:01 Tagged with javascript.

Just finished an article about writing unobtrusive JavaScript with Rails. The title is a bit misleading, as it’s not that much about Rails, and it’s not about writing unobtrusive JS per se. It’s more about how to structure the JavaScript and create reusable code and encapsulated elements from the HTML contents that know how to do things on their own and are aware of their context. That last sentence probably came out as “blah-blah-oh-look-at-me-i’m-so-clever-blah-blah”, but it’s actually pretty simple and very useful; trust me ;)

Klicken Sie hier, bitte

I wish that they'd swoop down in the country lane, late at night when I'm driving, take me on board their beautiful ship, show me the world as I'd love to see it