Software Architecture

From architecture fundamentals through layered and hexagonal styles to Domain-Driven Design and decision records.

The first step is a prerequisite for everything else. Steps 3 and 4, and steps 6 and 7, are best read as pairs.

  1. Introduction to software architecture

    Quality attributes, trade-offs and the vocabulary used everywhere else.

  2. Coupling, cohesion and modularity Planned

    The measures behind almost every structural decision.

  3. Layered versus Hexagonal Architecture

    Dependency direction is the most important structural decision inside an application.

  4. Hexagonal Architecture with Spring Boot

    See the ideas as a tested, runnable service.

  5. Clean and Onion Architecture Planned

    Variations on the same dependency rule, with different internal structure.

  6. Domain-Driven Design fundamentals

    How to model a complex business domain, and when the effort is worth it.

  7. Bounded contexts and context maps

    Boundaries that guide modules, services and teams.

  8. Modular monolith versus microservices

    Modularity and distribution are separate decisions.

  9. Event-driven architecture, CQRS and event sourcing Planned

    Styles for integration, read scaling and auditability — with significant costs.

  10. Architecture Decision Records Planned

    Recording decisions so that their reasons survive. The introduction article already includes a template.