3 ms·
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.
by amalag 12y ago
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.
- tgibson 12y agoMy 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.
- jdc0589 12y agoKnockout 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 https://gist.github.com/jdc0589/c48c2355302390ad954b