-
-
Notifications
You must be signed in to change notification settings - Fork 5
File based routing
Greg Bowler edited this page May 9, 2026
·
3 revisions
- Explain that URLs map to files and directories.
- Explain why this keeps routing obvious.
- Cover
/, nested paths, and index files. - Explain the relationship between URI paths and files in
page/.
- Explain how view files and logic files are matched by name.
- Explain what happens when only the HTML or only the PHP file exists.
- 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.
- File-based routing
- Page views
- Page logic
- Dynamic URIs
- Headers and footers
- Custom HTML components
- Page partials
- Binding data to the DOM
- DOM manipulation
- Hello You tutorial
- Todo list tutorial
- Address book tutorial WIP
- Blueprints
- Application architecture
- Coding styleguide WIP
- PHP environment setup WIP
- Web servers WIP
- Background cron tasks
- Database setup WIP
- Client-side compilation WIP
- Testing WebEngine applications WIP
- Production checklist WIP
- Security WIP