Chapter 19: The Adapter Pattern
In previous chapters, we covered creational patterns, which are Object-Oriented Programming (OOP) patterns that help us with object creation procedures. The next category of patterns we want to present is structural design patterns.
A structural design pattern proposes a way of composing objects to create new functionality. The first of these patterns we will cover is the adapter pattern.
In this chapter, we will discuss the following topics:
- Understanding the adapter pattern
- Real-world examples
- Use cases
- Implementation
By the end of the chapter, you will know how to use this design pattern to create interfaces that could help application layers that otherwise could not communicate.