Esta sesión puede ser tanto en inglés como en español.
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. The arrival of Drupal 8 has brought into the community new 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.