PHP Design patterns in Drupal 8

piyuesh23
AjitS

Drupal coming out of the shadows of NIH (Not invented here)  saw the adoption of Object oriented Programming & collaboration with other PHP/JS frameworks most notably symfony components, being inducted in PHP-FIG, the future looks bright.

Drupal 8 core makes use of various concepts/Design patterns that were not native to Drupal in the past, most of us who started with Drupal as their primary framework find it difficult to adapt to new brave world of OOP and Design patterns. The prime goal of this session is to talk about this major shift of Developer experience from perspective of a Drupal 7 developer and highlight its merit.

Major talking points:

  • Design Patterns / PHP features used in Drupal 8: Trouble wading through Dependency Injection, Service containers, Factory Methods, PHP traits, Discovery Methods, strategy, singleton, etc I’ve got you covered and with code walkthroughs and Demos.

  • PSR standards, namespaces, autoloading

  • Practical examples from Drupal 8 codebase illustrating their use and importance.

  • Symfony components adopted by Drupal 8

Key take-away:

  • Understanding of symfony components used in Drupal 8.

  • Understanding of design-patterns/OOPs concepts used in the core.

Session Track

PHP

Experience Level

Intermediate

Drupal Version