ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Frameworks - Why MVC?

February 05, 2008 3:51pm

Subscribe [1]
  • #1 / Feb 05, 2008 3:51pm

    etheon

    5 posts

    Now, before going any further, I’ll point it out right away: I’m not all-knowledgeable in all things concerning architectural models, MVC or PAC.

    I’ve read on both, however, and whilst I understand PAC is a kind of HMVC, I was just wondering : why are all frameworks based around the MVC architecture? Aren’t there any other?

    A PAC (Presentation-Abstraction-Control) seems fine to me; hell, it’s a hierarchical MVC-ish model. So why not? Is needlessly complex? Or is MVC just the “perfect” thing for web development?

    I’m also interested in learning about any other software architecture model that could replace any of those in a web framework/gui framework.

    I’m not criticizing anyone here; just wondering :p

  • #2 / Feb 05, 2008 10:44pm

    ejangi

    220 posts

    On the client-side of web-development most people have been moving towards a web-standards based approach to websites. By that I mean the separation of data, presentation and behaviours (XHTML, CSS and JavaScript). So, I think in that regard MVC is a natural progression for many web developers where again they apply those same principles. Data driven by Models, Presentation by the Views and Behaviour through Controllers.

    I think it also works well for web-development firms; Developers and DBA’s can be working on the Models and Controllers, leaving most of the Views work to Designers - while at the same time it’s a fairly simple paradigm to implement with the current scape of web-languages.

  • #3 / Feb 05, 2008 10:47pm

    ejangi

    220 posts

    I forgot to say: Check out the Wiki for more on Architectural Patterns.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases