Intermediate terms
Message Queue Patterns
Core messaging patterns — competing consumers, scatter-gather, request-reply, message filter, and routing slip — solve recurring distributed communication challenges.
3mo ago
messaging intermediate
Message Serialization (Avro/Protobuf)
Binary serialization formats (Avro, Protobuf, MessagePack) are faster and smaller than JSON for high-throughput messaging — with schema evolution support for Avro.
3mo ago
messaging intermediate
Method Chaining Pitfalls & Alternatives
Method chaining (fluent interfaces) improves readability for builders but creates debugging difficulties, encourages temporal coupling, and can hide null returns.
3mo ago
quality intermediate
Migrating from PHP 4 to PHP 5
PHP 4.0+
PHP 4→5 migration: objects now pass by reference, add visibility (public/protected/private), replace var with typed properties, fix object assignment semantics, and adopt try/catch.
3mo ago
php intermediate
Migrating from PHP 7 to PHP 8
PHP 7.0+
PHP 7→8 migration: fix type coercion changes (stricter), remove deprecated functions (each(), create_function()), update match/constructor promotion, check third-party compatibility.
3mo ago
php intermediate
MutationObserver API
HTML5
MutationObserver watches DOM tree changes — attribute changes, child additions/removals, text content changes — without polling or event listener on each node.
3mo ago
javascript intermediate
Mutex & Locking
1
A mutex (mutual exclusion lock) ensures only one thread/process can access a critical section at a time — the fundamental primitive for preventing race conditions.
3mo ago
concurrency intermediate
match() Default Arm vs No Default
PHP 8.0+
match() without a default arm throws UnhandledMatchError if no arm matches — unlike switch, which silently falls through.
3mo ago
php intermediate
Migrating from PHP 5.x to PHP 7 and 8
PHP 5.0+
PHP 7 removed mysql_*, ereg functions, and several deprecated features — a systematic approach using Rector and PHPCompatibility catches 95% of issues automatically.
3mo ago
php intermediate
Managed Databases
Cloud-hosted database services where the provider manages patching, backups, failover, and scaling — RDS (AWS), Cloud SQL (GCP), Azure Database — trading control for operational simplicity.
3mo ago
cloud intermediate
Meilisearch & Typesense
PHP 7.0+
1
Open-source, self-hosted search engines with PHP SDKs — fast BM25 search, typo-tolerance, and faceting without the operational complexity of Elasticsearch.
3mo ago
search intermediate
Memento Pattern
PHP 5.0+
A behavioural pattern that captures an object's internal state and stores it externally so it can be restored later — enabling undo, snapshots, and versioning without exposing internals.
3mo ago
quality intermediate
Memory Management — Stack vs Heap
PHP 5.0+
1
The stack holds function call frames with fixed-size local variables — fast, automatic, limited. The heap holds dynamically allocated objects — flexible, managed by GC, slower.
3mo ago
compiler intermediate
Message Serialisation
JSON (readable, flexible), Avro (schema-enforced, compact, Kafka standard), Protobuf (typed, 5-10x smaller) — matching format to volume and schema requirements.
3mo ago
messaging intermediate
MIME Sniffing & X-Content-Type-Options
PHP 5.0+
Browsers that sniff file content to guess MIME type can execute uploaded HTML/JavaScript files as scripts — X-Content-Type-Options: nosniff prevents this.
3mo ago
security intermediate
Missing CSRF Protection
PHP 5.0+
A state-changing form or endpoint that lacks a CSRF token allows attackers to forge authenticated requests from any website the victim visits.
3mo ago
security intermediate
ML Types
Supervised (labelled examples), unsupervised (find patterns), reinforcement learning (reward signals), and self-supervised (model creates its own labels).
3mo ago
ai_ml intermediate
Mobile Web Performance
Optimising web applications for mobile constraints — slower CPUs, limited RAM, high-latency 4G/5G, and battery sensitivity require different optimisation priorities than desktop.
3mo ago
mobile intermediate
Magic Methods (__get, __set, __call…)
PHP 5.0+
1
Special PHP methods invoked automatically in response to language events — property access, method calls, serialisation, and more.
3mo ago
php intermediate
Maintainability Index
5
A composite metric (0–100) combining Halstead volume, cyclomatic complexity, and lines of code to estimate how easy code is to maintain.
3mo ago
quality intermediate