Главная
Study mode:
on
1
Intro
2
Framework core
3
Ecosystem
4
Agnostic Router
5
Middleware pipeline
6
PSR-15 Middlewarelnterface
7
Structure of middleware
8
src/App directory - Each module lives in its own namespace
9
src/App directory structure
10
A handler (AKA: an action)
11
Bitcoin conversion
12
Create a route
13
Routes have a method
14
HTTP Method
15
Routes have a pattern
16
FastRoute URI pattern
17
Routes have a name
18
Url helper
19
Routes have a handler
20
Handlers
21
Bitcoin handler
22
Injecting dependencies
23
Expressive configuration
24
Config Provider
25
Dependency configuration
26
Handler factory Return an instance of the handler with its injected dependencies
27
Templating - Render method to convert page
28
Twig templates
29
Action template
30
Print variables
31
Control statements
32
Template inheritance
33
Base skeleton
34
Add a form: HTML
35
Integration via ConfigProvider
36
Create an input filter
37
Validating request data
38
Resources
Description:
Explore building PHP applications with Zend Expressive 2 in this conference talk from PHP UK Conference 2018. Learn about the framework's architecture, middleware system, and PSR-15 specification implementation. Discover how to set up an application, handle routing and errors, and architect scalable projects. Dive into topics such as the framework core, ecosystem-agnostic router, middleware pipeline, and directory structure. Follow along as the speaker demonstrates creating routes, handlers, and templates, implementing dependency injection, and validating request data. By the end, gain the knowledge to create your own Expressive applications that can adapt to various project sizes and requirements.

Building Websites with Zend Expressive 2

PHP UK Conference
Add to list