O'Reilly logo

Pro JavaScript Development: Coding, Capabilities, and Tooling by Den Odell

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 8

image

Design Patterns: Architectural

A number of the creational, structural, and behavioral design patterns that we’ve looked at in the past three chapters can be combined together to form architectural patterns that can help solve specific problems in larger code bases. In this chapter, we’ll look at three of the most common architectural patterns that apply to JavaScript applications, together with examples for each.

The Model-View-Controller (MVC) Pattern

The Model-View-Controller (MVC) pattern is one that allows the separation of code in a JavaScript applicaton into three distinct parts: the Model, which groups together code related to ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required