← Home ← Codex ← DEBT
Browse by Category
+ added · updated 7d
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
Service Discovery Patterns
The mechanism by which services in a distributed system locate each other's network addresses — eliminating hardcoded IPs by maintaining a registry that services register with and query at runtime.
2mo ago architecture intermediate
API Design Principles
Guidelines for designing interfaces — method signatures, HTTP endpoints, error responses — that are intuitive, consistent, and evolvable.
3mo ago architecture intermediate
Diagram: API Gateway Pattern API Gateway Pattern
A single entry point for all clients that handles routing, authentication, rate limiting, and protocol translation for backend services.
3mo ago architecture intermediate
Diagram: Circuit Breaker Pattern Circuit Breaker Pattern PHP 5.0+
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: 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: Event-Driven Architecture Event-Driven Architecture PHP 5.0+
A design paradigm where components communicate by producing and consuming events, enabling loose coupling and asynchronous processing.
3mo ago architecture intermediate
Diagram: Eventual Consistency Eventual Consistency PHP 5.0+
A consistency model where replicas may diverge temporarily but converge to the same value given no new writes — trading immediacy for availability.
3mo ago architecture intermediate
Diagram: GraphQL GraphQL PHP 7.0+ 🧠 1
A query language for APIs where clients specify exactly the data they need, reducing over-fetching and under-fetching versus REST.
3mo ago architecture intermediate
Diagram: Long Polling & Server-Sent Events (SSE) Long Polling & Server-Sent Events (SSE) PHP 5.0+
Server-side push techniques for PHP — long polling holds HTTP connections open until data is ready; SSE streams events over a persistent HTTP response.
3mo ago architecture intermediate
Monorepo vs Polyrepo
Monorepos store multiple packages/services in one repository enabling atomic cross-service changes; polyrepos give each service independent versioning.
3mo ago architecture intermediate
OpenAPI / Swagger Specification
A machine-readable YAML/JSON description of a REST API — enabling auto-generated documentation, client SDKs, mock servers, and contract testing.
3mo ago architecture intermediate
Diagram: Retry Pattern with Exponential Backoff Retry Pattern with Exponential Backoff PHP 5.0+
Automatically retrying failed operations with increasing delays — preventing thundering herd and handling transient failures gracefully.
3mo ago architecture intermediate
Service Locator Anti-Pattern
A class that fetches its own dependencies from a global registry — hiding them from the constructor signature and making dependencies implicit, untestable, and hard to trace.
3mo ago architecture intermediate
Specification Pattern PHP 5.0+
Encapsulating business rules as composable objects that evaluate whether a candidate satisfies them — separating rules from entity code.
3mo ago architecture intermediate
Diagram: Twelve-Factor App Twelve-Factor App PHP 5.0+
A methodology for building scalable, maintainable SaaS applications using twelve best practices for configuration, processes, and services.
3mo ago architecture intermediate
Ubiquitous Language (DDD) 🧠 2
A shared vocabulary between developers and domain experts, used consistently in code, tests, documentation, and conversation.
3mo ago architecture intermediate
WebSockets PHP 7.0+
A persistent full-duplex TCP connection enabling real-time bidirectional messaging between browser and server without polling overhead.
3mo ago architecture intermediate
✓ schema.org compliant