Drupal Programming Paradigms - Theory and Practice

darrenmothersele

Adopting Drupal 8 moves us towards more modern PHP practices. In Drupal 8 we're becoming more object-oriented, and moving away from procedual code.

Modern PHP supports a wide range of programming techniques including procedural, object-oriented, functional, and meta-programming.

  • What can make learning a new programming style easier?
  • What can make learning Drupal 8 easier?
  • How can we make best use of modern PHP features in Drupal?

The answer to all of these questions is: learn some programming language theory!

In this session we will review some theoretical concepts in an accessible way. You don't need to have studied computer science before. I'll use clear explainations, and relate it all to real examples in Drupal 7 and Drupal 8.

Topics will include object-oriented semantics, interfaces, higher-order functions, closures, monads, and promises.

Attendees will walk away with confidence to move forward with new styles of programming.

 

Session Track

Coding and Development

Experience Level

Advanced

Drupal Version