Creational design patterns are crucial for controlling object creation processes in software development. This course explores patterns like Singleton, Factory Method, and Builder, helping you create flexible, reusable, and maintainable code. You'll learn how to manage object instantiation effectively, promoting scalability and robust design solutions.
Overview
Syllabus
- Lesson 1: Singleton Pattern
- Run Singleton Class Implementation
- Logging in Singleton Pattern
- Fix the Singleton Pattern
- Completing the Singleton Pattern
- Singleton Design Pattern from Scratch
- Lesson 2: Factory Method Pattern
- Factory Method Pattern in Action
- Fix the Factory Method Bug
- Add PDF to Factory Pattern
- Handle Unsupported Types
- Implementing the Factory Method from Scratch
- Lesson 3: Abstract Factory Pattern
- Abstract Factory in Action
- Fixing Abstract Factory Implementation
- Open Documents with Filenames
- Abstract Vehicle Factory
- Music Abstract Factory from Scratch
- Lesson 4: Builder Pattern
- Building a Configurable House
- Complete the Smartphone Builder Pattern
- Fix the Builder Pattern
- Changing Default Values in Builder
- Write Your Own Car Builder
- Lesson 5: Prototype Pattern
- Cloning Cars with Prototype Pattern
- Fix the Guitar Cloning Bug
- Deep vs Shallow Cloning
- Fill in the Superhero Cloning Code
- Cloning Shapes with Prototype Pattern
- Lesson 6: Applying Creational Patterns in Banking System
- Singleton Pattern for Database Connection
- Factory Pattern for Bank Accounts
- Abstract Factory Pattern for Loans
- Builder Pattern for Customizable Bank Accounts
- Prototype Pattern for Customer Profiles
- Enhancing the Banking System