All posts with Tag Pattern

Decorator Pattern using the example of a cached repository

The decorator pattern is a common pattern in object oriented languages. It allows us to add behavior to an individual object without changing the object itself.

We will exactly that with a repository. We introduce a caching layer via the decorator pattern.

Read the whole article

An error has occurred. This application may no longer respond until reloaded. Reload x