-
-
Notifications
You must be signed in to change notification settings - Fork 5
Application classes
Greg Bowler edited this page May 9, 2026
·
3 revisions
- Explain the difference between page logic and application logic.
- Explain how reusable business behaviour should move into classes.
- Services.
- Use-case classes.
- Domain entities.
- Repositories or data access helpers.
- Value objects.
- Keep page logic thin.
- Let classes own business rules and workflow decisions.
- Bind only the final output data in page logic.
- Encourage writing classes that are not tightly coupled to WebEngine.
- Explain how this improves portability and testing.
Next we'll learn about the client-side build system.
- 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