News for hackers. Stuff that matters.
Re:Why Angular, Ember, or Backbone don't work for us. by lauripiispanen on Tuesday September 17, 2013 @06:21AM (#6398460)
"I want two-way binding only, but I'm forced to take the whole framework. There is too much overhead for me. I hope they will make the data-binding a separate piece and make it simpler."

How about Knockout.js? http://knockoutjs.com/

Re:Why Angular, Ember, or Backbone don't work for us. by tipiirai on Tuesday September 17, 2013 @06:30AM (#6398489)
Looks decent. With a quick look the the binding system looks simpler than in Angular and the docs are not blowing up. They openly love jQuery. Much closer to my taste. I picked up the 3 frameworks on my blog entry because they seemed to be the most talked about. Have to keep an eye on this.
Re:Why Angular, Ember, or Backbone don't work for us. by tipiirai on Tuesday September 17, 2013 @06:39AM (#6398524)
This example from the docs seems quite heavy:

<button data-bind="click: function(data, event) { myFunction('param1', 'param2', data, event) }">

Feels a bit strange to define functions on the HTML code.

Re:Why Angular, Ember, or Backbone don't work for us. by lauripiispanen on Tuesday September 17, 2013 @07:10AM (#6398598)
If you look at the examples above it, they contain references to functions in scope. This particular example demonstrates that you can also do custom binding if you wish. Most often you don't.