Create PHP middleware with Zend Expressive php framework modules using command line tooling. And create a PHP middleware Handler and the routing needed for it to resolve using FastRoute in our web development project. Then create a RoutesDelegator to handle module specific routes within the module rather than housing routes for the entire application together. (see shortcuts below to key points) Adam Culp of Beachcasts php videos creates a PSR-15 compliant middleware with Zend Expressive php framework.
Later we will be introducing Zend Framework (Laminas Project) components, as well as components from other projects.
Next video in the series: • Configure Doctrine ORM and Dbal CLI with c...
It is part of the playlist: • PHP REST API Project with Zend Expressive
Please * LIKE, COMMENT, AND SUBSCRIBE * - and share with others!
Key Topics:
Use the Zend Expressive command line (CLI) tooling
Create a Zend Expressive module
Create a Zend Expressive middleware handler
Create HTTP routes for FastRoute
Create a Zend Expressive RoutesDelegator to handle routes per module
For a nice list of equipment I use in my studio, and to support the channel if you make any purchases (doesn't cost you a thing), visit my kit at kit.co: https://kit.co/beachcasts/beachcasts-...
Errata:
Let me know if you notice anything that should be errata
Code used in this, and in future videos in this series is located at: https://github.com/Beachcasts/doctrin...
Associated Links:
https://getexpressive.org/ - Main site for Zend Expressive
https://getlaminas.org/ - Laminas Project
https://www.jetbrains.com/phpstorm/ - The PhpStorm site for download and usage documentation
http://php.net/ - Home of the PHP programming language
https://getcomposer.org/ - Site for installing and using Composer with PHP
https://www.docker.com/ - Home of Docker Containers
https://docs.docker.com/compose/ - Documentation showing how to use Docker Compose
Timeline:
00:00 Video Intro
02:40 Using the Terminal in PhpStorm to launch expressive-tooling via CLI
03:08 How to launch Zend expressive-tooling with PHP
05:03 How to launch Zend expressive-tooling with Composer
05:25 Show how Composer knows about CLI scripts
07:25 Create a module with Zend expressive-tooling
08:20 Show how to create a module ConfigProvider to the Zend Expressive config
08:45 Show how to add an autoload namespace to Composer.json
09:33 Breakdown of ConfigProvider in Zend Expressive
11:23 Show how to add a Handler middleware with Zend expressive tooling
13:55 Breakdown of Zend Expressive Handler Factory and Handler
16:20 Load docker-compose from within PhpStorm
17:15 Add a new route for FastRoute
18:55 Use the HTTP Client in PhpStorm to make REST API calls
20:35 Add a Handler Factory to Zend Expressive
23:20 How to set up a RoutesDelegator to handle Zend Expressive module routes with FastRoute
Other Beachcasts PHP tech videos you might find interesting:
Critical programming issues preventing a PHP 7 upgrade • Critical programming issues preventing a P...
Behat for beginners functional REST API testing tutorial • Behat for beginners functional REST API te...
Doctrine ORM one-to-many bi-directional association • Doctrine ORM one-to-many bi-directional as...
PHP Mess Detector static analysis to find PHP code smells • PHP Mess Detector static analysis to find ...
Doctrine ORM one-to-many self-referencing association • PHP DoctrineORM one-to-many self-referenci...
10 reasons to become a consultant in a consulting business • Top 10 Reasons To Be a Programming Consult...
Zend Framework becomes Laminas project at Linux Foundation • Zend Framework becomes Laminas project at ...
10 bad things about consulting • Top 10 bad things about consulting, why it...
How to get lines of code in PHP • PHPLoc Lines of code static analysis to fi...
Make a List handler middleware • List handler middleware in Zend Expressive...
Make a Delete handler middleware • Delete handler middleware in Zend Expressi...
Make an Update handler middleware • Update handler middleware in Zend Expressi...
Use UUID with Doctrine ORM for DB keys • UUID with Doctrine ORM in Zend Expressive ...
Make a Create handler middlware • Create Handler middleware in Zend Expressi...
Automate Hypermedia creation for PHP REST API • Automate Hypermedia PHP REST API with Doct...
Learn about Hypermedia and how to create it • Creating Hypermedia (HAL) in PHP REST API ...
Doctrine ORM Paginator for PHP REST API • Doctrine ORM Paginator in PHP REST API wit...
Doctrine ORM Entity how to • Create Doctrine ORM Entity and pagination ...
Configure PhpStorm for PHP development with Docker • PhpStorm setup for PHP web development wit...
Create PHP development environment with docker • PHP web development environment with Docke...
Help through referrals:
Thinking of buying a Tesla electric vehicle? Use this referral link to also get six months of free Supercharging for both of us. Thank you. https://www.tesla.com/referral/tanya2...
I use TubeBuddy to help me manage my YouTube channel. If you're interested, click the following link to check it out. https://www.tubebuddy.com/beachcasts
#PhpMiddleware #ZendExpressive #Beachcasts
Nesta página do site você pode assistir ao vídeo on-line Create PHP middleware with Zend Expressive php framework - 003 duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Beachcasts Programming Videos 02 Janeiro 2019, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 6,280 vezes e gostou 139 espectadores. Boa visualização!