Chapter 7. Leveraging the Model-View-Controller

This chapter covers

  • Comparing pure jQuery to MVC
  • Learning about MVC in JavaScript
  • 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 ...

Get JavaScript Application Design now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.