Skip to content
Greg Bowler edited this page May 9, 2026 · 3 revisions
  • Explain that URLs map to files and directories.
  • Explain why this keeps routing obvious.

How Paths Resolve

  • Cover /, nested paths, and index files.
  • Explain the relationship between URI paths and files in page/.

HTML and PHP Pairing

  • Explain how view files and logic files are matched by name.
  • Explain what happens when only the HTML or only the PHP file exists.

Keep code obvious

  • Explain how this model leads to faster navigation of code and fewer routing tables to maintain.
  • Explain how advanced concepts can be kept simple, like dynamic URIs.

Let's learn about HTML in page views, then we'll cover PHP in page logic.

Clone this wiki locally