Chapter 7. Leveraging the Model-View-Controller
This chapter covers
- Comparing pure jQuery to MVC
- Introducing Backbone
- Building Backbone applications
- Looking at shared-view rendering in the server and browser
Until now, we’ve discussed topics around application development, such as crafting a build process. We also talked about code-related topics, such as coherent asynchronous flows and modular application design. We haven’t yet covered the bulk of an application itself, which is what we’ll do in this chapter. I’ll explain why jQuery, a popular library that makes interacting with the DOM easier, might be lacking for large-scale application design and what tools you can use to supplement it or how to replace ...