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 閱讀(437) 評論(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ò)電話
          主站蜘蛛池模板: 平和县| 塔城市| 昭通市| 雅安市| 吉安县| 石泉县| 山丹县| 巩留县| 元阳县| 自贡市| 建阳市| 襄垣县| 陆丰市| 淳安县| 阜新市| 聂荣县| 广元市| 翼城县| 绥宁县| 盐池县| 抚顺县| 仁化县| 怀安县| 葵青区| 阆中市| 察隅县| 临夏市| 晋中市| 红桥区| 和顺县| 迁安市| 大城县| 石景山区| 双峰县| 新郑市| 双辽市| 肇州县| 佛山市| 兰溪市| 视频| 晴隆县|