Interfaces and Dependency Injection in PHP
How I use interface definitions and dependency injection in PHP to build loosely coupled classes, illustrated with practical examples.
Blog
My writing, videos and posts across platforms on software architecture, PHP, DevOps and product development. (Page 28/32)
How I use interface definitions and dependency injection in PHP to build loosely coupled classes, illustrated with practical examples.
Why I abandoned the build pipeline I built with Gulp, and what I gained — and struggled with — when switching to Webpack.
How I use Laravel's event system to decouple side effects from the main flow — with practical examples of what you gain.
My experience moving from jQuery DOM manipulation to Vue.js's data-driven approach, and how I wrote my first reactive component.
How I apply SRP — the S in SOLID — to PHP classes with concrete examples, moving beyond abstract theory.
How I manage multiple user types in a single Laravel 5.2 application using guards and route groups.