Drupal Core - Object-Oriented?
Drupal Core - Object-Oriented?
Room:
tags
Drupal has been frequently criticized for its "non-OO architecture". While Drupal's architecture is very powerful, elegantly unique and uses many object-oriented design principles on a higher level, it is true that modules are not objects and most of the code is a procedural collection of simple functions. Historically heavy object-oriented design has been avoided for the sake of compatibility with PHP 4.x Now that Drupal only supports PHP 5 it's probably worth to think about more OO implementation.
What would Drupal look like if we yielded to the pressure and created purely object-oriented Drupal Core? Could we achieve the radical switch as part of Drupal8 or Drupal9? What would be the benefits and drawbacks?
Presenters are long-time Drupal developers who took time to extensively brainstorm about the problem, wrote and benchmarked proof-of-concept code and would like to share their findings with the community.
This talk sounds great. I
This talk sounds great. I hope it gets accepted and that I can make it!
i would love to hear about
i would love to hear about how a move towards an OO drupal core could help enable a move towards TDD (test-driven development) within the drupal community :-)