Re:Agility.js - Javascript MVC for the "write less, do more"...
by rufugee on Friday July 22, 2011 @04:02PM
(#2794964)
I kind of like that idea as well, although the escaping is a little ugly. The purist in me wishes I was always dealing with objects which knew how to display themselves and behave. Then I'd simply be an object arranger/orchestrator and life would be simple. What is wrong with this approach really?
There's no need to go around multiple HTML/CSS/JS files looking for the ids/classes I need to maintain. It's all right there.
(I agree that the need for a backslash is annoying, but the tradeoff is favorable in my opinion).
That being said, you don't have to use in-object CSS, and very soon we'll be relaxing the HTML requirement as well.