Skip to main content

17 docs tagged with "decoupling"

View all tags

Active Object Pattern

Decouple concurrent execution by encapsulating each object as a standalone thread receiving method calls via message passing.

Database Per Service

Isolate service data with dedicated databases to maintain independence and prevent tight coupling.

Dependency Inversion Principle

High-level modules should not depend on low-level modules; both should depend on abstractions. Invert the dependency flow.

Encapsulate What Varies

Identify volatile aspects of your system and hide them behind stable interfaces to reduce coupling and change impact.

Indirection

Assign responsibility to an intermediate object that mediates between other objects

Mediator Pattern

Centralize complex communication logic between multiple objects in a mediator object

Structural Patterns

Compose objects into larger structures while keeping relationships flexible and decoupled