← 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
Test Data Builders PHP 7.0+
A pattern for constructing test objects with sensible defaults that can be selectively overridden — reducing test setup noise and making the relevant data explicit.
3mo ago testing intermediate
Test Fixtures & setUp() Best Practices
Managing test state with setUp()/tearDown(), object mothers, and factories — keeping tests isolated, readable, and fast.
3mo ago testing intermediate
Test Isolation Strategies PHP 7.0+
Ensuring each test starts from a known clean state — using database transactions, in-memory fakes, or container resets so tests don't bleed state into each other.
3mo ago testing intermediate
Diagram: Test Pyramid Test Pyramid PHP 5.0+ 🧠 5
A model advocating many fast unit tests at the base, fewer integration tests in the middle, and a small number of slow E2E tests at the top.
3mo ago testing beginner
Diagram: Test-Driven Development (TDD) Test-Driven Development (TDD) PHP 5.0+
A development practice where tests are written before production code, driving design through the Red-Green-Refactor cycle.
3mo ago testing intermediate
Testing with pytest Python 3.6+
pytest is Python's dominant testing framework — its fixture system, parametrize decorator, and plugin ecosystem make it more powerful and less verbose than unittest.
3mo ago python intermediate
this Binding in JavaScript ES5
this is determined by how a function is called — call site, not definition site — with arrow functions as the exception (lexical this).
3mo ago javascript intermediate
Threat Intelligence
Evidence-based knowledge about attackers, their TTPs, and indicators of compromise — used to prioritise and inform defensive decisions.
3mo ago security 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
Three Pillars of Observability
Logs (events), metrics (measurements), and traces (request flows) are the three pillars of observability — together they answer 'what happened, how much, and where.'
3mo ago devops intermediate
Time Complexity (Big O)
A notation describing how an algorithm's execution time grows relative to input size — O(1), O(n), O(n log n), O(n²)…
3mo ago performance intermediate
Diagram: Timezone Handling Timezone Handling PHP 5.0+
Storing dates as UTC and converting to local timezones only for display — prevents DST bugs, ambiguous times, and incorrect date arithmetic.
3mo ago i18n intermediate
Timing Attack PHP 5.6+
Measuring how long a comparison takes reveals information about secret values — use hash_equals() to prevent it.
CWE-208 OWASP A2:2021
3mo ago security advanced 5.9
Diagram: TLS Handshake TLS Handshake 🧠 2
The negotiation process between client and server that establishes an encrypted HTTPS connection, agreeing on cipher suites and exchanging keys.
3mo ago networking intermediate
Trailing Whitespace
Spaces or tabs at the end of a line — invisible but pollutes diffs and can cause subtle PHP issues.
3mo ago style beginner
Diagram: Traits Traits PHP 5.4+ 🧠 1
Reusable code blocks that can be mixed into any class, providing horizontal code reuse without inheritance.
3mo ago php intermediate
Diagram: Transaction Isolation Levels Transaction Isolation Levels PHP 5.1+
SQL standards defining how and when changes made by one transaction are visible to others, trading consistency for concurrency.
3mo ago database advanced
Diagram: Transpilation Transpilation 🧠 1
Converting source code from one language or version to another at the same abstraction level — Babel transpiles modern JS to older JS, Rector transpiles old PHP to new PHP.
3mo ago compiler intermediate
Trunk-Based Development
All developers integrate small, frequent commits directly into a single shared branch (trunk/main), avoiding long-lived feature branches.
3mo ago devops intermediate
tsconfig.json 4.0 🧠 1
The TypeScript compiler configuration file — controlling which files are compiled, what JavaScript version is targeted, strictness settings, and module resolution.
3mo ago typescript intermediate
✓ schema.org compliant