-
-
Notifications
You must be signed in to change notification settings - Fork 6
Distinct Logic Authority
Greg Bowler edited this page May 9, 2026
·
4 revisions
- Explain that each operational state of the application should have one clear entry point.
- Explain why URLs should represent meaningful application state.
- Explain how Hypermedia applications (plain HTML over HTTP) promote higer quality code.
- Immediately obvious which line of code is the entry point to the logic.
- Improves traceability.
- Avoids duplicated behaviour spread across the system.
- Keeps request handling comprehensible.
- Connect the idea to file-based routing and thin page logic.
- Show how distinct URLs and distinct logic reinforce each other.
- Example: debug why a button isn't working - page is on a URL, easily find the page logic, find the function from the button value.
- Example: any redirects are explained in
X-Location-Sent-Fromheader. - Example: any
goordofunctions are explained inX-Logic-Executionheader.
Next, read SPA vs MPA.
- 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