Design Patterns

Articles

Decorator Design Pattern (UML Diagrams)

The decorator pattern is a design pattern that allows behavior to be added to an object, dynamically, without affecting the behavior of other objects from the same class.

Adapter Design Pattern (UML Class Diagram)

If you want to make existing code work with another existing code without modifying any of the existing interfaces you can use Adapter design pattern.