Python week November Black Friday
This week up to 80% off on Python courses. More info
Black friday is here! Get up to 80 % extra points for free! More info

GOF - Structural Patterns

Adapter (wrapper)

Adapter (wrapper)

We use the Adapter design pattern (or Wrapper) when working with a component that has an unstable or incompatible interface with our application.
FreeUnratedWritten by David Capka
Facade

Facade

The Facade design pattern is used to create a united interface for an entire logical group of classes representing a subsystem.
FreeUnratedWritten by David Capka
Proxy

Proxy

We use the Proxy design pattern when we need to control the user's access to our object, for example, to improve the application's performance.
FreeUnratedWritten by David Capka
Decorator

Decorator

The Decorator design pattern allows us to add functionality to a class on runtime without inheriting it. We can use it e.g. to extend libraries.
FreeUnratedWritten by David Capka
Flyweight

Flyweight

The Flyweight design pattern is designed to save resources when a lot of instances of a single type needs to be created.
FreeUnratedWritten by David Capka
Composite

Composite

The Composite design pattern provides the recommended solution for working with tree structures, such as navigation menus.
PremiumUnratedWritten by David Capka
Bridge

Bridge

The Bridge pattern separates an unstable interface from an unstable implementation of this interface. Unlike Adapter, it assumes changes on both sides.
PremiumUnratedWritten by David Capka


 

Activities (1)