Entries by Rainer Grimm

The Template Method

The Template Method is a behavioral design pattern. It defines a skeleton for an algorithm and is probably one of the most often used design patterns from the book “Design Patterns: Elements of Reusable Object-Oriented Software”.

The Visitor Pattern

The Visitor Pattern encapsulates an operation executed on an object hierarchy as an object and enables it to define new operations without changing the object hierarchy.

The Observer Pattern

The Observer Pattern is a behavioral pattern from the book   “Design Patterns: Elements of Reusable Object-Oriented Software”. It defines 1-to-n dependencies between objects so that changes to one object cause all dependent objects to be notified.

The Strategy Pattern

The Strategy Pattern is a behavioral design pattern from the book Design Patterns: Elements of Reusable Object-Oriented Software”. It defines a family of algorithms and encapsulates them in objects.