by nerd_in_rage · 14y ago · 0 comments
Backbone... I just don't get it. It seems like there's too much complexity. I'm mainly a back-end developer, so perhaps it's just me.
Later I discovered Knockout and in 2 hours, I was up and running, and it never got in the way so far.
I can only encourage people to at least try the tutorials, it will be time well spent:
> It seems like there's too much complexity
Backbone helps you to do the things you understand. Knockout let's you do things you don't necessarily understand.
Sometimes black-box approach is OK. Sometimes not.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.
It was much more pleasurable to work with when it was no longer magical.