|Developing Backbone.js Applications|
Author: Addy Osmani
Chapter 3 is where we first start using Backbone.js to build a simple example. The big problem is that there really is no preparation for this and no "bigger picture". You are presented with code and the main explanation of the code is in the comments. There is no real discussion of how the code is created or how to think about working with Backbone.js. Instead you are expected to get the information you need by reading the code. If you like this sort of approach then you will find this a good boo. If you prefer something that gives you an overview and explains the principles then you will be less happy.
Chapter 4 is a more in-depth look at the example and you build a simple ToDo application. Then Chapter 5 presents a larger book library application, complete with a Restul api. On the way you also get to build the backend using Node.js and MongoDB.
The next chapter looks at Backbone.js extensions - MarionetteJS and Thorax and Chapter 7 runs through a set of common problems and their solutions.
Chapter 8 introduces the idea of modules using RequireJS and Asynchronous Module Definition. Next we have another chapter on creating an example app but now using modules. Chapter 10 explains how to create a multipage app. Chapter 11 introduces the idea of boilerplate modules with Grunt. Chapter 12 explains how to use Backbone.js with jQuery Mobile to create mobile apps.
The next three chapters are on tests and test driven app creation using three different test frameworks. First we have Jasmine, then QUnit and finally SinonJS. While test driven development is important, not everyone is committed to it and three chapters on three frameworks might seem like overkill.
After a short round out, that's the end of the book. However, it is worth taking a look at Appendix A where a simple MVC framework is developed. This has a lot to teach and once you have read it many of the features of Backbone.js become easier to understand. I would recommend reading it after Chapter 2 and before getting too deep in.
|Last Updated ( Sunday, 15 February 2015 )|