Tag: oop
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
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
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
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
An approach to software development that focuses on modelling the core domain using the language and concepts of domain experts.
2mo ago
architecture advanced
Passing dependencies into a class rather than creating them inside — makes classes testable and loosely coupled.
2mo ago
quality intermediate