As javascript becomes more viable on your development team, be sure to check out Dojo’s support for AOP.
http://lazutkin.com/blog/2008/may/18/aop-aspect-javascript-dojo/
I had the pleaseure of meeting Eugene Lazutkin at the recent Dojo Dev Day hosted by Google. He’s very dedicated to Dojo.gfx and I’m happy to hear he’s working on Dojox.aspect.