From the course: Advanced Python: Build Hands-On Projects with Design Patterns (2023)

Unlock this course with a free trial

Join today to access over 25,300 courses taught by industry experts.

Structural patterns

Structural patterns

- [Instructor] We use structural patterns to establish repeatable relationships between software components in particular configurations. The goal here is to satisfy specific functional or non-functional requirements with flexibility and efficiency. Functional requirements refer to what software does. Drawing a circle on a screen is a functional requirement. On the other hand, non-functional requirements also known as quality attributes are how well software completes its job. The question of how fast or slow software functions belongs to the non-functional domain. If your application needs one minute to draw a circle but users want one millisecond completion time, the software does not meet its non-functional requirements. In addition to speed, there are other non-functional requirements such as security, usability and modifiability. Different requirements lead to various structures implemented in structural patterns just as…

Contents