Overview
Syllabus
Intro
Framework core
Ecosystem
Agnostic Router
Middleware pipeline
PSR-15 Middlewarelnterface
Structure of middleware
src/App directory - Each module lives in its own namespace
src/App directory structure
A handler (AKA: an action)
Bitcoin conversion
Create a route
Routes have a method
HTTP Method
Routes have a pattern
FastRoute URI pattern
Routes have a name
Url helper
Routes have a handler
Handlers
Bitcoin handler
Injecting dependencies
Expressive configuration
Config Provider
Dependency configuration
Handler factory Return an instance of the handler with its injected dependencies
Templating - Render method to convert page
Twig templates
Action template
Print variables
Control statements
Template inheritance
Base skeleton
Add a form: HTML
Integration via ConfigProvider
Create an input filter
Validating request data
Resources
Taught by
PHP UK Conference