← 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
Error Recovery Patterns
Design strategies for gracefully handling failures and restoring system functionality without data loss or user disruption.
1mo ago general intermediate
ES Modules (ESM) ES2015
The official JavaScript module system — import and export statements enable static dependency graphs, tree-shaking, and native browser module loading without a bundler.
2mo ago javascript intermediate
Elasticsearch Fundamentals PHP 7.0+
A distributed search and analytics engine built on Lucene — storing documents as JSON, indexing them automatically, and providing a REST API for full-text search, aggregations, and real-time analytics.
3mo ago search intermediate
Engine Exceptions — Error Hierarchy (PHP 7.0) PHP 7.0+
PHP 7.0 made fatal engine errors catchable as Error subclasses — TypeError, ParseError, ArithmeticError, DivisionByZeroError — via the shared Throwable interface.
3mo ago php intermediate
Enums — First-Class Enumerations (PHP 8.1) PHP 8.1+
PHP 8.1 native enums replace class constant hacks — providing type-safe, enumerable, matchable values with optional backing values (: string or : int).
3mo ago php intermediate
Error Budget
Error budget is the allowed amount of unreliability within an SLO period — 99.9% SLO = 43.8 min/month downtime allowed. When budget is exhausted, reliability takes priority over features.
3mo ago observability intermediate
Event Sourcing vs Messaging 🧠 1
Event sourcing stores all state changes as immutable events (the source of truth) — messaging delivers events between services. They complement each other but serve different purposes.
3mo ago messaging intermediate
Event-Driven Concurrency 🧠 1
Event-driven concurrency uses a single-threaded event loop to handle many concurrent I/O operations — no threads, no locks, but requires non-blocking code throughout.
3mo ago concurrency intermediate
EventSource API — Server-Sent Events (Client Side) HTML5
EventSource is the browser API for consuming Server-Sent Events (SSE) — a one-directional server-to-client stream over HTTP that automatically reconnects, ideal for live feeds, notifications, and streaming LLM responses.
3mo ago javascript intermediate
Exhaustive Checks with never
Using the 'never' type in a default branch to make TypeScript error at compile time if a union type is not fully handled — ensures every new variant of a type forces a matching handler to be written.
3mo ago typescript intermediate
Extract Class Refactoring
Extract Class splits a large class into two — moving a cohesive subset of fields and methods into a new class that the original delegates to.
3mo ago quality intermediate
Enum::cases() & Enum from()/tryFrom() PHP 8.1+
Backed enums provide from() (throws on miss) and tryFrom() (returns null) for value lookup, plus cases() to get all cases — essential for forms and validation.
3mo ago php intermediate
Enums Implementing Interfaces PHP 8.1+
PHP 8.1 enums can implement interfaces, allowing them to be used wherever an interface is expected — enabling polymorphic enum-based dispatch.
3mo ago php intermediate
Event Loop Blocking — Long Tasks ES5
JavaScript is single-threaded — synchronous code that runs >50ms blocks the event loop, freezing UI and delaying I/O callbacks. Break long tasks into chunks.
3mo ago javascript intermediate
Exception Hierarchy (Throwable, Error, Exception) PHP 7.0+
PHP 7+ unified exceptions and fatal errors under the Throwable interface — catch Throwable to handle both Error and Exception in one block.
3mo ago php intermediate
extract() Security Risk PHP 4.0+
extract() creates variables from an array in the current scope — using it on user input ($_POST, $_GET) allows attackers to overwrite any local variable.
3mo ago security intermediate
ES6 Class Syntax ES2015
ES6 classes are syntactic sugar over prototypal inheritance — the keywords mirror PHP but the underlying mechanism is different.
3mo ago javascript intermediate
Encryption in Transit 🧠 1
Encrypting data moving between systems using TLS — protecting against interception, tampering, and man-in-the-middle attacks on all network communication.
3mo ago cryptography intermediate
Environment Variables PHP 5.0+ 🧠 1
Key-value pairs inherited by child processes — the standard way to pass configuration, credentials, and runtime settings to PHP applications without hardcoding.
3mo ago linux intermediate
Event Bus Patterns PHP 7.0+
Patterns for routing events between publishers and subscribers — in-process event buses (Symfony EventDispatcher), message broker buses (RabbitMQ, Kafka), and hybrid architectures.
3mo ago messaging intermediate
✓ schema.org compliant