DrupalCon sessions about PHP
Last time, we gathered together DrupalCon Baltimore sessions about DevOps. Before that, we explored the area of Front End, Site Building, Drupal Showcase, Coding and Development, Project Management and Case Studies. And that was not our last stop. This time, we looked at sessions that were presented in the area of PHP.
Advanced debugging techniques from Patrick Allaert
This session was not about Xdebug. It was about tools that let you know what’s really happening in your PHP code. Tools like the phpdbg debugger, process tracing tools like strace, ltrace, the Linux inotify mechanism, tcpdump/wireshark for network analysis or MySQL Proxy for real-time SQL debugging and monitoring.
Bending Behat’s Benefits by Steve Persch from Pantheon
This session covered some of the good, bad, and ugly ways Pantheon uses Behat. Behat is a tool for having better conversations with your team about expectations for the software being built.
Dependency Injection in PHP and Drupal by Hussain Abbas from Axelerant
In this session, attendees learned what Dependency Injection is and how it helps them structure their programs better. They learned some very basic concepts like constructor injection with analogies and examples and then moved on to see how it is done in real life.
Development Workflow Tools for Open-Source PHP Libraries by Greg Anderson from Pantheon
In this session, the author looked at how attendees could get the most out of GitHub source code repository, Packagist package manager for Composer, Travis CI continuous integration service, Coveralls code coverage service, Scrutinizer static analysis service, Box2 phar builder, Sami api documentation generator, ReadTheDocs online documentation reader service, Composer scripts and projects for running local tests and builds. After mastering these tools, attendees should be able to quickly set up a new PHP library project and use it in their Drupal modules.