[TYPO3-dev] Food for thought: Drupal and OOP

Dimitri Tarassenko mitka at mitka.us
Thu Apr 13 17:57:17 CEST 2006


Patrick,

On 4/13/06, Patrick Gaumond <patrick at typo3quebec.org> wrote:
>  From the intro:
> "Drupal often gets criticized by newcomers who believe that
> object-oriented programming (OOP) is always the best way to design
> software architecture, and since they do not see the word "class" in the
> Drupal code, it must be inferior to other solutions."

And it clearly is. The words "Some of the reasons are historical" and
"Drupal's theme architecture quite elegantly handles the situation
using its own function dispatch system" sound just too damn
familiar;))

Of course, we can copy the excuses from a system with an even more
flawed design. But shouldn't we improve our system design instead? (I
am not even considering the possibility that you are suggesting
Drupal's "OO" practices should be followed ;))

--
Dimitri Tarassenko


More information about the TYPO3-dev mailing list