← 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
Factory Pattern
Delegates object creation to a dedicated factory, decoupling the creator from the created class and allowing subclass instantiation.
3mo ago general intermediate
Goodhart's Law
"When a measure becomes a target, it ceases to be a good measure" — optimising for metrics corrupts them and misses the underlying goal.
3mo ago general intermediate
Hyrum's Law
"With enough API users, all observable behaviours will be depended upon, regardless of documented contract" — implicit behaviours become de facto API.
3mo ago general intermediate
Idempotency
An operation is idempotent if performing it multiple times produces the same result as performing it once — essential for safe retries.
3mo ago general intermediate
Observer Pattern PHP 5.0+
Defines a one-to-many dependency so that when one object changes state, all its registered observers are notified automatically.
3mo ago general intermediate
Penetration Testing PHP 5.0+
A simulated cyberattack against a system, conducted by security professionals, to identify exploitable vulnerabilities before attackers do.
3mo ago general intermediate
Principle of Least Privilege PHP 5.0+
Every component should operate with the minimum permissions required to do its job — nothing more.
3mo ago general intermediate
Rainbow Table PHP 5.5+
A precomputed lookup table mapping hash values back to their original inputs — used to crack unsalted password hashes.
3mo ago general intermediate
Responsible Vulnerability Disclosure
The practice of privately reporting security vulnerabilities to vendors before publishing, allowing time for a fix.
3mo ago general intermediate
Singleton (Anti-Pattern)
A class that restricts instantiation to a single instance — widely considered an anti-pattern due to hidden global state and testability issues.
3mo ago general intermediate
Diagram: Static Analysis Static Analysis PHP 7.1+ 🧠 2
Automated inspection of source code without execution to find type errors, security issues, dead code, and style violations.
3mo ago general intermediate
Strategy Pattern PHP 5.0+
Defines a family of interchangeable algorithms behind a common interface, allowing the algorithm to be selected at runtime.
3mo ago general intermediate
Diagram: Threat Modelling Threat Modelling PHP 5.0+
A structured analysis process for identifying security threats, attack vectors, and appropriate countermeasures during design.
3mo ago general intermediate
Zero Trust PHP 5.0+
Never trust, always verify — authenticate and authorise every request regardless of network location.
3mo ago general intermediate
Diagram: Repository Pattern Repository Pattern PHP 5.0+ 🧠 2
Abstracts the data persistence layer behind an interface, decoupling domain logic from database implementation details.
3mo ago general intermediate
✓ schema.org compliant