Skip to Content
Advanced Python Programming - Second Edition
book

Advanced Python Programming - Second Edition

by Quan Nguyen
March 2022
Intermediate to advanced
606 pages
12h 25m
English
Packt Publishing
Content preview from Advanced Python Programming - Second Edition

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.

Technical requirements

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Advanced Python Programming

Advanced Python Programming

Dr. Gabriele Lanaro, Quan Nguyen, Sakis Kasampalis
Expert Python Programming - Third Edition

Expert Python Programming - Third Edition

Michał Jaworski, Tarek Ziadé, Cody Jackson
Expert Python Programming - Fourth Edition

Expert Python Programming - Fourth Edition

Michał Jaworski, Tarek Ziade, Tarek Ziadé

Publisher Resources

ISBN: 9781801814010Supplemental Content