← 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
Cognitive Load in Code Design
The mental effort required to understand code — good design minimises extraneous cognitive load so developers can focus on the problem, not the code structure.
3mo ago general intermediate
Colour-Blind Accessible Design CSS3 🧠 1
Design for the 8% of men with colour vision deficiency — pair colour with icons, labels, and patterns; never use colour as the only differentiator.
3mo ago accessibility intermediate
Conventional Commits Tooling
Automating semantic versioning and changelog generation from commit messages using commitizen, commitlint, standard-version, and semantic-release.
3mo ago git intermediate
Cryptographic Hash Functions PHP 5.1+ 🧠 1
One-way functions producing a fixed-length digest — SHA-256, SHA-3, and BLAKE3 are secure for data integrity; MD5 and SHA-1 are broken and must not be used for security.
3mo ago cryptography intermediate
Cryptography Common Mistakes PHP 7.1+
IV reuse, ECB mode, rolling your own crypto, timing vulnerabilities, and SHA-256 for passwords — the most frequent implementation errors.
3mo ago cryptography intermediate
CSS Logical Properties CSS4
CSS properties that map to physical directions based on writing mode — margin-inline instead of margin-left/right, padding-block instead of padding-top/bottom — enabling RTL support automatically.
3mo ago frontend intermediate
CSS Subgrid CSS4
Subgrid (grid-template-columns: subgrid) allows a nested grid element to participate in its parent's grid tracks — aligning children across the parent's columns without duplicating track definitions.
3mo ago frontend intermediate
Custom Events & EventTarget API ES2015
Creating and dispatching custom DOM events for decoupled component communication — alternatives to direct function calls and third-party event emitters.
3mo ago javascript intermediate
Diagram: Caching Strategies (APCu, Redis, Memcached) Caching Strategies (APCu, Redis, Memcached) PHP 5.0+
Storing computed results or fetched data so future requests can be served without repeating expensive operations.
3mo ago performance intermediate
Diagram: Canary Release Canary Release PHP 5.0+
Gradually routing a small percentage of traffic to a new release, monitoring for issues before a full rollout.
3mo ago devops intermediate
Diagram: CDN Edge Caching CDN Edge Caching PHP 5.0+
Content Delivery Networks cache responses at edge nodes close to users — reducing latency and origin load, controlled via Cache-Control headers.
3mo ago performance intermediate
Diagram: Chain of Responsibility Pattern Chain of Responsibility Pattern PHP 5.0+
Passes a request along a chain of handlers, each deciding whether to process it or pass it to the next handler.
3mo ago quality 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
Clickjacking PHP 5.0+
A malicious page overlays an invisible iframe over your site, tricking users into clicking UI elements they cannot see.
CWE-1021 OWASP A4:2021
3mo ago security intermediate 6.5
Clickjacking & CSP frame-ancestors PHP 5.0+
Tricking users into clicking hidden UI elements by overlaying a transparent iframe — prevented by CSP frame-ancestors or the X-Frame-Options header.
CWE-1021 OWASP A4:2021
3mo ago security intermediate 6.1
Cohesion
The degree to which elements within a module belong together; high cohesion means a class does one thing and does it well.
3mo ago quality intermediate
Diagram: Command Injection Command Injection PHP 5.0+ 🧠 1
User input passed to a shell function (exec, system, shell_exec) allows arbitrary OS command execution.
CWE-78 OWASP A3:2021
3mo ago security intermediate 9.8
Command Pattern PHP 5.0+
Encapsulates a request as an object, enabling queuing, logging, undo/redo, and decoupling of request sender from receiver.
3mo ago quality intermediate
Command Query Separation (CQS) 🧠 1
Methods should either return a value (query) or change state (command), but never both.
3mo ago quality intermediate
Diagram: Common Table Expressions (CTEs) Common Table Expressions (CTEs) PHP 5.0+ 🧠 1
Named temporary result sets defined with the WITH clause that can be referenced in a query, improving readability and enabling recursive queries.
3mo ago database intermediate
✓ schema.org compliant