"Attentive" JavaScript
We've been discussing JavaScript patterns at work. It seems like the patterns that we're considering go step further than unobtrusive JavaScript. It seems like they could described better described by the word "attentive". As in the script is paying attention to what's on the page. It waits for the page to load and then wires up events automagically by listening for certain pre-structured elements.
This is a whole different style of coding to me. It has a lot in common with Domain Specific Languages, though. It could also be described as a declarative syntax for JavaScript based on structure of markup.
It's pretty nifty. I'm getting kinda pumped up.
This is a whole different style of coding to me. It has a lot in common with Domain Specific Languages, though. It could also be described as a declarative syntax for JavaScript based on structure of markup.
It's pretty nifty. I'm getting kinda pumped up.
