PHP Generics That Work Today: A Practical Guide
Native generics in the PHP engine remain a future dream, but static analysis with PHPStan and Psalm lets us write 100% type-safe generic code today. Here is how to master @template in practice.
Engineering, Architecture & AI
Architectural case studies, lessons from 11+ years with PHP, legacy modernization, cloud containerization, and modern AI engineering tools. Each article includes a summary and direct friend link to the full read.
Native generics in the PHP engine remain a future dream, but static analysis with PHPStan and Psalm lets us write 100% type-safe generic code today. Here is how to master @template in practice.
You finish your task, write clean logic, tests pass, but your PR sits blocked for days. An analysis of code review bottlenecks and strategies to accelerate delivery.
From Git Flow and GitHub Flow to Trunk-Based Development and Release Trains. Learn how to match branching models to team maturity and release cadence.
Why asking 'Docker vs. Kubernetes' is a category error. Clarifying the distinct boundaries between containers, runtimes, and distributed cluster orchestration.
Architectural playground with PHP 8.4, Symfony 7, CQRS, and DDD. Analyzing two distinct strategies for feeding read models and event streams without database lockups.
Comparing two prominent DI philosophies: Laravel’s dynamic container ergonomics against Symfony’s compiled, strictly validated service container.
A battle-tested story of untangling legacy systems: 4,000-line controllers, zero unit tests, global state, and the systematic extraction of modular business logic.
An honest retrospection on the perils of overengineering. When design patterns, microservices, and Event Sourcing become goals rather than pragmatic solutions.
Why traditional MVC is an awkward fit for modern web APIs. Shifting from monolithic multi-action controllers to the clean Action-Domain-Responder (ADR) pattern.
An analysis of data center infrastructure powering generative AI. Water cooling consumption, electrical draw, and the environmental footprint of LLM inference.
How software engineering problem-solving evolved over decades: from printed manuals and newsgroups, through Stack Overflow, to contextual AI synthesis.
Why blindly copying LLM-generated code creates a catastrophic new breed of technical debt: 'AI Spaghetti'. The irreplaceable role of architectural judgment.
Why sequential integers pose major security and scalability risks. Discover UUIDv7: time-ordered, distributed identifiers optimized for database B-Tree indexes.
Daemonless architecture, rootless containers, and native podman generate kube. Why Podman is replacing Docker across enterprise development and production.
A practical guide to separation of concerns in PHP. Extracting database transactions, email dispatching, and external integrations from controllers into dedicated domain services.