Tag: architecture
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
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
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
Splitting a large table into physical segments by range, list, or hash — enabling partition pruning, faster archival, and parallel scans.
3mo ago
Performance advanced
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
Horizontally partitioning data across multiple database instances by a shard key, scaling write throughput beyond a single server's limits.
3mo ago
Performance advanced
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
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
Repository pattern separates persistence from domain logic — the opposite of Active Record where the model knows how to save itself.
3mo ago
Architecture advanced
Immutable objects defined by their attributes rather than identity — Money, Email, Coordinate — that encapsulate validation and domain behaviour.
3mo ago
Architecture intermediate
Layering multiple independent security controls so that bypassing one does not compromise the whole system.
3mo ago
General intermediate
Named, immutable records of something that happened in the domain — 'OrderPlaced', 'PaymentReceived' — enabling decoupled reactions without direct service calls.
3mo ago
Architecture advanced
An approach to software development that focuses on modelling the core domain using the language and concepts of domain experts.
3mo ago
Architecture advanced
Passing dependencies into a class rather than creating them inside — makes classes testable and loosely coupled.
3mo ago
Code Quality intermediate