Help for Those Struggling with Object-oriented PHP in Drupal 8

Presenters: davidhernandez

With Drupal 8, developers have to get used to object-oriented programming. This has been a difficult transition for many people; especially, if you don't tend to have your face buried in code all day.

Over the past couple years, I've trained developers of all skill levels how to program with Drupal 8. This session will cover the key elements of Drupal 8 as an application and the OOP fundamentals that I find cause the most confusion.

Topics this will include:

  • Basic keyword and operator usage
  • The autoloader
  • Name spacing
  • Interfaces and class inheritance
  • Taking advantage of your IDE
  • How to understand the code you see in base classes to understand how they are intended to be used

Prerequisites:

This talk is geared towards beginner to intermediate level developers. At least some experience in PHP is required, as we'll be going over code. Knowledge of Drupal is not entirely necessary, as I'll mostly be covering topics specific to PHP, though we will use Drupal 8 as the example. I will not spend much time covering Drupal module development.

Audience
Experience Level
Beginner
Schedule Info
Conference Year
2018
Status
Proposed
Session Track
Coding and Development