DPC2019: PSR-14: A major PHP Event - Larry Garfield

Published: 01 July 2019
on channel: Ibuildings Dutch PHP Conference
643
19

"PSR-14: A major PHP Event by Larry Garfield

PSR-14 is the latest specification from the PHP Framework Interoperability Group (PHP-FIG), this time addressing event dispatching. Many frameworks and applications contain an ""event dispatcher"", ""message bus"", ""hook system"", or some other variation on the same basic concept, but to date they are all incompatible with each other.

No more! The PSR-14 spec offers a way to interleave these disparate systems together, making it far easier to swap individual libraries into the framework of your choice. It goes beyond the basic ""register and call"" object that most systems use to make it easier to plug different implementations together, offering an easier experience and greater flexibility for library authors.

This session will cover how PSR-14 works, some examples of how to leverage it effectively, and how to adopt it alongside, and even encompassing, your existing one-off tooling.

What you'll learn from this talk:


What is the new PSR-14 spec from FIG and how does it work?
How can I leverage events in my library in a framework-agnostic way?



About Larry Garfield

Larry Garfield has been building websites since he was a sophomore in high school, which is longer ago than he'd like to admit. Larry was an active Drupal contributor and consultant for over a decade, and led the Drupal 8 Web Services initiative that helped transform Drupal into a modern PHP platform.
Larry is Director of Developer Experience at Platform.sh, a leading continuous deployment cloud hosting company. He is also a member of the PHP-FIG Core Committee.
Larry holds a Master’s degree in Computer Science from DePaul University. He blogs at both https://platform.sh/ and https://www.garfieldtech.com/.


This talk was given at the Dutch PHP Conference in 2019, organised and hosted by Ibuildings. Visit https://phpconference.nl or https://www.ibuildings.nl for more information."


Watch video DPC2019: PSR-14: A major PHP Event - Larry Garfield online without registration, duration hours minute second in high quality. This video was added by user Ibuildings Dutch PHP Conference 01 July 2019, don't forget to share it with your friends and acquaintances, it has been viewed on our site 643 once and liked it 19 people.