Re:Knockout: JS library for rich UIs, declarative bindings, ...
by martinkallstrom on Wednesday October 20, 2010 @07:55AM
(#1810800)
Would you give a brief description of how Backbone and Knockout fit together?
Re:Knockout: JS library for rich UIs, declarative bindings, ...
by csomar on Wednesday October 20, 2010 @11:34AM
(#1811600)
I didn't go throughout the frameworks, but I imagine this scenario:
Backbone is the main platform. You'll use it for pretty much everything except one thing "templating". Knockout will fit well with templating. The example that is present in the home page is what I think of. This will help separate the two processes. I'll have two different files reducing the complexity of each one. jQuery is the rescue when dealing with other DOM issues, animation and also AJAX.
I actually find it better to use Backbone, jQuery and Knockout together instead of heavy and bloated libraries like ExtJs and Cappuccino. These three libraries provides the necessary functionalities to build a medium sized JavaScript application. You'll have to take care of the design yourself, though.