Larry Garfield

Larry Garfield

Larry Garfield has been building websites since he was a sophomore in high school. 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, and a member of the PHP-FIG Core Committee.

Larry holds a Master’s degree from DePaul University.

Sessions Montréal 2020

Never* use arrays

Session en anglais - Intermédiaire

PHP loves arrays. They're the uber data structure. That's the problem.

In modern PHP there are almost always better options than bare arrays that are easier to use, safer, less bug-prone, and faster. Yes, all of those.

This talk will go through what PHP arrays actually are (hint: they are not arrays at all), why they're problematic, and what to do instead.

PSR-14: A major PHP Event

Session en anglais - Intermédiaire

PSR-14 is the new PHP-FIG specification addressing event dispatching. Many frameworks have an "Event system" of some kind, but all are incompatible... until now.

PSR-14 lets you interleave these systems together, letting you easily swap libraries into the framework of your choice.

We'll cover how PSR-14 works, examples of how to use it effectively, and how to adopt it alongside, and even encompassing, your existing one-off tooling.

Sessions Montréal 2019