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


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

Re: MVC: how do I stop mu

From "ram" <ram@THRWHITE.remove-dii-this>
Subject Re: MVC: how do I stop mu
Message-ID <MVC-20070923212708@ram.dialup.fu-berlin.de> (permalink)
Newsgroups comp.lang.java.gui
References <KtWdnVU2doZ-JmvbnZ2dneKdnZydnZ2d@pipex.net>
Date 2011-04-27 15:39 +0000
Organization TDS.net

Show all headers | View raw


  To: comp.lang.java.gui
"Mungo Henning" <mungoh@gmail.com> writes:
>So the clean model of "when view changes, alert the model; when
>model changes, alert all views" has to become a little muddied.

  Java (Swing) does not use MVC.

  In MVC, the view never notifies the model.

  In MVC, the controller notifies the model.

  In MVC, there is no loop, because the change initiated by a
  user action flows from the controller to the model and then to
  the view and then the flow has come to a halt - no loop.

  I am aware of the problem you have posed, 
  but this has to do with Swing - not with MVC.

  For Swing Architecture, see:

http://java.sun.com/products/jfc/tsc/articles/architecture/

  For MVC, see:

http://st-www.cs.uiuc.edu/users/smarch/st-docs/mvc.html

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

Back to comp.lang.java.gui | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

MVC: how do I stop mutual "Mungo Henning" <mungo.henning@THRWHITE.remove-dii-this> - 2011-04-27 15:39 +0000
  Re: MVC: how do I stop mu "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> - 2011-04-27 15:39 +0000
    Re: MVC: how do I stop mu "Mungo Henning" <mungo.henning@THRWHITE.remove-dii-this> - 2011-04-27 15:39 +0000
      Re: MVC: how do I stop mu "ram" <ram@THRWHITE.remove-dii-this> - 2011-04-27 15:39 +0000
  Re: MVC: how do I stop mu "Filip Larsen" <filip.larsen@THRWHITE.remove-dii-this> - 2011-04-27 15:39 +0000
  Re: MVC: how do I stop mu "ralpe" <ralpe@THRWHITE.remove-dii-this> - 2011-04-27 15:39 +0000

csiph-web