Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Python Design Patterns

EuroPython Conference via YouTube

Overview

Explore Python design patterns in this comprehensive EuroPython Conference talk. Dive into the Facade design pattern, understanding its concept, implementation, and "Pythonic" nature. Examine various design patterns, including Singleton, Monostate, and Dependency Injection, while learning about their applications and benefits. Discover the importance of patterns in software design, and gain insights into creational patterns, flexibility, and the Callback pattern. Enhance your Python programming skills by understanding how to effectively implement and utilize these design patterns in your projects.

Syllabus

Intro
A Pattern Example
Solution: the Facade DP
Facade is a Design Pattern
Some Facade KUS
Is Facade a "Pythonic" DP?
Design Patterns
Step back: what's a Pattern?
A Pattern's problem(s)
A Pattern's "solution(s)"
Why bother w/Patterns?
"Design" is a vague term...
What's a "Pythonic" Pattern
Python: hold or wrap?
Creational Patterns
Singleton ("Highlander")
Monostate ("Borg")
Creational DPs: "Flexibility"
DI: why we want it
Template Method vs DI
TM-VS-DI issues
Monkey-patching
Dependency Injection
DI design-choice details
DI and factories
The Callback Pattern
The "Callback" concept

Taught by

EuroPython Conference

Reviews

Start your review of Python Design Patterns

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.