re: Why I LOVE KnockoutJS VIEW POST

FULL DISCUSSION
 

Just saw this post. I work quite a bit with Knockout on a somewhat older application. I must say that the MVVM paradigm took a little getting used to coming from an ASP.net MVC background, but it's got its benefits. It's lightweight and pretty powerful at what it does, if you understand the pattern, it scales incredibly well, and IMO is overlooked. I've only been working with it for a couple of months at this point on a project I was moved onto, but it's growing on me.

 

Could not agree more. Learning data-driven UI's, coming from a declarative world like jQuery is really tough. It takes some getting used to. Especially avoiding the temptation to pollute your view models with jQuery selectors, thus violating the MVVM principles. I ended up becoming an expert on Knockout and helped train some of our team how to use it properly. Two years ago I built an entire POS application using it, and we didn't experience any performance issues whatsoever. So long as you use components, deferred updates and ko.pureComputed (instead of ko.computed, it will perform amazingly. It's not a popular library (intentionally not calling it a framework). But it's f***ing awesome!

code of conduct - report abuse