Tag: architecture
PHP Execution Model — Shared-Nothing Architecture
PHP 5.0+
Each PHP request runs in a completely isolated process or thread — no memory, globals, or state is shared between requests. Every request bootstraps the entire application from scratch and discards everything when it ends.
2mo ago
php intermediate
Polyglot Persistence
1
Using multiple different database technologies in a single application — each chosen for what it does best rather than forcing all data into one general-purpose store.
3mo ago
general advanced
Ports & Adapters (PHP Worked Example)
PHP 7.0+
Hexagonal Architecture in PHP — the application core exposes ports (interfaces), and adapters implement them for HTTP, CLI, databases, and external services.
3mo ago
architecture advanced
Principle of Least Privilege
PHP 5.0+
Every component should operate with the minimum permissions required to do its job — nothing more.
3mo ago
general intermediate