← Home ← Codex ← DEBT
Browse by Category
+ added · updated 7d
Level All Beginner Intermediate Advanced Tag: architecture
✕ Clear A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Cloud Multi-Tenancy PHP 8.0+ 🧠 3
Serving multiple customers (tenants) from shared infrastructure while keeping their data and behaviour isolated.
2w ago Cloud intermediate
Concurrency vs Parallelism
Concurrency is about dealing with multiple tasks at once (structuring); parallelism is actually executing multiple tasks simultaneously (hardware). You can have one without the other.
3mo ago Concurrency beginner
CQRS Pattern PHP 7.0+
Command Query Responsibility Segregation — separating the write model (commands that change state) from the read model (queries that return data), allowing each to be optimised independently.
3mo ago Messaging advanced
Cloud-Native Patterns PHP 5.0+ 🧠 1
Stateless services, externalised config, health checks, graceful shutdown, and immutable infrastructure — the 12-Factor App extended for containers.
3mo ago Cloud intermediate
Conformist Pattern
A context mapping relationship where the downstream team adopts the upstream team's model wholesale — accepting the upstream language rather than building a translation layer.
3mo ago Architecture advanced
Diagram: CAP Theorem CAP Theorem PHP 5.0+
A distributed system can guarantee only two of three simultaneously: Consistency, Availability, Partition Tolerance — driving fundamental design trade-offs.
3mo ago Architecture advanced
Diagram: Choreography vs Orchestration Choreography vs Orchestration
Two patterns for coordinating microservices: orchestration uses a central coordinator that calls each service; choreography uses events that services react to independently.
3mo ago Architecture advanced
Diagram: Circuit Breaker Pattern Circuit Breaker Pattern PHP 5.0+ 🧠 1
Wrapping calls to a flaky downstream service with a state machine that opens (stops calls) after threshold failures, preventing cascade failures.
3mo ago Architecture intermediate
Diagram: Clean Architecture Clean Architecture PHP 5.0+
Robert C. Martin's layered architecture that places business rules at the centre, independent of frameworks, UI, and databases.
3mo ago Architecture advanced
Cohesion
The degree to which elements within a module belong together; high cohesion means a class does one thing and does it well.
3mo ago Code Quality intermediate
Command Query Separation (CQS) 🧠 1
Methods should either return a value (query) or change state (command), but never both.
3mo ago Code Quality intermediate
Diagram: Context Mapping Context Mapping
A DDD strategic pattern that maps the relationships between bounded contexts — defining integration patterns like Anti-Corruption Layer, Shared Kernel, and Customer-Supplier.
3mo ago Architecture advanced
Conway's Law
"Organisations design systems that mirror their own communication structure" — team topology shapes architecture whether you plan it or not.
3mo ago General intermediate
Coupling
The degree to which one module depends on another; high coupling makes changes expensive and testing difficult.
3mo ago Code Quality intermediate
Diagram: CQRS (Command Query Responsibility Segregation) CQRS (Command Query Responsibility Segregation) PHP 7.0+
Separates the model for reading data (queries) from the model for writing data (commands), enabling independent optimisation of each.
3mo ago Architecture advanced
✓ schema.org compliant