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

CodeSignal

Structural Patterns in Python

via CodeSignal

Overview

Structural design patterns manage object composition and relationships, improving flexibility and scalability of systems. This course covers key structural patterns like Adapter, Composite, and Decorator, demonstrating their application in GUI libraries, file systems, and more, to solve real-world problems.

Syllabus

  • Lesson 1: Introduction to the Adapter Pattern in Python
    • Swapping Adapter Type
    • Adapter Pattern for Legacy Sound System
    • Implementing an Adapter for EuropeanPlug in Python
    • British to US Plug Adapter Implementation
    • Implementing the Adapter Pattern for Car Interfaces
  • Lesson 2: Introduction to the Composite Pattern in Python
    • Implementing the Composite Pattern in Python
    • Simulating a Band Using the Composite Pattern
    • Implement a Project Management System Using the Composite Pattern
    • Managing an Art Gallery using the Composite Pattern
    • Managing a Zoo with Composite Pattern in Python
  • Lesson 3: Exploring the Decorator Pattern in Python
    • Implementing Burger Decorators
    • Adding a Vanilla Decorator to Coffee
    • Adding Cinnamon Flavor to Coffee with Decorator Pattern
    • Implementing Sandwich Decorators in Python
    • Superhero Weapon Enhancement System
  • Lesson 4: Real-world Application of Structural Patterns
    • Combining Decorator and Adapter Patterns in a GUI Library
    • Building an E-commerce Platform with Design Patterns
    • Implementing Design Patterns for a Coffee Menu
    • Applying Design Patterns to an Image Gallery
    • Implementing a Messaging System

Reviews

Start your review of Structural Patterns in Python

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.