Drupal 8 Preview: Object Oriented Programming for Module Developers

Unfortunately, the live event for this webinar has passed.
No need to worry! We always post the recorded webinar and slides within 24 hours of the event. Check back soon!

Are you wondering how Drupal 8's transition to object oriented programming (OOP) will affect how you write modules in Drupal 8? In this session, we'll look at an example module, Pants, that touches most of Drupal's foundational APIs, and dive into the code differences between the Drupal 7 and 8 versions of it.

If you're new to OOP, we hope that you'll come away feeling that while there are some new concepts and approaches to learn, it's really not that scary. If you're already an OOP expert, we hope you'll enjoy how Drupal has implemented the patterns you might be familiar with.

In this webinar, you will learn how OOP affects how you:

  • Arrange classes, namespaces, and files within your module
  • Implement controllers (pages and forms)
  • Implement plugins (from blocks to field types to Views plugins)
  • Work with entities
  • Work with the configuration system