隨筆 - 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 河馬虎 閱讀(187) 評論(0)  編輯  收藏 所屬分類: java

          主站蜘蛛池模板: 会昌县| 镶黄旗| 湘潭市| 运城市| 诸暨市| 剑川县| 通河县| 济阳县| 西华县| 汝城县| 云龙县| 尖扎县| 泽州县| 永嘉县| 巴林右旗| 建阳市| 衡东县| 海丰县| 长兴县| 镶黄旗| 错那县| 阳新县| 青浦区| 陇川县| 林甸县| 靖州| 铅山县| 花莲市| 乐昌市| 和田县| 万载县| 华坪县| 台南市| 永福县| 彝良县| 朔州市| 四平市| 新巴尔虎右旗| 武宁县| 荥阳市| 谢通门县|