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 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.