GOF - Behavioral Patterns

Observer

Observer

The Observer design pattern allows the object to manage a number of observers who respond to changes of its state by calling their methods.
Written by David Capka
FreeUnrated Show description
Strategy

Strategy

The Strategy design pattern allows to replace an algorithm with another one at runtime without changing the code. Algorithms are encapsulated modules.
Written by David Capka
FreeUnrated Show description
Template method

Template method

The Template Method design pattern defines the template of an algorithm as its individual steps. The descendants then implement these steps.
Written by David Capka
FreeUnrated Show description
State

State

The State design pattern allows an object to dramatically change its behavior, which depends on the object's state. Replaces complex branching.
Written by David Capka
PROUnrated Show description
Memento

Memento

Memento is a simple design pattern that stores the internal state of an object without violating the encapsulation principle.
Written by David Capka
FreeUnrated Show description
Interpreter

Interpreter

The Interpreter design pattern defines how to implement an interpretation of a language using the object-oriented programming.
Written by David Capka
PROUnrated Show description
Mediator

Mediator

The Mediator design pattern introduces a mediator between direct communication of several objects, reducing the coupling and responsibility of the objects.
Written by David Capka
FreeUnrated Show description
Iterator

Iterator

The Iterator design pattern introduces an external object that allows to go through a collection linearly without having to know its internal structure.
Written by David Capka
PROUnrated Show description
Chain of Responsibility

Chain of Responsibility

The Chain of Responsibility design pattern allows to separate the sender of a request from one or more recipients.
Written by David Capka
FreeUnrated Show description


 

Activities (1)