Skip to main content
Back to Tags

Modeling

34 items tagged with "modeling"

Filter by type:

Patterns23

Pattern

Strategy

Defines a family of interchangeable algorithms behind a common interface so the algorithm can vary independently from the clients that use it.

Pattern

Observer

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

Pattern

Command

Encapsulates a request as an object, letting you parameterize, queue, log, and undo operations independently of who invokes them.

Pattern

Iterator

Provides a uniform way to traverse the elements of a collection sequentially without exposing its underlying representation.

Pattern

Mediator

Centralizes complex communication between objects in a mediator so components refer to it instead of to each other, reducing coupling.

Pattern

Memento

Captures and externalizes an object's internal state so it can be restored later without violating encapsulation.

Pattern

State

Lets an object alter its behavior when its internal state changes, appearing to change class by delegating to state-specific objects.

Pattern

Template Method

Defines the skeleton of an algorithm in a base method, deferring specific steps to subclasses so they can vary parts without changing the structure.

Pattern

Visitor

Separates an algorithm from the object structure it operates on, letting you add new operations over a class hierarchy without modifying it.

Pattern

Chain of Responsibility

Passes a request along a chain of handlers, each deciding to process it or forward it, decoupling sender from the specific receiver.

Pattern

Interpreter

Defines a grammar for a simple language and an interpreter that evaluates sentences in that language using a class per grammar rule.

Pattern

Null Object

Provides a do-nothing object with neutral behavior in place of null, eliminating null checks and special-case handling.

Pattern

Specification

Encapsulates a business rule as a reusable, combinable predicate object that tells whether a candidate satisfies the rule.

Pattern

Servant

Defines shared behavior for a group of classes in a separate servant object that operates on them, instead of duplicating the behavior in each class.

Pattern

Blackboard

Coordinates independent specialized components that incrementally build a shared solution on a common data store for ill-defined problems.

Pattern

Repository

Mediates between the domain and data mapping layers via a collection-like interface for accessing domain objects, hiding persistence details.

Pattern

Unit of Work

Tracks objects affected by a business transaction and coordinates writing out changes and resolving concurrency as a single commit.

Pattern

Data Mapper

Moves data between objects and a database while keeping them independent, so domain objects carry no persistence knowledge.

Pattern

Active Record

Wraps a database row in an object that carries both the data and the methods to load, save, and delete itself.

Pattern

Value Object

Models a concept defined by its attributes rather than identity, making it immutable and compared by value to keep the domain expressive and safe.

Pattern

Domain Event

Captures something significant that happened in the domain as an explicit object, decoupling the trigger from the reactions to it.

Pattern

Star Schema

A dimensional data-modeling pattern with a central fact table linked to denormalized dimension tables, optimized for fast, intuitive analytical queries.

Pattern

Slowly Changing Dimension (SCD)

Techniques for handling changes to dimension attributes over time in a data warehouse, ranging from overwriting to preserving full historical versions.