CHAPTER 7

image

Design Patterns: Behavioral

In this chapter, we will continue our look at design patterns, focusing on behavioral design patterns. Where creational design patterns we looked at in Chapter 5 focus on object creation and the structural design pattern we looked at in the previous chapter focus on object structure, behavioral design patterns focus on aiding the communication between multiple objects in a code base. The point here is to make it easier to understand how your code functions together as a whole, rather than just focusing on the construction and structure of individual objects. Let’s look together at eight behavioral design patterns ...

Get Pro JavaScript Development: Coding, Capabilities, and Tooling now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.