Skip to main content

14 docs tagged with "behavioral"

View all tags

Behavioral Patterns

Patterns for communication between objects and assignment of responsibilities

Command Pattern

Encapsulate a request as an object allowing you to parameterize clients with commands

Interpreter Pattern

Define a grammar and interpreter for a language to process structured text or commands

Iterator Pattern

Access elements of a collection sequentially without exposing its underlying representation

Mediator Pattern

Centralize complex communication logic between multiple objects in a mediator object

Memento Pattern

Capture and externalize an object's state without violating encapsulation

Specification Pattern

Encapsulate business rules as queryable objects for flexible filtering and validation

State Pattern

Allow an object to alter its behavior when its internal state changes

Strategy Pattern

Define a family of algorithms, encapsulate each, and make them interchangeable

Visitor Pattern

Represent an operation to be performed on elements of an object structure