All articles
Keeping a PHP codebase DRY without a framework
PHPArchitecture
Start with the database
Wrap PDO in three or four functions and every query becomes one line.Then uploads
One function validates, renames and stores an image. One function deletes it safely.- Fewer places for bugs to hide
- Easier code reviews
- Faster onboarding