Learn how to use the creational design patterns described by the Gang of Four to create more maintainable, flexible software.
Overview
Syllabus
Introduction
- Think about how you create objects
- Creational design patterns
- Design pattern categories
- Creational patterns
- Design principles and creational patterns
- Factories
- A simple factory
- The Factory Method pattern
- How the pattern works
- Flexibility and Factory Method
- Challenge: Design a factory
- Solution: Design a factory
- The Abstract Factory pattern
- How the pattern works
- Design principles and Abstract Factory
- The Builder pattern
- How the pattern works
- Flexibility in configuration
- Challenge: A builder design
- Solution: A builder design
- The Prototype pattern
- How the pattern works
- Leverage existing objects
- The Singleton pattern
- How the pattern works
- Control how objects are created
- Continuing your studies
Taught by
Elisabeth Robson