Early previewThis guide is in development. Items tagged verify are still being checked against official docs.
nebx Learn
GitHub
Menu
Home/Learning paths/Structural patterns
Learning path 3 of 6 · Intermediate

Structural patterns

Concerned with structure, such as class members. Many are wrappers that mimic the underlying interface, which stresses good API design.

7 lessons7 patternsQuizzesFree
0 of 7 lessons complete
  1. 1
    Adapter

    Lets objects with incompatible interfaces collaborate.

    StructuralQuiz
  2. 2
    Bridge

    Splits a large class or closely related classes into two hierarchies, abstraction and implementation, that vary independently.

    StructuralQuiz
  3. 3
    Composite

    Composes objects into tree structures and lets clients treat individual objects and compositions uniformly.

    StructuralQuiz
  4. 4
    Decorator

    Attaches new behaviours to objects by placing them inside wrapper objects that share the same interface.

    StructuralDemoCodeQuiz
  5. 5
    Facade

    Provides a simplified interface to a library, framework or other complex set of classes.

    StructuralQuiz
  6. 6
    Flyweight

    Fits more objects into RAM by sharing common state between many objects.

    StructuralQuiz
  7. 7
    Proxy

    Provides a substitute that controls access to another object.

    StructuralQuiz