-
-
Notifications
You must be signed in to change notification settings - Fork 5
Service Container
Greg Bowler edited this page May 9, 2026
·
3 revisions
- Explain dependency construction and shared services.
- Explain why it reduces manual wiring in page logic.
- Explain lazy loading only when dependencies are actually used.
- Config.
- Request and response state.
- Input and URI data.
- Database-related services.
- Binding-related services.
- Explain default service loading and application-provided service loaders.
- Explain how custom services are registered.
- Explain how to use the container to only ever have a single instance of each dependency.
- Shared infrastructure services.
- Configuration-backed helpers.
- Application-level factories/repositories.
- Hiding arbitrary dependencies everywhere.
- Treating it as a global registry for unrelated state.
Now we know how to load services in our page logic, learn how and where to build application classes.
- 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