Book Image

Backbone.js Patterns and Best Practices

By : Swarnendu De
Book Image

Backbone.js Patterns and Best Practices

By: Swarnendu De

Overview of this book

Table of Contents (19 chapters)
Backbone.js Patterns and Best Practices
About the Author
About the Reviewers
Precompiling Templates on the Server Side


We have included a number of books and tutorials related to QUnit and SinonJS in the Appendix A, Books, Tutorials, and References. You can follow them to get a more detailed idea about these two technologies.

A few testing concepts were described in this chapter. You got an idea about the power of QUnit and SinonJS, and how to use them extensively to unit test your JavaScript application. Though that barely scratches the surface, we never intended to cover everything about testing in this book either. We just tried to make you aware of the fact that testing is an absolutely important part of the application development process, and you should make it a habit to write test cases whenever you develop. It will make your code more structured, flexible, and easier to use for your teammates.