News for hackers. Stuff that matters.
Re:Ask HN: What is the best alternative to Angular JavaScrip... by amalag on Monday December 01, 2014 @09:50AM (#8681259)
Do you do databinding? I like KnockoutJS too, but to me it is purely limited to making a page more interactive, not much with back-end integration.
Re:Ask HN: What is the best alternative to Angular JavaScrip... by jdc0589 on Monday December 01, 2014 @10:27AM (#8681483)
Knockout doesn't have built-ins to wire up UI actions automatically to CRUD calls, but the portion of that you end up having to implement is usually extremely small.

As far a wiring up objects to knockout observables you have two options:

1) use the mapping plugin. I tend to stay away from this, as it makes everything on objects observable. Not bad per-se, but I like more control.

2) define your own model...its easy: https://gist.github.com/jdc0589/c48c2355302390ad954b

Re:Ask HN: What is the best alternative to Angular JavaScrip... by tgibson on Monday December 01, 2014 @09:58AM (#8681307)
My team does data-binding with it via its mapping plugin. It's very powerful to use if you're working with json data to/from your server.