In a previous write-up I described how I was able to bring together RequireJS with Jasmine to create modular, testable applications. Now I'd like to describe taking it a step further and bringing BackboneJS into the mix.
Our dev shop has been slowly proliferating BackboneJS applications over the last year or two. Personally, I like the structure BackboneJS provides without being overbearing and over-prescriptive in how your applications should be built. It gives just enough skeleton and event and routing to be useful without you having to constantly battle writing your app the way BackboneJS's authors want you to.
Let's see how we can get BackboneJS running inside of a RequireJS modular framework and then test the result using Jasmine and SinonJS.
The goals for this write-up are:
- [Descr