← CodeClarityLab Home
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
List Comprehensions & Generator Expressions Python 2.0+
Compact syntax for creating lists — [x*2 for x in range(10) if x%2==0] — and lazy generators that avoid materialising the full sequence.
2mo ago python beginner
list() / Short Array Destructuring PHP 5.5+
Assigns array elements to variables in a single expression — list($a, $b) or the shorthand [$a, $b] = $array.
2mo ago php beginner
Diagram: Load Balancing Load Balancing PHP 5.0+
Distributing incoming requests across multiple servers to maximise throughput, minimise latency, and eliminate single points of failure.
2mo ago devops intermediate
Diagram: Load Testing Load Testing PHP 5.0+
Testing system behaviour under expected and peak load conditions to identify performance bottlenecks and breaking points before they affect users.
2mo ago testing intermediate
Local File Inclusion (LFI) PHP 5.0+
A PHP include/require driven by user input that can load arbitrary local files, sometimes leading to code execution.
CWE-98 OWASP A3:2021
2mo ago security intermediate 7.5
Locale-Aware Formatting PHP 5.3+
Formatting numbers, currencies, and dates according to locale conventions — 1,234.56 in en-US is 1.234,56 in de-DE, and currency symbols and date formats vary by locale.
2mo ago i18n intermediate
Log Injection PHP 5.0+
Writing unsanitised user input into log files allows attackers to forge log entries or inject control characters.
CWE-117 OWASP A9:2021
2mo ago security intermediate 5.3
Long Method PHP 5.0+
A function or method that is too long to understand in one reading — typically 20+ lines is a signal to split.
2mo ago quality beginner
Long Parameter List
A function or method with too many parameters — typically 4+ — making calls hard to read and easy to get wrong.
2mo ago quality beginner
Diagram: Long Polling & Server-Sent Events (SSE) Long Polling & Server-Sent Events (SSE) PHP 5.0+
Server-side push techniques for PHP — long polling holds HTTP connections open until data is ready; SSE streams events over a persistent HTTP response.
2mo ago architecture intermediate
Lookahead & Lookbehind
Zero-width assertions that match a position based on what precedes or follows — without consuming characters, enabling context-sensitive matching.
2mo ago regex advanced
Diagram: LRU Cache LRU Cache
A fixed-size cache that evicts the Least Recently Used entry when full, implemented with a hash map and doubly linked list for O(1) get and put.
2mo ago data_structures advanced
Lazy Loading HTML5
Defer loading or initialising a resource until it is actually needed, reducing startup cost and memory usage.
2mo ago performance beginner
Lazy Objects (PHP 8.4) PHP 8.4+
PHP 8.4 native lazy objects defer object initialisation until first property access — previously requiring proxy libraries, now built into the engine via ReflectionClass.
php advanced
✓ schema.org compliant