[development] is drupal a MVC stuff

Vladimir Zlatanov vlado at dikini.net
Fri Dec 11 13:27:20 UTC 2009


The way the MVC term is used to describe various web  (MVC) frameworks
- yes. In fact I believe all of them squint to be able to see the MVC.

If one wants to be really strict, in a design pattern lawyer kind of way - no.

Drupal components are not designed with OO in mind, although there are
clear parallels, and MVC is a pattern for OO design, speaking
strictly, it makes no real sense outside OO designs.

But put polarised glasses, and start lighting the source with various
light sources, and behold various design patterns showing up.
Subject-obesrver  - hooks. Protocols - the hook instances. MVC or
rather MVC adapted for the web - what Sun used to call model2, etc...


More information about the development mailing list