← 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
Branded / Opaque Types in TypeScript 🧠 1
A technique to make structurally identical types incompatible — a UserId and an OrderId are both strings, but branding makes them distinct types so passing an OrderId where UserId is expected is a compile-time error.
3mo ago typescript advanced
B-Trees & B+ Trees
Self-balancing tree structures used in database indexes — each node holds multiple keys, keeping the tree shallow and minimising disk I/O for range queries.
3mo ago data_structures advanced
Diagram: Backends for Frontends (BFF) Backends for Frontends (BFF) PHP 7.0+
A dedicated API layer per frontend client (mobile app, web app, third-party) — each BFF aggregates and transforms microservice data for its specific client's needs.
3mo ago architecture advanced
Block Cipher Modes PHP 7.1+
How a block cipher (AES) processes data larger than one block — ECB is insecure, CBC requires a MAC, GCM provides authenticated encryption and is the correct choice.
3mo ago cryptography advanced
Business Logic Abuse
Exploiting flaws in application workflows rather than technical vulnerabilities — bypassing payment steps, abusing discount codes, manipulating quantity fields, or racing concurrent requests.
3mo ago security advanced
Backtracking
An algorithmic technique that builds solutions incrementally, abandoning a path ('backtracking') when it determines the current path cannot lead to a valid solution.
3mo ago algorithms advanced
Diagram: Bloom Filter Bloom Filter PHP 7.0+
A probabilistic data structure that tests set membership in O(1) time and O(1) space, with a tunable false-positive rate and zero false negatives.
3mo ago data_structures advanced
Diagram: Bounded Context (DDD) Bounded Context (DDD) 🧠 4
An explicit boundary within which a domain model and its ubiquitous language apply — the same term may mean different things in different contexts.
3mo ago architecture advanced
Diagram: Bulkhead Pattern Bulkhead Pattern
Isolating system components into separate resource pools so a failure in one doesn't cascade and exhaust resources for others.
3mo ago architecture advanced
Business Logic Vulnerability
Flaws in application workflow allow attackers to abuse legitimate features in unintended ways.
CWE-840 OWASP A4:2021
3mo ago security advanced 7.5
✓ schema.org compliant