Programming Patterns Diagrams
Dependency Inversion Flips the Arrow
StructureSource dependencies between a business module and infrastructure, before and after inversion.
Four Wrapper Patterns Compared
StructureAdapter, Decorator, Proxy, and Facade, by the interfaces each call passes through.
Bridge Turns N × M Classes Into N + M
StructureThree shapes and three renderers, by inheritance alone and through a bridge.
Direct Links Versus a Mediator
Dependency graphFive objects linked pairwise, and the same five linked through one mediator.
Found this useful? Share it:
Share on LinkedIn