Programming Pattern - yibinericxia/documents GitHub Wiki
Design Patterns
Pattern | Description |
---|---|
Visitor | visitor pattern |
Proxy | Provide a surrogate or placeholder for another object to control access to it |
Adaptor | Convert the interface of a class into another interface clients expect |
Decorator | Attach additional responsibilities to an object dynamically |
AOP
Aspect Oriented Programming (AOP) is a mixed implementation of Proxy and Decorator. Please see the following example