posts - 97,  comments - 93,  trackbacks - 0
          U may come across model view controller desigh pattern.It was first introduced by  Trygve Reenskaug. More details,MVC can be broken down into three elements.
          <1>Module  Usually,in enterprise software,it presents the logic of the commercial bean.To the SE Swing GUI,it contains data and the rules that govern access to and updates of this data.
          <2>View  It specifies exactly how the module data should be presented,changing with the model data.
          <3>Controller   Controller defines all the methods connecting to the user action which are called by the View.
          Especially,the model doesn't carry a reference to the view but instead uses an event-notification model to notify insteaded parties of a change.One of the consequences of this powerful design is that many views can have the same model.When a change in the data model occurs,each view is notified by a property change event and can change itself accordingly.Hence, the controller may mediate the data flow between the model and the view in both directions,which helps to more completely decouple the model from the view,and the controller may also provide the methods which effect the model's property changes for one or more views that are registered with it.

          ....Next,may be the two days after tomorrow ,I ll give a real example to explain this schema in details.......
          posted on 2007-03-26 23:16 wqwqwqwqwq 閱讀(439) 評論(0)  編輯  收藏 所屬分類: No Category
          <2007年3月>
          25262728123
          45678910
          11121314151617
          18192021222324
          25262728293031
          1234567




          常用鏈接

          留言簿(10)

          隨筆分類(95)

          隨筆檔案(97)

          文章檔案(10)

          相冊

          J2ME技術(shù)網(wǎng)站

          java技術(shù)相關(guān)

          mess

          搜索

          •  

          最新評論

          閱讀排行榜

          校園夢網(wǎng)網(wǎng)絡(luò)電話,中國最優(yōu)秀的網(wǎng)絡(luò)電話
          主站蜘蛛池模板: 河东区| 介休市| 长阳| 宜春市| 襄樊市| 纳雍县| 阜新市| 甘洛县| 巴马| 平利县| 上高县| 田阳县| 云安县| 宾川县| 延川县| 千阳县| 措勤县| 永顺县| 茌平县| 正阳县| 济南市| 通辽市| 繁峙县| 东乡族自治县| 舟山市| 融水| 沧州市| 革吉县| 松阳县| 垣曲县| 新丰县| 安平县| 济南市| 永德县| 库尔勒市| 周口市| 纳雍县| 广宗县| 利川市| 无棣县| 博兴县|