Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.programming > #3697

Re: Model–view–controller pattern

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From "Julio Di Egidio" <julio@diegidio.name>
Newsgroups comp.programming
Subject Re: Model–view–controller pattern
Date Fri, 6 Sep 2013 22:34:44 +0100
Organization A noiseless patient Spider
Lines 1
Message-ID <l0dhpr$ous$1@dont-email.me> (permalink)
References <0d59988b-c4d1-4be0-a922-d5666f352695@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; format=flowed; charset="Windows-1252"; reply-type=original
Content-Transfer-Encoding 8bit
Injection-Date Fri, 6 Sep 2013 21:34:51 +0000 (UTC)
Injection-Info mx05.eternal-september.org; posting-host="8e5d9f63e26156542f15f98fe52b5948"; logging-data="25564"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/BnCQLZqF39cp6L8Q1/WKPjO3nrRlpZ+Y="
X-MimeOLE Produced By Microsoft MimeOLE V14.0.8089.726
In-Reply-To <0d59988b-c4d1-4be0-a922-d5666f352695@googlegroups.com>
X-Newsreader Microsoft Windows Live Mail 14.0.8089.726
Importance Normal
Cancel-Lock sha1:bvWiwhwQO15ysm7q6dMNdNzNlyM=
X-Priority 3
X-MSMail-Priority Normal
Xref csiph.com comp.programming:3697

Show key headers only | View raw


"bob" <bob@coolfone.net> wrote in message 
news:0d59988b-c4d1-4be0-a922-d5666f352695@googlegroups.com...
>
> I keep getting asked about the Model–view–controller pattern in 
> interviews.  I've looked at the Wikipedia article on it, but I still have 
> to resort to hand-waving when trying to explain it.
>
> Can someone help me understand it better in layman's terms?  For instance 
> what are the benefits of using it?

Alas, the article on Wikipedia is misguided (as many articles in the area of 
software development).  To begin with, MVC is rather a design pattern. 
Anyway, these are referenced:

<http://www.itu.dk/courses/VOP/E2005/VOP2005E/8_mvc_krasner_and_pope.pdf>
<http://blog.iandavis.com/2008/12/09/what-are-the-benefits-of-mvc/>

From the second link, a quote from GoF, Design Patterns:
<< MVC consists of three kinds of objects. The Model is the application 
object, the View is its screen presentation, and the Controller defines the 
way the user interface reacts to user input. Before MVC, user interface 
designs tended to lump these objects together. MVC decouples them to 
increase flexibility and reuse. >>

And to decrease complexity, as the very first reason for MVC was that of 
breaking circular dependencies.

Julio
 

Back to comp.programming | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Model–view–controller pattern bob <bob@coolfone.net> - 2013-09-06 12:07 -0700
  Re: Model–view–controller pattern "Julio Di Egidio" <julio@diegidio.name> - 2013-09-06 22:34 +0100
    Re: Model–view–controller pattern Rui Maciel <rui.maciel@gmail.com> - 2013-09-08 10:07 +0100
      Re: Model–view–controller pattern "Julio Di Egidio" <julio@diegidio.name> - 2013-09-08 12:56 +0100
  Re: Model–view–controller pattern Geoff <geoff@invalid.invalid> - 2013-09-06 14:57 -0700
    Re: Model–view–controller pattern Geoff <geoff@invalid.invalid> - 2013-09-06 14:59 -0700
      Re: Model–view–controller pattern bob <bob@coolfone.net> - 2013-09-07 13:57 -0700

csiph-web