Unsuck your backbone
Codemania
I gave a talk at Codemania called Unsuck your backbone. It was a lot of fun, and it went on to hit 58k+ views on Speaker Deck and the front page of Hacker News.
The purpose of the talk is to introduce some simple architectural patterns that you can use in your large JavaScript applications to help you achieve a scalable code base.
The general gist is:
- Backbone is awesome, but scaling it is hard.
- MVC is a presentation pattern, and if we are to scale our JS apps we need to look beyond it.
- People have been using composite application architecture successfully when building desktop applications for a long time now, so can we do the same with JavaScript apps?
- We go through some of the concepts behind modules and application objects and patterns, pub/sub, and how the interaction between them might work.
- Then we introduce Marionette.js as a set of extensions to Backbone which allow you to achieve a composite application architecture.