31 points · by tipiirai · 13y ago · 19 comments
But I'm on board with the general concept here and I'm not sold on Ember or Angular - they don't seem to speed up development or prevent bugs as much as they should, per kb downloaded to the client. Sometimes all you need is plain-old jQuery code, with a well thought out and structured API.
> Ractive.js is designed to have as few surprises as possible – no mysterious $scope.$apply()
How about Knockout.js? http://knockoutjs.com/
<button data-bind="click: function(data, event) { myFunction('param1', 'param2', data, event) }">
Feels a bit strange to define functions on the HTML code.
http://minimul.com/should-i-build-an-MVP-using-a-client-side...
It's similar to jQuery custom events, except that we use our own event system so we can get rid of the DOM specific features – such as the jQuery.Event object.