A metaphor for Drupal module's inner workings

Posted by PHP thinker on Stack Overflow See other posts from Stack Overflow or by PHP thinker
Published on 2009-08-24T10:02:16Z Indexed on 2010/06/03 9:24 UTC
Read the original article Hit count: 491

Filed under:
|
|

What is the best application workflow metaphor for Drupal module? In PHP frameworks we think MVC-style. How do we think inside Drupal?

Asumming I am writing some user-oriented module like Shop, Catalog or Forum. As far as I understand there are no or few MVC based modules. Should I generally treat Drupal modules (as sub-application) as a number of screens connected via forms and hyperlinks or there is a better way.

My question may be a little bit speculative, but I hope someone will share my intent to think models, not just "scripts".

© Stack Overflow or respective owner

Related posts about web-applications

Related posts about drupal