I’ve been building large scale applications in Backbone for about 8 months now. In that time I’ve used throax as well as building custom solutions in backbone.
Last night, I live coded the creation of a demo backbone framework similar in features to Thorax. I’m going to walk you through how I’ve solved architectural problems in contructing a large scale backbone framework.
When building a large scale Backbone, there are several consderations to consider.
* How are we going to have templates load? Inline html declarations in the views do not scale
* how do we handle render?
* how do we handle child views?
By default, backboneView.render() is a noop. Its meant to be overidden. Backbone.Events gives us a nice set of methods to allow Backbone objects to listenTo() events off each other, However, the actual bindings and callbacks are left to the implimenter.
Your new post is loading...