-
-
Notifications
You must be signed in to change notification settings - Fork 5
Page views
Greg Bowler edited this page May 9, 2026
·
3 revisions
- Define a page view as the HTML that represents the response.
- Explain why views stay in HTML rather than being assembled with string output.
- Explain authoring pages as normal HTML first.
- Explain how default placeholder content can remain useful before binding.
- This is really good for starting a prototype, and can convert a prototype to production without needing to rewrite.
- Explain the relationship between the requested URL and the matching view file.
- Explain how multiple view files can contribute to one response: custom components and page templates - link to the relevant sections of the relevant pages.
- Encourage semantic HTML and clear structure.
- Encourage designing the page shape before introducing logic.
When views need to be made dynamic, we'll use 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