Best Practices with Backbone
James Sugrue · Apress eBooks · 2013
In the previous chapters we’ve seen how to use Backbone, along with some useful add-ons, to create high-quality web applications. However, as your app scales and begins to gain traction with real customers, you need to be confident in how you use the underlying technology. While frameworks such as Marionette and Thorax reduce the margin of error when it comes to view management, it is still worth understanding the techniques that can ensure you get the most from Backbone. This chapter compiles best practices that developers have employed when using Backbone. You’ll see how to manage templates effectively, avoid memory leaks, and ensure that your application has the best performance possible with the tips listed in the following sections. These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.