This site is archived.

Drupal Core - Object-Oriented?

Code & Development

Presenter:

Additional Presenters:  Ioseb Dzmanashvili

Track

Code & Development

Experience

Expert

Focus

Decision Maker | Developer

Drupal Core - Object-Oriented?

45 minutes (+15 minutes Q&A)

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.

Resources

This talk sounds great. I

25. June 2010 - 16:37

This talk sounds great. I hope it gets accepted and that I can make it!

i would love to hear about

11. July 2010 - 16:07

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 :-)