Let's Study the Factory Design Pattern Together
summary
Presentation explains the Factory design pattern: what problem it solves (creating objects without coupling code to concrete classes) and how to apply it. Examples use PHP (AFUP conference audience) to show factory implementations and when to prefer factories over direct instantiation.
AI-written summary · about
chapters (6)
- 0:00Start
- 1:17Let's study the Factory Design Pattern together
- 1:58Good code design practices
- 2:49Function that creates an object based on parameters
- 7:16And here, we have a Factory method:
- 13:35Solution: Using an Interface
related talks
25mDesign Patterns Unleashed: Building Elegant and Confident Solutions
13mCombining Automation Frameworks with Design Patterns
55mFactory, Workshop, Stage
41mA design pattern goes to the supermarket
46mImprove your design with Design Patterns
37mA design pattern goes to the supermarket
32mDemystifying Design Patterns: A Practical Guide for Developers
01h 40mDesign Patterns: Examples in C++
