Summary

In this chapter, you have seen how to use Backbone to do some heavy lifting, allowing you to focus more on your application code. You have learned about the four Backbone abstractions and some common scenarios while testing applications developed with them.

I showed you the power of events, and how they make integration between different components much easier, allowing you to keep your models and Views in sync.

You have also seen how to take advantage of these powerful abstractions, and to write less code and fewer specs. You were also faced with the decision of writing simpler specs and to trust that Backbone implementations were correct.

By now you should feel comfortable in using Backbone to create a new single-page application, and I hope to have showed you how to think about testing applications that are built on top of frameworks. In the next chapter, we are going to see how to pack and minify the application code.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.147.84.169