Overview
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