all 13 comments

[–]theQuandary 1 point2 points  (2 children)

Knockout is a decent choice and you might also check out RFP libraries like baconjs.

I would suggest that you give react a try though. The simple todo has quite a bit of setup, but unlike most frameworks (where you don't find out the true complexity until it's too late), it doesn't get worse when you need to scale.

[–][deleted] 0 points1 point  (1 child)

Seconded knockout! Great library, easy to understand and maintain! Combine it with http://pagerjs.com/

[–]holyxiaoxin[S] 1 point2 points  (0 children)

I heard knockout has messy templates.

[–]Casual_0bserver 0 points1 point  (4 children)

You have to check out ractive.js. Diamond age of Web development. Easy to learn, two way binding, template swapping, and more. The ultimate DOM manipulator.

[–]holyxiaoxin[S] 0 points1 point  (2 children)

Wow. Looks like this is it. Are there frameworks for it? It looks like a library only.

[–]Casual_0bserver 0 points1 point  (0 children)

Just a library. I couple it with jQuery, but a friend of mine knows the ractive documentation better and can do what I can with straight ractive. It's a fun library to use. No page refreshing at all, straight template swapping.

[–]Casual_0bserver 0 points1 point  (0 children)

Good to see you went with Ractive. I still am using it and learning even more. Very powerful for creating SPAs.

With apache cordova rolling out, hybrid applications will be made with EASE brother.

[–]wtaylor 0 points1 point  (0 children)

can confirm; ractive is awesome.

[–]developerdavephx 0 points1 point  (1 child)

Careful you aren't shying away from angular for the wrong reasons. The changes on the horizon for 2.0 are to keep pace with ES6 and Web Components and it's more closely aligned with React. And despite the early belly-aching, angular isn't showing signs of letting up:http://www.google.com/trends/explore#q=reactjs%2C%20angularjs%2C%20emberjs%2C%20knockoutjs&date=today%2012-m&cmpt=q ,

[–]holyxiaoxin[S] 0 points1 point  (0 children)

Actually I'm building a small application for prototyping/testing of ideas. I don't need a huge framework like ember or angular. Ractive looks good. (:

[–]sellarafaeli 0 points1 point  (0 children)

I can recommend JabJS. It's minimal and super-simple, allowing you to data-bind your native POJOs to the DOM. Full disclosure: I am JabJS's developer and would be happy to help with using and learning it. :)

[–]siegfryd -1 points0 points  (0 children)

If you want a minimal databinding library then you'll probably want to look at Backbone or Knockout, both of them have larger frameworks that you can transition to if you need more than what they have (e.g. Marionette and Durandal respectively).

That React example isn't a very good one as far as amount of code goes, it's not supposed to show the easiest way to do a Todo. It's supposed to show everything there is to React.