D7 as D8

e0ipso
plopesc

There are many ways to build your custom and contrib modules. Classic Drupal 7 modules were based on hooks and functions mostly in a single .module file. With the arrival of Drupal 8 has brought into the community coding standards and techniques to get a more modern and maintainable codebase.

This session is about how you can apply these standards and techniques to your Drupal 7 modules today. After this session you will be excited again about your D7 developments. 

Object Oriented Programming, PSR-4 class autoloading or use of external libraries using Composer are some of the tasks that can be done in Drupal 7, aiming to improve the code quality and adopt those coding standards widely extended in other PHP projects.

We will show some examples to illustrate how to create a first class code in Drupal 7 modules as Drupal 8 modules do. Besides of that, you will be more capable to jump to Drupal 8 more easily thanks to this development approach.

 

Session Track

Coding and Development

Experience Level

Advanced

Drupal Version