Terms starting with "T"
A methodology for building scalable, maintainable SaaS applications using twelve best practices for configuration, processes, and services.
3mo ago
architecture intermediate
Requiring a second verification factor (OTP, hardware key) in addition to a password dramatically reduces account takeover risk.
OWASP A7:2021
3mo ago
security beginner
A distributed transaction protocol ensuring all nodes commit or all roll back — providing strong atomicity across multiple databases.
3mo ago
architecture advanced
An algorithmic pattern using two indices that move through a sorted array to find pairs or subarrays satisfying a condition in O(n) instead of O(n²).
3mo ago
algorithms intermediate
Type Casting in PHP
PHP 5.0+
Explicitly converting a value to another type using (int), (string), (array), (object) casts or intval(), strval() functions.
3mo ago
php beginner
Type Coercion
PHP 7.0+
PHP's automatic conversion between types can produce unexpected comparison results, leading to logic bugs and security bypasses.
CWE-704 OWASP A3:2021
3mo ago
php intermediate
8.1
Type Declarations Overview
PHP 7.0+
PHP's full type system: scalar types, return types, union types, intersection types, nullable, never, and mixed — all enforced at runtime.
3mo ago
php intermediate
Type Juggling
PHP 5.0+
PHP's loose comparison (==) can produce unexpected results — "0e123" == "0e456" is true, enabling auth bypasses.
CWE-704 OWASP A3:2021
3mo ago
security intermediate
8.1
Type Safety in PHP (strict_types & Static Analysis)
PHP 7.4+
Combining strict_types=1, typed properties, return types, union types, and PHPStan/Psalm to catch type errors at analysis time rather than runtime.
3mo ago
quality intermediate
Types of Cohesion
Cohesion grades from Coincidental (worst — random grouping) to Functional (best — single well-defined purpose), guiding module design decisions.
3mo ago
quality advanced
Types of Coupling
Coupling grades from Content (worst — direct internal access) to Message (best — pure interface communication), guiding decoupling decisions.
3mo ago
quality advanced
Types of Technical Debt
Technical debt is not uniform — deliberate vs inadvertent, reckless vs prudent quadrants define the nature of debt and the appropriate response to each type.
3mo ago
quality intermediate
Type parameters that allow functions, classes, and interfaces to work with any type while preserving type information — the TypeScript equivalent of PHP templates or Java generics.
3mo ago
typescript advanced
Both define object shapes, but interfaces are open (mergeable via declaration merging) while type aliases are closed — types are more flexible for unions and computed types.
3mo ago
typescript intermediate
TypeScript Strict Mode
2.3
A tsconfig flag that enables the strictest type-checking options — strictNullChecks, noImplicitAny, and others — catching the most common TypeScript pitfalls.
3mo ago
typescript intermediate
TypeScript Type System
2.0
TypeScript adds static types to JavaScript — catching type errors at compile time rather than runtime, while remaining a superset that compiles to plain JavaScript.
3mo ago
typescript intermediate
Built-in generic types that transform existing types — Partial, Required, Pick, Omit, Record, Readonly, ReturnType — eliminating the need to manually duplicate type definitions.
3mo ago
typescript intermediate