3 ms·
Apples and oranges. They address different areas, and so you'll combine them with different other code to fill in the gaps. Then can even be used together (see
by vidarh 14y ago
Apples and oranges. They address different areas, and so you'll combine them with different other code to fill in the gaps.
Then can even be used together (see, e.g., knockback.js which combines Knockout data binding with Backbone) to complement each other.
All you're really complaining about seems to be lack of data binding in Backbone. So you pick your preferred data binding mechanism and plug it in.
- hasenj 14y agoIn theory they are different, but in reality people use backbone because they think it will help them reduce the bloat and mess in their code, when in fact backbone will not help with that.
- vidarh 14y agoReally? My experience is that it does. So is the experience of many others. Data binding was far down the list of issues I've needed to fix in the places where I've experimented with Backbone. For data binding there's tons of alternatives that co-exists nicely with Backbone, including Knockout via Knockback, or Rivets, or any number of modules written specifically to work with Backbone - the choice of data-binding mechanism is orthogonal to the choice of using Backbone or not.
- colin_jack 14y agoWould be interested to hear more about what you mean here?