Re:Backbone has made me a better programmer
by whalesalad on Friday August 24, 2012 @07:36PM
(#4430353)
I'm so glad that this is the current top comment. Backbone apps are the most verbose and non-DRY apps in my experience. Tons of code duplication.
[ Parent
| on HN ]
Re:Backbone has made me a better programmer
by delambo on Saturday August 25, 2012 @11:13AM
(#4432247)
If you have code duplication/DRY problems, then Backbone is not your problem. You need to abstract common functionality and add mixins to Backbone.View.prototype.
In every backbone project that I have developed, the set of View mixins that I create are very specific to each project and the custom UI/UX I build. It would be a useless exercise to abstract all of my View mixins into some kind of opinionated framework, because I know my next project is going to look and behave differently.
That said, if you are working on a large project with some simple UIs/UXs and need some simple data binding, then you may want to check out an "ambitious" framework like ember.js. Backbone is a library that helps you organize large projects with a lot of complex and custom UI/UX.
Re:Backbone has made me a better programmer
by whalesalad on Saturday August 25, 2012 @12:37PM
(#4432470)
Do you have any examples of this? I'd love to see it.