隨筆 - 34, 文章 - 1, 評論 - 2, 引用 - 0
          數據加載中……

          MVC

        1. Model - The model represents data and the rules that govern access to and updates of this data. In enterprise software, a model often serves as a software approximation of a real-world process.
        2. View - The view renders the contents of a model. It specifies exactly how the model data should be presented. If the model data changes, the view must update its presentation as needed. This can be achieved by using a push model, in which the view registers itself with the model for change notifications, or a pull model, in which the view is responsible for calling the model when it needs to retrieve the most current data.
        3. Controller - The controller translates the user's interactions with the view into actions that the model will perform. In a stand-alone GUI client, user interactions could be button clicks or menu selections, whereas in an enterprise web application, they appear as GET and POST HTTP requests. Depending on the context, a controller may also select a new view -- for example, a web page of results -- to present back to the user.

          1   MVC explain  from Sun
                      http://java.sun.com/blueprints/patterns/MVC-detailed.html
          2  Java SE Application Design With MVC
                  http://java.sun.com/developer/technicalArticles/javase/mvc/
          3  Applying MVC
                  http://www.javadude.com/articles/vaddmvc1/mvc1.htm
          4   good  sample
                http://leepoint.net/notes-java/GUI/structure/40mvc.html
        4. 5  MVC design
              http://javadude.com/articles/index.html


          posted on 2010-01-14 15:04 河馬虎 閱讀(182) 評論(0)  編輯  收藏 所屬分類: java

          主站蜘蛛池模板: 手游| 沁源县| 宿松县| 射洪县| 腾冲县| 吉林市| 孟津县| 枣阳市| 津市市| 阿拉尔市| 凤山县| 策勒县| 涟源市| 寿光市| 白山市| 龙岩市| 星子县| 崇礼县| 太保市| 嘉黎县| 永川市| 德清县| 探索| 龙陵县| 凉城县| 巧家县| 绥滨县| 盐亭县| 马边| 卢氏县| 泾阳县| 邳州市| 思南县| 浮山县| 将乐县| 浦城县| 竹山县| 鄱阳县| 株洲县| 东兴市| 泽库县|