Procedural PHP Applications

Request Flow, Includes, and Configuration

Procedural PHP works best when each file has a single responsibility. This lesson covers the bootstrapping pattern used in the site: config first, shared helpers next, then the route file itself.

Learn how to keep public entry points thin while still making the application easy to read and maintain.

Edit the panels below and press Run to preview. Nothing you type here is saved — refreshing the page restores the original starter code.

Next lesson →