← Home ← Codex ← DEBT
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
Law of Demeter
A design guideline: a method should only call methods on itself, its parameters, objects it creates, and its direct fields.
3mo ago quality intermediate
Law of Demeter — PHP Examples
The Law of Demeter (don't talk to strangers) limits method chains — each unit should call only its direct collaborators, not traverse object graphs.
3mo ago quality intermediate
LDAP Injection PHP 5.6+
Unsanitised input manipulates LDAP query filters, bypassing authentication or exposing directory data.
CWE-90 OWASP A3:2021
3mo ago security intermediate 7.5
Linux Processes PHP 5.0+
Every running program is a process with a PID, memory space, and file descriptors — ps, top, kill, and signals are the essential tools for managing them.
3mo ago linux intermediate
Liskov Substitution Principle
Subtypes must be substitutable for their base types without altering the correctness of the program.
3mo ago quality intermediate
Diagram: Load Balancing Load Balancing PHP 5.0+
Distributing incoming requests across multiple servers to maximise throughput, minimise latency, and eliminate single points of failure.
3mo ago devops intermediate
Diagram: Load Testing Load Testing PHP 5.0+
Testing system behaviour under expected and peak load conditions to identify performance bottlenecks and breaking points before they affect users.
3mo ago testing intermediate
Local File Inclusion (LFI) PHP 5.0+ 🧠 1
A PHP include/require driven by user input that can load arbitrary local files, sometimes leading to code execution.
CWE-98 OWASP A3:2021
3mo ago security intermediate 7.5
Locale-Aware Formatting PHP 5.3+
Formatting numbers, currencies, and dates according to locale conventions — 1,234.56 in en-US is 1.234,56 in de-DE, and currency symbols and date formats vary by locale.
3mo ago i18n intermediate
Log Injection PHP 5.0+
Writing unsanitised user input into log files allows attackers to forge log entries or inject control characters.
CWE-117 OWASP A9:2021
3mo ago security intermediate 5.3
Diagram: Long Polling & Server-Sent Events (SSE) Long Polling & Server-Sent Events (SSE) PHP 5.0+ 🧠 1
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
✓ schema.org compliant