[development] is drupal a MVC stuff

Pierre Rineau pierre.rineau at makina-corpus.com
Fri Dec 11 16:44:02 UTC 2009


Drupal IS totally MVC, if modules are well-coded.

The fact is V (theme system) is well separated from M and C.
C is the menu router (with hook menu) and M is the module implementation
of doing things.

Event during bootstrap, first menu router is called, then only after the
end the theme renders the page (even if theme() functions are called all
among the router callback lifetime, it uses the same theme as the page).

Sometimes, rendering and data handling is really too tight, it really
depends on the module code which we are talking about. This problem
seems to be redondant in all frameworks.

Pierre.




More information about the development mailing list