Skip to content

Comment on Knockout: JS library for rich UIs, declarative bindings, and dependency tracking

Comments

I think this is huge. I say this coming from working with MVVM in .NET/WPF for the last year. I've worked with Javascript (ExtJS) before, but I always found it a pain in the ass to use.

MVVM promotes testing, while allowing developers to build simplistic and decoupled apps. I for one am pumped to have found this!

This testing point is spot on. Last night, I was getting killed with little bugs on some dynamic menu / tab widget where things got added and deleted and the active tab needed to move around smartly. Knockout allowed me to whip up 30 tests for the expected behavior and then make sure my view model worked correctly and had a decent API before turning to the actual view. With just a few commands I could bind this to the view and all the functionality worked flawlessly.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.