Re:Migrating a large JavaScript project from DOM spaghetti t...
by pserwylo on Sunday November 18, 2012 @05:51PM
(#4801983)
I'm not familiar with Knockout, but it sounds like my experience when we were getting into the Flex framework at work a couple of years ago. We thought the data binding was so magical, but once I started to work with it, I had a very good mental model of how the MXML/ActionScript compilers were doing their magic.
It was much more pleasurable to work with when it was no longer magical.
It's not really a "blackbox". It's quite easy to understand and extend too.
For instance, you can create your own custom bindings: http://knockoutjs.com/documentation/custom-bindings.html
This is about the only place where it gets low and dirty and involves you writing DOM manipulation code.