Summary

In this chapter, we learned how JavaScript code in general, and Backbone code in particular, can cause performance problems. We learned the three main causes of such problems (namely bandwidth, CPU, and memory), as well as techniques and methods that can be used to solve them. In particular, we learned how leaky event bindings or other references can prevent garbage collection, and how using listenTo or manually cleaning up references can enable garbage collection to work as expected.

In the next chapter, we'll examine the benefits of proper code documentation, learn how to solve some of the Backbone-specific documentation challenges, and consider which of the many quality documentation tools are the best for documenting your projects.

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

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