Skip to main content

Practical Software Architecture for the Web

Software architecture for web applications: clean architecture, hexagonal architecture, DDD, CQRS, event sourcing, and architectural patterns for scalable and maintainable systems.

This series collects 7 articles (approximately 144 minutes of total reading time), designed for a level Advanced. The main topics covered are architecture, clean architecture, DDD, CQRS.

7Articles144 minTotal reading timeAdvancedLevel
architectureclean architectureDDDCQRSevent sourcing

Series Articles

  1. 1

    01 - Clean Architecture in Angular: Scalable Structure

    How to apply Clean Architecture in Angular: layer separation, dependency rule, use cases and repository pattern for scalable projects.

  2. 2

    02 - Domain-Driven Design for Web Applications

    DDD applied to the web world: Bounded Contexts, Aggregates, Value Objects, Entities and Domain Events with TypeScript and Angular.

  3. 3

    03 - CQRS and Event Sourcing with TypeScript

    CQRS and Event Sourcing are powerful architectural patterns that separate read and write models for superior scalability.

  4. 4

    04 - Hexagonal Architecture (Ports and Adapters)

    Hexagonal Architecture, also known as Ports and Adapters, was formulated by Alistair Cockburn to decouple business logic from infrastructure.

  5. 5

    05 - REST vs GraphQL vs tRPC: When to Use What

    In-depth comparison between REST, GraphQL and tRPC: performance, developer experience, security, caching and decision framework.

  6. 6

    06 - Testing Architecture: Strategies for Angular Apps

    test pyramid, unit testing with Jest, component testing, E2E with Playwright, mocking and CI integration.

  7. 7

    07 - ArchUnit and Clean Architecture: the 4-Layer Diagram Is a Lie Until You Enforce It

    The backend's ArchUnit gate was running zero executed tests, a total false green. How I found it, what I froze with FreezingArchRule (30+4 historical…

Test your knowledge!

Have you read all the articles? Check how much you've learned by taking this series' quizzes.

Take the quiz!