Creational design patterns play a crucial role in controlling object creation mechanisms, allowing for greater flexibility, enhanced code reusability, and improved robustness. By abstracting the instantiation process, these patterns help create scalable and maintainable software systems.
Overview
Syllabus
- Unit 1: Understanding and Implementing the Singleton Pattern in Ruby
- Singleton Logger with Log Count
- Prefixing Log Messages with Severity Levels in a Logger Singleton Class
- Finalize the MusicPlayer Class in Ruby
- Singleton Logger Implementation in Ruby
- Unit 2: Introduction to the Factory Method Pattern in Ruby
- Add a PDFDocument Type with Factory Method Pattern
- Factory Method Pattern for Beverage Creation in Ruby
- Implementing Factory Pattern with Vehicles in Ruby
- Implementing the Factory Method Pattern for Notification Management in Ruby
- Unit 3: Implementing the Builder Pattern in Ruby
- Modify ConcreteHouse Builder to BrickHouse Builder
- Building a Wooden House with the Builder Pattern in Ruby
- Implementing a Robot Builder Pattern in Ruby
- Builder Pattern Implementation in Ruby
- Unit 4: Applying Creational Patterns in Ruby Banking System
- Building a Banking Application with Singleton and Factory Patterns in Ruby
- Banking System Component with Singleton and Builder Patterns
- Accounts Management System Using Design Patterns