Ever need to add authentication to an application? Or log HTTP messages? Maybe you wanted to trim trailing slashes from URIs. Or add security features such as CORS, Content-Security-Policy, or other headers. How do you easily enable the features, or enable them only for certain contexts within your application? The PSR-7 HTTP Messages specification created an ecosystem of PHP middleware that provide solutions to these problems! We'll cover creating an Expressive application that composes middleware from a variety of ecosystems in order to demonstrate that, in the end, there's a middleware solving every problem.

Comments

Comments are closed.

Brian Johnson at 14:04 on 24 Oct 2017

Great information. Thanks for sharing.

Chris Ostrom at 14:41 on 24 Oct 2017

Awesome, thank you!

Matthew did a fantastic job presenting on middleware. He articulated his words, talked very clearly, demonstrated a deep understanding of middleware, and gave a good amount of technical examples. Overall an excellent presentation. Only suggestion would be to show a round-trip example to tie everything together.

Great talk

Kevin Stich at 09:09 on 25 Oct 2017

Great overview of the pattern and how it's helpful internally. Would have been nice to hear about using it for external requests, but time is limited.

matthew hill at 15:51 on 25 Oct 2017

After this talk I am convinced that middleware is not a fad, and feel ready to tackle what before felt like a formidable leap.

Great examples and analogies.

John at 15:58 on 26 Oct 2017

Very good speaker and very good talk. His keynote was even better.

Daniel at 19:07 on 26 Oct 2017

Great talk, thanks for presenting

Chris Ostrom at 07:30 on 30 Oct 2017

Very informative. Thanks!

Very informative session. Thanks Matthew!

Jason Davis at 12:30 on 31 Oct 2017

Best presentation I’ve seen so far on why middleware is valuable

Dan Chao at 16:19 on 1 Nov 2017

Very informative. Covered a lot of content in an organized way. Thank you!

Enjoyable & informative.