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

          主站蜘蛛池模板: 元江| 会泽县| 芒康县| 普定县| 洛宁县| 鹰潭市| 牟定县| 漯河市| 板桥市| 齐河县| 长寿区| 改则县| 永德县| 五指山市| 盐山县| 调兵山市| 焦作市| 安阳县| 射阳县| 徐州市| 乌拉特中旗| 阿图什市| 固阳县| 金平| 山东省| 台东市| 随州市| 磐石市| 平塘县| 肥西县| 大竹县| 伊金霍洛旗| 永年县| 北海市| 嘉义市| 铜鼓县| 瑞昌市| 新田县| 庆元县| 蚌埠市| 通河县|