Alessandro Lai Alessandro Lai avatar Sergio Santoro Sergio Santoro avatar

5 minute read

Almost like a nice tradition, we went to the PHP Day conference this year as well; this time too it was held in Verona, on May 13th and 14th.

We participated and attended numerous talks and, as last year, we wanted to write a light summary; this won’t be a full “review”, but our intent instead is to highlight what captured our interest most, or what we found more valuable for our everyday work.

In this way, we hope to give a brief glimpse of what we experienced to fellow developers that hadn’t the opportunity to attend, and to tempt some of you to join conferences like this one or those in the PHP community at large, for your personal and professional growth.

The talks are in chronological order, and we linked the slides when available. Enjoy your reading!

Technical Talks

Your API is a UI

  • Christopher Hoult (@choult)
  • Day 1 - 11:00 – 12:00 - track 1

This was an interesting and very smooth talk. It stayed pretty general with nice advices about API development, but showed some reasoning about a pyramidal “scheme of priorities” that we should follow, deriving from the Maslow’s hierarchy of needs.

Dip Your Toes in the Sea of Security

  • James Titcumb (@asgrim)
  • Day 1 - 14:30 – 15:30 - track 1 (slides)

In this talk we saw an interesting overview of security issues that a web application can encounter. It ranged from basic SQL injection, to timing attacks (that were explained pretty well!), to CSRF protection.

How I learned to stop worrying and love Regular Expressions

  • Jordi Boggiano (@seldaek)
  • Day 1 - 15:30 – 16:30 - track 1 (slides)

In this talk we went from basic regular expressions, to basic pattern recognition, to advanced usage; the speaker took also the time to explain to us how the regex engine works, through thorough examples of pattern matching advancement and backtracking. Also, bonus points for the slides! They were pretty neat, and everything was themed to the Dr. Strangelove movie, from images to phrases used in the examples.

Dockerizing your PHP CI Pipelines

This talk was about using Jenkins with Docker and having optimized pipelines for fast builds and short commit-to-deploy times. It should have been a 1-hour-long talk, so the speaker had to cut short on a lot of things, but I took a lot of useful advice from it nonetheless. Fortunately, he was kind enough to give the extra bits of his talk in the unconference track the day after.

Drinking Beer with a Raspberry Pi and PHP

This talk was uncommon but really funny. The speaker explained that programming the Raspberry Pi is possible even with PHP! He showed us a working example of an AaaS (Alcohol as a Service) machine. It was a simple tool with a liquid pump and a flow detector that is used to fill up glasses with any kind of drink. It can be activated via API as any regular service. The speaker also explained how it is possible to communicate with external devices via the powerful IO pins using Unix device files.

Evolution of Web Application Architecture

  • Kore Nordmann (@koredn)
  • Day 2 - 15:30 – 16:30 - track 2 (slides)

The talk covered the evolution of the technological stack behind a normal web application, from single-server to multi-server architecture. Each addition to the stack was discussed and weighted, without taking for granted any single step: from adding a master-slave database configuration, to caching session and\or query results. This gave us a pretty clear idea of when and why such steps should be taken while adding new functionalities to a project, or overcoming technical challenges.

Being functional in PHP

This talk was an introduction to functional programming. The speaker compared highly declarative languages such as Erlang with PHP. He demonstrated the options we have to adopt functional programming in PHP. Basic concepts were covered in a clear and simple way: mapping, reduction, function composition and higher-order functions. Particular focus was given to the use of pure functions and their main advantage: the absence of side effects. Finally, the speaker went through an interesting comparison between OOP and functional programming, showing their strengths and weaknesses.

Keynotes

Deploying PHP 7

Rasmus is a veteran at PHPDay, and he gives opening keynotes here almost every two years. This year’s was obviously about PHP 7, and it was more a technical talk than else. It went from benchmark data to technical tips on how to smooth the transition to this new major version of PHP.

How Badoo Saved $1M Switching to PHP7

  • Nikolay Krapivnyy
  • Day 2 - 09:45 – 10:45 (slides)

The blog post about this technological switch made the rounds on a lot on PHP-related websites some months ago; this talk was very technical too, and it showed us how big is Badoo’s technological stack, with 3000 servers, 1000 of which running PHP. It gave us a nice overview of the technical challenges that their tech team endured to do this upgrade, and how it gave them the possibility to save more than a half of their hardware resources; also…

comments powered by Disqus