Hacker News new | ask | show | jobs
by jemptymethod 4588 days ago
Do we really need either Angular's or htmlbars' (see slide 37) way of "decorating DOM elements with behavior" when it is so trivial with just ES5 and HTML? See this jsfiddle: http://jsfiddle.net/dexygen/nU8VK/ Give me a couple/three strong JS devs and I guarantee you I could take these simple building blocks (as well as spans with data- attributes, and innerHTML, instead of templates), and I could build out a framework way faster than either Angular or Ember.js and would validate as HTML5 to boot. Doubt me? I pretty much did the same thing for PHP; see http://dexygen.com/ria/#!/docs/jackrabbitmvc