Book Image

Backbone.js Essentials

By : Jeremy Walker
Book Image

Backbone.js Essentials

By: Jeremy Walker

Overview of this book

<p>This book offers insight into creating and maintaining dynamic Backbone.js web applications. It delves into the the fundamentals of Backbone.js and helps you achieve mastery of the Backbone library.</p> <p>Starting with Models and Collections, you'll learn how to simplify client-side data management and easily transmit data to and from your server. Next, you'll learn to use Views and Routers to facilitate DOM manipulation and URL control so that your visitors can navigate your entire site without ever leaving the first HTML page. Finally, you'll learn how to combine those building blocks with other tools to achieve high-performance, testable, and maintainable web applications.</p>
Table of Contents (20 chapters)
Backbone.js Essentials
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Summary


In this chapter, we learned how to combine a variety of tools to test your Backbone applications. We learned the difference between TDD and BDD, as well as the differences between major testing libraries such as QUnit and Jasmine. We explored in depth how to use the Mocha framework to create a testing suite and how to use the Sinon library to mock out parts of your code within that suite.

In the next chapter, we'll look into a variety of other third-party tools that can help you create Backbone applications. We'll look at general-purpose tools, such as the Require.js dependency management system, and Backbone-specific tools, such as BackGrid and BackSupport.