← CodeClarityLab Home
Browse by Category
+ added · updated 7d
✕ 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
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.
2mo ago quality advanced
Data Clump
The same group of variables appearing together repeatedly — a signal they belong in a class together.
2mo ago quality intermediate
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.
2mo ago quality intermediate
Diagram: DDD Aggregates & Aggregate Roots DDD Aggregates & Aggregate Roots
A cluster of domain objects treated as a single unit with one root entity controlling access and enforcing invariants across the cluster.
2mo 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.
2mo 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.
2mo ago architecture intermediate
Decorator Pattern PHP 5.0+
Wraps an object to add new behaviour dynamically without modifying its class or using inheritance.
2mo ago general intermediate
Dependency Inversion Principle (DIP) PHP 5.0+
High-level modules should not depend on low-level modules — both should depend on abstractions (interfaces), not on concrete implementations.
2mo ago php intermediate
Diagram: Domain-Driven Design (DDD) Domain-Driven Design (DDD) PHP 5.0+
An approach to software development that focuses on modelling the core domain using the language and concepts of domain experts.
2mo ago architecture advanced
Diagram: Dependency Injection Dependency Injection PHP 5.0+
Passing dependencies into a class rather than creating them inside — makes classes testable and loosely coupled.
2mo ago quality intermediate
✓ schema.org compliant