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.

Comments

Comments are closed.

Rated 5

Erwin Deckers at 15:39 on 8 Jun 2019

A nice look into a promising addition to the ecosystem. I'll certainly use it for my own packages.

Rated 4

Timo Schinkel at 16:29 on 8 Jun 2019

I like how Larry walks the audience through the process of how PSR-14 came to be and what decisions were made.

The examples of how to use PSR-14 were great, but Larry went through the code examples a little bit too fast for me to fully grasp the full idea of how to best implement PSR-14. Maybe doing less different examples, but instead do a more deep dive into the examples that _are_ done.

Rated 5

Paul James at 21:13 on 8 Jun 2019

A very clear introduction to PSR-14, the history of the working group and why everyone should be moving towards using the standard. Only wish we could have had more time, I could have listened to Larry all afternoon.

Rated 5

Alwin Drenth at 12:52 on 9 Jun 2019

Very informative on how PSR-14 came to live. Thank you Larry for your great talk.

Larry explained the motivation for PSR-14 and the decisions that have been made during the development of the standard.

Rated 5

Tim Huijzers at 00:21 on 10 Jun 2019

With Larry you know that it feels like you're are traveling with him through a subject. don't change a thing.

Excellent talk.

Good talk, good speaker. Larry did a great job explaining PSR-14 and explaining why it was implemented the way it is. Some great code samples show the diverse ways this specification can be used.