Patterns
About
Design patterns
Definition | Example | Links | |
---|---|---|---|
Adapter | Enable incompatible interfaces to interoperate | Plug an older object into a newer system | Adapter vs Bridge Wikipedia |
Bridge | Enable separation by connecting heirarchies of classes to enable both to vary independently (avoids a combinatorial explosion as well)
| Shapes and Drawing APIs, Devices and Platforms | Adapter vs Bridge Wikipedia |
Gateway | Either API gateway (by service provider) or application gateway (by client)
| Fowler | |
Facade | Simplified interface to a complex system | Higher level entry point to e.g. posix serial api | Wikipedia |
Proxy | Substitute or extend a real object's interface | Mocking a robot system for simulation | Wikipedia |