Infrequently Noted

Alex Russell on browsers, standards, and the process of progress.

Comments for "Action Oriented Programming"


Why is it everyone seems to get excited about creating new terminology for something which has been around for a while? You know like Web 1.0, Web 2.0, etc.

And now JS get's the same trite treatment when terminology already exists which can be applied in large part to what JS is all about to a degree. Though a relatively new term, Aspect Oriented Programming neatly summarises what the new JS libraries and their uses: "It encapsulates behaviors that affect multiple classes into reusable modules." (http://www.developer.com/design/article.php/3308941)

by jbot at
jbot:

Whoa, dude, chill a bit. I was just trying to relate a story, not invent a term. We (the Dojo community) know all about AOP (and its grandparent meta-object protocols). AOP isn't even that new.

Incidentally, Dojo was one of the first libraries to provide support for unified AOP (via dojo.connect()) for DOM and JS events alike. Due to the performance hit of providing around and before advice, Dojo 0.9+'s dojo.connect only implements after advice but you can get all of the previously supported advice types via dojox.lang.aspect.

Regards

by alex at