Types of Structural Design Patterns

  • Adapter Method Design Patterns
  • Bridge Method Design Patterns
  • Composite Method Design Patterns
  • Decorator Method Design Patterns
  • Facade Method Design Patterns
  • Flyweight Method Design Patterns
  • Proxy Method Design Patterns

Structural Design Patterns

Structural Design Patterns are concerned with how classes and objects are composed to form larger structures. Structural class patterns use inheritance to compose interfaces or implementations.

Consider how multiple inheritances mix two or more classes into one. The result is a class that combines the properties of its parent classes.

There are two recurring themes in these patterns:

  • This pattern is particularly useful for making independently developed class libraries work together.
  • Structural Design Patterns describe ways to compose objects to realize new functionality. The added flexibility of object composition comes from the ability to change the composition at run-time, which is impossible with static class composition.

Important Topics for the Structural Design Patterns

  • Example for Structural Design Patterns
  • Types of Structural Design Patterns:
  • Adapter Method Design Patterns:
  • Bridge Method Design Patterns
  • Composite Method Design Patterns
  • Decorator Method Design Patterns
  • Facade Method Design Patterns
  • Flyweight Method Design Patterns
  • Proxy Method Design Patterns

Similar Reads

Example for Structural Design Patterns

Consider an example, a drawing editor that lets users draw and arrange graphical elements (lines, polygons, text, etc.) into pictures and diagrams. The drawing editor’s key abstraction is the graphical object, which has an editable shape and can draw itself....

Types of Structural Design Patterns:

Adapter Method Design Patterns Bridge Method Design Patterns Composite Method Design Patterns Decorator Method Design Patterns Facade Method Design Patterns Flyweight Method Design Patterns Proxy Method Design Patterns...

Adapter Method Design Patterns:

Adapter Method or Adapter Design Patterns also knows as wrapper. It convert the interface of a class into another interface clients expect. Adapter lets classes work together that couldn’t otherwise because of incompatible interfaces....

Bridge Method Design Patterns

Bridge Method or Bridge Design Patterns also known as Handle/Body. Decouple an abstraction from its implementation so that the two can vary independently....

Composite Method Design Patterns

Composite Method or Composite Design Patterns it compose objects into tree structures to represent part-whole hierarchies. Composite lets clients treat individual objects and compositions of objects uniformly....

Decorator Method Design Patterns

Decorator Method or Decorator Design Patterns also known as wrapper, it is attach with additional responsibilities to an object dynamically. Decorators provide a flexible alternative to subclassing for extending functionality....

Facade Method Design Patterns

Facade method or Facade Design Pattern it provide a unified interface to a set of interfaces in a subsystem. Facade defines a higher-level interface that makes the subsystem easier to use....

Flyweight Method Design Patterns

Flyweight method or Flyweight Design Patterns, it is used to support large numbers of fine-grained objects efficiently....

Proxy Method Design Patterns

Proxy Method or Proxy Design Pattern also known as Surrogate, it provide a surrogate or placeholder for another object to control access to it....