-
Start here
-
Objects, classes, and Odoo models
-
The Fundamentals of Object-Oriented Programming
-
Video: The fundamentals of object-oriented programming
-
-
What a design pattern is
-
What a design pattern is
-
Video: What a design pattern is
-
When a pattern earns its keep, and when it does not
-
-
Gang of Four, SOLID, and UML
-
The Gang of Four, and the catalog of 23 patterns
-
SOLID: five rules that show which code will be expensive to change
-
How to read a pattern in a UML diagram
-
-
Creational patterns: how an object gets made
-
Which creational pattern to use
-
The Factory pattern: one place decides which object is created
-
Video: The Factory pattern
-
Abstract Factory: Creating Families of Objects That Must Work Together
-
The Singleton Pattern: One Instance, One Source of Truth
-
Video: The Singleton pattern
-
The Builder Pattern: Constructing Complex Objects Step by Step
-
Video: The Builder pattern
-
The Prototype Pattern: Cloning Objects Instead of Rebuilding Them
-
-
Structural patterns: how objects fit together
-
Which structural pattern to use
-
The Adapter Pattern: Making Incompatible Interfaces Work Together
-
Video: The Adapter pattern
-
The Composite Pattern: Treating the Whole and Its Parts Uniformly
-
Video: The Composite pattern
-
The Decorator Pattern: Adding Behavior Without Rewriting Objects
-
Video: The Decorator pattern
-
The Bridge pattern: two reasons a class would change
-
-
Behavioral patterns: how objects share the work
-
Which behavioral pattern to use
-
The Strategy Pattern: Choose Your Algorithm at Runtime
-
Video: The Strategy pattern
-
The Observer pattern: one change, many reactions
-
Video: The Observer pattern
-
Worked example: a document factory, then an observer
-
The Command Pattern: Turning Actions into Objects
-
Video: The Command pattern
-
The State Pattern: Objects That Change Their Behavior
-
Video: The State pattern
-
The Template Method pattern: one algorithm, a few steps left open
-
Video: The Template Method pattern
-
The Mediator Pattern: Taming Many-to-Many Communication
-
Video: The Mediator pattern
-
-
Read these patterns in Odoo's own code
-
How to read these patterns in Odoo's own code
-