Comparisons

Side-by-side comparisons of patterns and architecture styles that are often confused.

Many patterns share the same class structure and differ only in intent. Comparison pages put the candidates side by side, state the deciding question, and link to the full articles.

Published pattern comparisons: Adapter vs Decorator vs Proxy vs Facade, Factory patterns compared, Strategy vs State vs Template Method Observer vs Mediator vs Event Bus and REST vs GraphQL vs gRPC vs Messaging. Choreography versus orchestration is compared in the Saga Pattern. Architecture-style comparisons currently live in Layered versus Hexagonal Architecture and Microservices versus Modular Monolith.

Articles

Planned topics

These topics are on the roadmap and not written yet. They appear here so you can see the full scope of the section.

  • Command versus Strategy
  • Layered versus Hexagonal versus Clean versus Onion Architecture