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技術網(wǎng)站

          java技術相關

          mess

          搜索

          •  

          最新評論

          閱讀排行榜

          校園夢網(wǎng)網(wǎng)絡電話,中國最優(yōu)秀的網(wǎng)絡電話
          主站蜘蛛池模板: 贡觉县| 新绛县| 涟水县| 聂拉木县| 托克逊县| 曲靖市| 宣化县| 长沙市| 巴林右旗| 达尔| 会昌县| 周口市| 景洪市| 华亭县| 泽普县| 微山县| 云龙县| 防城港市| 乃东县| 澄迈县| 西林县| 丰城市| 旌德县| 朝阳县| 唐山市| 合阳县| 五莲县| 唐海县| 绥阳县| 平顺县| 锦屏县| 湖州市| 师宗县| 霸州市| 汉寿县| 泸水县| 张北县| 辉南县| 漳浦县| 德州市| 信阳市|