Degrader JavaScript library is Behaviour++

While I was explaining Behaviour to Mark Kraemer, he brought up and interesting issue related to attaching code to multiple DOM elements. This is an issue that is addressed by yet another JavaScript library. It is called Degrader, (.js source code) and it holds true to the intent of Behaviour (keep script out of markup). However, it is more flexible. Instead of having to explicitly declare code to run with a specific element, you can use regular expressions to match multiple elements (by searching ID values for DOM elements). This looks promising, but I need to play with it before I call it a Behaviour killa.


John at: 11:36 AM said...

Wow...I don't understand a word. But, it's very articulate!

Post a Comment

Aaron Hursman
Aaron Hursman is a passionate user-advocate who is lucky enough to do what he loves for a living. As a user experience architect, he applies user-centered design principles and techniques including user research, persona development, information architecture, storyboards, wireframes, prototyping, visual design, graphic design, interaction design, and usability. Aaron has a background in web development, enterprise applications, and the social web. At nGame, he is applying his craft to design and build the next generation of enterprise software. Aaron is available as a speaker and author upon request.
Disclaimer: The information in this website is provided "as is" with no warranties, and confers no rights. This website does not represent the thoughts, intentions, plans or strategies of my employer. It is solely my own personal opinion. Inappropriate comments will be deleted at the authors discretion. All instructions and code samples (if any, ever) are provided "as is" without warranty of any kind, either express or implied.