Submit a post
Note: Only the first paragraph is shown on the front page and overly long paragraphs may be broken up.
22 June 2015
Writing maintainable code is not easy in any frameworks or libraries. The fact that Backbone.Js does not tie your hands makes your work even harder. Therefore, I will give you 10 tips on tidying up your Backbone code. While some of these advice apply to most applications written even without using Backbone, most of the fixes will take the structure of Backbone into consideration.
Sometimes you need to know whether a model/collection is interacting with the server or not. Backbone SOS (State Of Sync) can help you track this in a very decoupled way, by keeping the loading state where it belongs (inside your models and collections). [more inside]
A Backbone model with a twist: an immutable object map that exposes an RxJS observable. Good for React.
A look at why Bocoup chose Backbone for their client-side dev workshop. In short, Backbone is compact, popular, mature, and still a great choice.
Jeremy Ashkenas (of CoffeeScript and Backbone fame) with an interesting talk about transpilation and how it works at a technical level under the hood.
Perceived page load speed is critical, so how do Angular, Ember, and Backbone fare in terms of average first render times on the same app (using TodoMVC)?
Quick high level overview.
A well recorded 25 minute talk looking at the pain points HubSpot was having with their Backbone app and how Flux and React have helped.