Polski

Software architecture

Architectural styles and ways of splitting a system: layers, ports and adapters, events, services.

  • Monolith

    One deployable, one codebase, usually one database – the simplest starting point for most systems.

  • Modular Monolith

    A single deployable split into modules with explicit boundaries and their own data.

  • Layered Architecture

    The classic split into presentation, business logic and data access layers.

  • Hexagonal Architecture

    The domain core talks to the outside world only through ports; concrete technologies plug in as adapters.

  • Clean Architecture

    Concentric layers with the dependency rule pointing inward, towards use cases and entities.

  • Onion Architecture

    The domain model at the centre, infrastructure on the outer rings and depending inward.

  • Vertical Slice Architecture

    Code organised around features end to end instead of around technical layers.

  • CQRS

    A separate model for writes (commands) and another for reads (queries).

  • Event Sourcing

    State is rebuilt from an append-only sequence of events instead of overwriting records.

  • Event-Driven Architecture

    Services react to published events instead of calling each other directly.

  • Microservices

    Small, independently deployable services organised around business capabilities.

  • DDD Strategic Design

    Bounded contexts, ubiquitous language and context maps for carving up large domains.

  • Specification

    A business rule as an object: composable conditions (and/or/not) for validation, selection and queries – a DDD classic.

  • Circuit Breaker

    Stops calls to a failing service before the failure cascades through the system – and probes when it is back.