Building Websites with Zend Expressive 2
summary
Shows how to build a real Expressive app that scales by demonstrating a working Bitcoin demo, wiring dependencies with factories and a config provider, and validating user input with Zend input-filter. Explains routing with FastRoute default, middleware implemented to the PSR-15 middleware spec, and installation via composer create-project. Covers DI container choices, template or API-only responses, the exact request/response handlers used, and that the demo actually runs and returns JSON or HTML as configured.
AI-written summary · about
chapters (36)
- 0:00Intro
- 2:07Framework core
- 2:49Ecosystem
- 3:37Agnostic Router
- 5:38Middleware pipeline
- 8:19PSR-15 Middlewarelnterface
- 9:43Structure of middleware
- 13:54src/App directory - Each module lives in its own namespace
- 14:30src/App directory structure
- 14:57A handler (AKA: an action)
- 16:15Bitcoin conversion
- 16:39Create a route
- 16:55Routes have a method
- 17:12HTTP Method
- 17:36Routes have a pattern
- 17:48FastRoute URI pattern
- 19:09Routes have a name
- 19:44Url helper
- 20:06Routes have a handler
- 20:22Handlers
- 21:25Bitcoin handler
- 22:43Injecting dependencies
- 23:25Expressive configuration
- 24:35Config Provider
- 25:02Dependency configuration
- 25:59Handler factory Return an instance of the handler with its injected dependencies
- 27:22Templating - Render method to convert page
- 28:11Twig templates
- 28:40Action template
- 29:11Control statements
- 30:03Base skeleton
- 31:54Add a form: HTML
- 33:18Integration via ConfigProvider
- 34:11Create an input filter
- 35:40Validating request data
- 40:12Resources
related talks
49mKicking off with Zend Expressive and Doctrine ORM
58mIntroducing Zend Framework 3
03h 07mZF2 Modules Workshop
38mExpress 101
47mQuick Start for Zend Framework 2
02h 44mCreating a website using the latest version of eZ Platform
52mZF2 MVC Events and Module
01h 03mMaximising Performance With Zend Framework
