Include-Based vs Class-Based Architecture
This article was originally published at Planet PHP
on 13 March 2011.
This is a topic I describe at length in my Organizing talk, but I would like to give the idea a home on my blog for easy reference.
Typical PHP uses what I call an include-based architecture. By this, I mean that the mere fact of including or requiring a file causes the execution of [...]