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


Groups > comp.lang.java.gui > #4801

Re: MVC - simplified?

From markspace <-@.>
Newsgroups comp.lang.java.gui
Subject Re: MVC - simplified?
Date 2011-12-06 09:38 -0800
Organization A noiseless patient Spider
Message-ID <jbljuk$apo$1@dont-email.me> (permalink)
References <MVC-20111206170519@ram.dialup.fu-berlin.de>

Show all headers | View raw


On 12/6/2011 8:23 AM, Stefan Ram wrote:
>    When is it sensible to simplify MVC for small GUI applications?
>
>    What about the following simplifications:
>
>    * Do not de-couple the model from the view via the observer
>    pattern in cases where the view and model are quite fixed,


I would say "almost never."  The only exception would be very small demo 
programs like the type found in the Java tutorial, where it often 
combines views, controllers and model data into one large class.

At a guess, around 300 lines of code or less.  Anything more than that 
is likely to be too large to be easily understood by anyone, and 
therefore isn't a useful demo, nor easy to maintain so it's not a viable 
professional work either.

Back to comp.lang.java.gui | Previous | Next | Find similar


Thread

Re: MVC - simplified? markspace <-@.> - 2011-12-06 09:38 -0800

csiph-web