Architectures in motion

A transfer from Alice to Bob, €250, told by nine animated diagrams. Each one shows what an architecture really changes: the direction of dependencies, round trips, failures, queues that overflow.

The same transfer goes through the six questions of the repository: each one asks something else of it.

Six questions, not one ladder

These architectures do not all answer the same question, and they combine from one family to another. Underlined names have their scene.

① How to organize the code inside an application?

Layered · Hexagonal · Onion · Clean · Functional Core · Vertical Slice · Microkernel · Pipeline · Mediator

② How to split the system into independent pieces?

Package by Component · Modular Monolith · Microservices · Serverless · Orchestrated Saga · Multi-tenant · BFF · Cells · Actors · Space-based · Choreography · Resilience

③ How to model the business and the data?

DDD · CQRS · Event Sourcing · Transaction Script · Active Record

④ How to replace an existing system?

Strangler Fig

⑤ How to expose the system to its clients?

REST · gRPC · GraphQL

⑥ How to organize the user interface?

MVC · MVVM · MVU

The scenes

Each scene simulates a demo of the repository in the browser, with its figures. Play, pause, step, and buttons to trigger what the demo shows.