Terms starting with "D"
Database Query Result Streaming PHP 8.0+
Processing large result sets row-by-row without loading the entire dataset into memory - essential for PHP CLI scripts handling millions of rows.
5d ago
database intermediate
DOM Clobbering
Attack where injected HTML elements with controlled `id` or `name` attributes overwrite JavaScript globals or document properties, weaponising script-less HTML injection into code execution.
CWE-79 OWASP A3:2021
1w ago
security advanced
6.5
Diffusion Models
A class of generative models that learn to reverse a gradual noising process — starting from pure noise and iteratively denoising into coherent images, audio or video; the core technique behind Stable Diffusion, Midjourney and DALL·E 3.
3w ago
ai_ml advanced
A union of types that each carry a shared literal field (the discriminant) allowing TypeScript to narrow exhaustively — the canonical way to model mutually exclusive states.
4w ago
typescript intermediate
Dependency & Supply Chain Security
Protecting applications from malicious or vulnerable third-party packages — covering transitive dependencies, lock files, SRI hashes, CVE scanning, and supply chain attack vectors.
CWE-1357 OWASP A6:2021
1mo ago
security intermediate
Docker HEALTHCHECK
A Dockerfile instruction that defines how Docker tests whether a container is healthy — enabling automatic restart and load balancer removal on failure.
1mo ago
devops intermediate
Dead Code Elimination PHP 7.4+
A compiler and static analysis optimisation that identifies and removes code that can never be executed or whose result is never used.
1mo ago
compiler intermediate
A greedy graph algorithm that finds the shortest path from a source node to all other nodes in a weighted graph with non-negative edge weights.
1mo ago
algorithms advanced
Database Connection Pooling
Connection pooling reuses a fixed set of database connections across requests — eliminating the 50–200ms connection overhead on every request and limiting DB connection count.
2mo ago
concurrency intermediate
Database Indexes
Data structures that allow the database engine to find rows matching a condition without scanning every row — the single most impactful performance optimisation available for read-heavy PHP applications.
2mo ago
database intermediate
DateTimeImmutable vs DateTime PHP 5.5+
DateTimeImmutable returns a new object for every modification — the original is never changed. DateTime modifies in place. Prefer DateTimeImmutable in all new code to avoid subtle bugs where shared date objects are accidentally mutated.
2mo ago
php beginner
Dead Letter Queue
A Dead Letter Queue (DLQ) captures messages that can't be processed — expired, malformed, or repeatedly failed — enabling later inspection and replay without losing data.
2mo ago
messaging intermediate
Deadlock
A deadlock occurs when two or more processes each hold a resource the other needs — both wait forever. Prevention requires consistent lock ordering or timeouts.
2mo ago
concurrency intermediate
Debugging PHP PHP 5.0+
Systematic techniques for finding and fixing PHP bugs — from var_dump and error logs to Xdebug step-debugging, with the guiding principle of narrowing down where incorrect behaviour first appears.
2mo ago
php beginner
DI Containers — PHP-DI, Symfony & Laravel Compared PHP 7.4+
A Dependency Injection container automates wiring of class dependencies — instead of manually constructing objects and their dependencies, the container reads type hints and builds the full object graph. PHP-DI, Symfony's DIC, and Laravel's service container are the main options.
2mo ago
php intermediate
Distributed Tracing
Distributed tracing tracks a request as it flows through multiple services — each service adds a span to a shared trace, giving end-to-end visibility into latency and failures.
2mo ago
observability intermediate
DNF Types (PHP 8.2) PHP 8.2+
PHP 8.2 DNF (Disjunctive Normal Form) types allow unions of intersections — (Countable&Iterator)|null — combining PHP 8.1 intersection types with union types.
2mo ago
php advanced
DOMDocument & XPath in PHP PHP 5.0+
PHP's DOMDocument extension parses HTML and XML into a traversable tree. Combined with DOMXPath, you can query the document with XPath expressions — far more powerful than regex for extracting data from HTML.
2mo ago
php intermediate
Deprecation Notices & Migration Strategy PHP 5.0+
E_DEPRECATED warnings signal features removed in the next PHP major version — treating them as errors in CI prevents upgrade blockers from accumulating.
2mo ago
php intermediate
Division by Zero & DivisionByZeroError PHP 7.0+
PHP 7+ throws DivisionByZeroError for intdiv() and modulo with zero — but the / operator returns false or INF instead of throwing.
2mo ago
php beginner