Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

CodeSignal

Structural Patterns in Ruby

via CodeSignal

Overview

Structural design patterns are vital for managing the composition and relationships of objects, enabling more flexible and scalable systems. By defining clear structures between components, these patterns promote better code organization, easier maintenance, and adaptability to future changes.

Syllabus

  • Unit 1: Introduction to the Adapter Pattern Using Ruby
    • Adapter Pattern Implementation in Ruby
    • Adapter Pattern Practice with Sound Systems
    • Implementing the Adapter Pattern with VintageCar and ModernCarInterface
  • Unit 2: Implementing the Composite Pattern in Ruby
    • Completing the Composite Pattern in Ruby
    • Simulating a Band using the Composite Pattern in Ruby
    • Managing Tasks with Composite Pattern in Ruby
    • Managing Art Gallery with Composition
    • Managing a Zoo with Animals and Sub-Zoos in Ruby
  • Unit 3: Exploring the Decorator Pattern with Ruby
    • Vanilla Decorator Implementation in Ruby
    • Adding Cinnamon Flavor to Coffee Using Decorators in Ruby
    • Decorating Burgers with Cheese and Bacon Using Ruby's Decorator Pattern
    • Weapon Enhancement System Using Decorator Pattern
    • Pizza Customization System Using Decorator Pattern
  • Unit 4: Applying Structural Patterns in Real-World Scenarios with Ruby
    • Combining Decorator and Adapter Patterns for a GUI Library in Ruby
    • Implementing Decorator and Composite Patterns with Coffee Menu in Ruby
    • Applying Adapter and Composite Patterns in a Ruby GUI Library Task
    • Building an E-commerce Platform with Design Patterns
    • Implementing Design Patterns for a Food Ordering System in Ruby

Reviews

Start your review of Structural Patterns in Ruby

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.