← 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
Data Mesh Architecture
Decentralised data architecture where domain teams own and publish their data as products — replacing centralised data lakes that create engineering bottlenecks.
3mo ago Architecture advanced
Diagram: Database Triggers Database Triggers PHP 5.0+
Stored procedures that fire automatically on INSERT, UPDATE, or DELETE — useful for audit logs and enforcing constraints, but dangerous when they become hidden business logic.
3mo ago Database intermediate
Document Stores PHP 7.0+ 🧠 2
Databases that store semi-structured documents (JSON/BSON) — MongoDB, CouchDB — flexible schema, nested data, and horizontal scaling at the cost of no joins and eventual consistency.
3mo ago Database intermediate
Domain Model Pattern
An object model of the domain that incorporates both behaviour and data — entities with methods expressing domain operations rather than just data containers.
3mo ago Code Quality advanced
Diagram: Data Mapper vs Active Record Data Mapper vs Active Record
Two ORM patterns: Active Record bakes persistence into the domain object itself; Data Mapper separates the domain object from its persistence mechanism.
3mo ago Architecture advanced
Data Transfer Object (DTO) PHP 8.0+
A simple object that carries data between layers or systems with no business logic — reducing coupling between layers and making data contracts explicit.
3mo ago Code Quality intermediate
Diagram: Database Partitioning Database Partitioning PHP 5.0+
Splitting a large table into physical segments by range, list, or hash — enabling partition pruning, faster archival, and parallel scans.
3mo ago Performance advanced
Diagram: Database Schema Design Database Schema Design PHP 5.0+ 🧠 5
The process of defining tables, columns, data types, constraints, and relationships — decisions made at schema design time are expensive to reverse once data is live.
3mo ago Database intermediate
Diagram: Database Sharding Database Sharding PHP 5.0+
Horizontally partitioning data across multiple database instances by a shard key, scaling write throughput beyond a single server's limits.
3mo ago Performance advanced
Diagram: DDD Aggregates & Aggregate Roots DDD Aggregates & Aggregate Roots 🧠 1
A cluster of domain objects treated as a single unit with one root entity controlling access and enforcing invariants across the cluster.
3mo ago Architecture advanced
Diagram: DDD Domain Services DDD Domain Services
Domain logic that doesn't naturally belong to any single entity or value object — cross-entity operations modelled as stateless service classes.
3mo ago Architecture advanced
Diagram: DDD Repositories vs Active Record DDD Repositories vs Active Record
Repository pattern separates persistence from domain logic — the opposite of Active Record where the model knows how to save itself.
3mo ago Architecture advanced
Diagram: DDD Value Objects in PHP DDD Value Objects in PHP
Immutable objects defined by their attributes rather than identity — Money, Email, Coordinate — that encapsulate validation and domain behaviour.
3mo ago Architecture intermediate
Diagram: Defence in Depth Defence in Depth PHP 5.0+ 🧠 1
Layering multiple independent security controls so that bypassing one does not compromise the whole system.
3mo ago General intermediate
Diagram: Domain Events Domain Events PHP 7.0+ 🧠 5
Named, immutable records of something that happened in the domain — 'OrderPlaced', 'PaymentReceived' — enabling decoupled reactions without direct service calls.
3mo ago Architecture advanced
Diagram: Domain-Driven Design (DDD) Domain-Driven Design (DDD) PHP 5.0+ 🧠 3
An approach to software development that focuses on modelling the core domain using the language and concepts of domain experts.
3mo ago Architecture advanced
Diagram: Dependency Injection Dependency Injection PHP 5.0+ 🧠 3
Passing dependencies into a class rather than creating them inside — makes classes testable and loosely coupled.
3mo ago Code Quality intermediate
✓ schema.org compliant