August 2014
Intermediate to advanced
472 pages
13h 6m
English
CHAPTER 8
![]()
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 ...