The Smalltalk teams at Xerox PARC eventually settled on a design philosophy that led to easy development and high code reuse. KNown as "model-view-controller" (MVC),the concept breaks an application into three sets of interacting object classes.
- Model classes represent raw data,such as documents,settings,files,or objects in memory.
- Views are,as the name implies,visual representations of the data in the model.
- Controller classes contain logic which links the models to their views,and maintains state to keep them synchronized.
- 要实现为那些主要关心人机界面,而不是程序设计的人揭示交互式系统实现的目标,还有很远的路途。
- 关于分离与会话的主题,请参阅 [Dix2007]。
- Uims and MVC model of seeim,PAC,Smaltalk MVC and so on.
2
Today,I have brodened my kNowledge about the MVC Model,which is a vital reference model to the design of interactive system. But there many variant s of MVC,such as seeim model,smalltalk model,PAC model,Cocoa model.
Uims of Cocoa and its MVC Model V.S. PAC and Seeim Model:
http://www.alandix.com/blog/tag/mvc/
Cocoa MVC Model and Design Pattern and the Smalltalk MVC Model:
Cocoa MVC is a compound pattern including the patterns of command,composite,mediator,observer,strategy.
http://developer.apple.com/library/ios/#documentation/Cocoa/Conceptual/CocoaFundamentals/CocoaDesignPatterns/CocoaDesignPatterns.html
appendix
1 Java swing event listener processing mechanism
http://stefan321.iteye.com/blog/345221
2 Smaltalk MVC
http://st-www.cs.illinois.edu/users/smarch/st-docs/mvc.html
3 smaltalk
http://st-www.cs.illinois.edu/
4 ?mvc on wiki
http://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93controller
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。