3 ms·
> Futher Drupal is essentially written in a functional style I did not know this. Could elaborate or possibly share an example?
by cadencemcshane 16y ago
> Futher Drupal is essentially written in a functional style
I did not know this. Could elaborate or possibly share an example?
- mikey_p 16y agoGenerally Drupal doesn't use a class or similar OO construct to manage it's organization of individual modules. Some of the various sub systems of Drupal are moving to more traditional OO structure (such as the database abstraction layer) and some module do as well, but it is definitely not required by the framework the same way that most MVC apps such as Rails are setup. This doesn't mean that Drupal doesn't/can't have a clean abstraction of presentation, business logic and routing, but it's not enforced in the same way that some other frameworks handle things. See http://drupal.org/node/547518 http://drupal.org/node/547518 for some more examples.