Skip to content

Instantly share code, notes, and snippets.

@iio7
iio7 / proceduralphp.md
Last active April 7, 2021 17:45 — forked from InFog/proceduralphp.md
PHP Procedural Framework Manifesto

Procedural PHP Manifesto

  1. Procedural Code over Object Orientation
  • No one needs OO to develop web applications
  1. Explicitly load what you need over autoloaders
  • Autoloaders are complex, we need manual control. Use require.
  1. One PHP file per URL
  • The web server IS the front controller. That's how the architecture is supposed to work.
  • PHP cannot do MVC.