Skip to main content

UNISON Spells

Browsing 23 incantations written in unison.

UNISON Apprentice
Enchantment
GoF Lineage: Command

The Command

Encapsulate a request as an object, thereby letting you parameterize clients with different requests, queue or log requests, and support undoable operations.

#behavioral #command #unison
Read Full Scroll →
UNISON Apprentice
Illusion
GoF Lineage: Facade

The Facade

Provide a unified, simplified interface to a set of complex, interconnected arcane subsystems.

#structural #facade #unison
Read Full Scroll →
UNISON Adept
Divination
GoF Lineage: Interpreter

The Interpreter

Given a language, define a representation for its grammar along with an interpreter that uses the representation to interpret sentences in the language.

#behavioral #interpreter #unison
Read Full Scroll →
UNISON Archmage
Divination
GoF Lineage: Iterator

The Iterator

Provide a way to access the elements of an aggregate object sequentially without exposing its underlying representation.

#behavioral #iterator #unison
Read Full Scroll →
UNISON Apprentice
Chronomancy
GoF Lineage: Memento

The Memento

Without violating encapsulation, capture and externalize an object's internal state so that the object can be restored to this state later.

#behavioral #memento #unison
Read Full Scroll →
UNISON Adept
Divination
GoF Lineage: Observer

The Observer

Define a one-to-many dependency between objects so that when one object changes state, all its dependents are notified and updated automatically.

#behavioral #observer #unison
Read Full Scroll →
UNISON Apprentice
Transmutation
GoF Lineage: State

The State

Allow an object to alter its behavior when its internal state changes. The object will appear to change its class.

#behavioral #state #unison
Read Full Scroll →