Writing
Technical articles on software engineering, architecture, tooling, tutorials and beyond.
Posts
Anemic vs Rich Domain Model
Where should business logic live?
Link Local Packages using Composer
Avoid using array_merge within a loop
Jobs (Queues) vs. Events
When to use each one?
Git: Reset last commit
git reset --soft, git reset --hard & git revert
New PHP 8.4 array functions
array_find, array_find_key, array_all & array_any
Git Rebase onto
How to modify the commit history with git rebase onto
The testing pyramid
How to structure your test suite 🗼
Three dots in PHP
First-Class Callable Syntax, Variadic function & Argument unpacking
PhpStorm tricks ✨
Customize the IDE with templates, plugins and more
Functional Tests
Unit, Integration and E2E tests
How to create a global .gitignore file
and forget to ignore the same files over and over again! ⚡️
Declaring array structures in PHP
ORM: Data Mapper vs Active Record
Which one is better and why?