News for hackers. Stuff that matters.
Re:Knockout v3.0.0 released by hardwaresofton on Friday October 25, 2013 @09:53AM (#6611573)
If you like frameworks that do one thing, and one thing well, then you'll like knockout. Amazing data-binding system
Re:Knockout v3.0.0 released by prottmann on Friday October 25, 2013 @10:09AM (#6611669)
But for only one thing i would not use a framework, a library like http://ractivejs.org is enough for that.
Re:Knockout v3.0.0 released by dminor on Friday October 25, 2013 @11:50AM (#6612290)
That looks pretty similar to Knockout - I don't think you can really claim that one is a library and the other a framework.
Re:Knockout v3.0.0 released by dodyg on Friday October 25, 2013 @12:15PM (#6612485)
Ractive.js just cares about the view - everything else is up to you.
Re:Knockout v3.0.0 released by dminor on Friday October 25, 2013 @05:07PM (#6614654)
Yes, but the same is true of Knockout - it has no server-side ajax functionality. I'm looking at the code on the example pages and it's solving essentially the same problem as Knockout (there's even a shout out to Knockout on the homepage).

The main difference seems to be that in Knockout has 'observables' that are part of your view model, whereas with Ractive you interact with your view model via Ractive's functions.

Re:Knockout v3.0.0 released by hardwaresofton on Friday October 25, 2013 @05:03PM (#6614619)
Sorry I think of knockout as more of a library than a framework. It's called a framework (and often the smallest/lightest one), but most of the real work is really only done in one or two places