Chapter 10. The Bridge Pattern

Overview

This chapter continues the discussion of design patterns with the Bridge pattern. The Bridge pattern is quite a bit more complex than the other patterns you have learned. It is also much more useful.

This chapter

•   Provides an example to help you derive the Bridge pattern. I go into great detail to help you learn this pattern.

•   Presents the key features of the pattern.

•   Presents some observations on the Bridge pattern from my own practice.

Introducing the Bridge Pattern

According to the Gang of Four, the intent of the Bridge pattern is to “decouple an abstraction from its implementation so that the two can vary independently.” ...

Get Design Patterns Explained: A New Perspective on Object-Oriented Design, Second Edition now with O’Reilly online learning.

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