Design Patterns:What? 102 16 In the book "Design Patterns",the design patterns are descriptions of communicating objects and classes that are customized to solve a general design problem in a particular context. Design patterns represent solutions to problems that arise when developing software within a particular context Institute of Computer Software 2022-2-27 Nanjing University
Design Patterns: What? In the book “Design Patterns” , the design patterns are descriptions of communicating objects and classes that are customized to solve a general design problem in a particular context. Design patterns represent solutions to problems that arise when developing software within a particular context 2022-2-27 Institute of Computer Software Nanjing University 16
&扇 About Patterns UNIVE 17 Documentation of expert software engineers "behavior" Documentation of specific reoccurring problems(and solutions) Abstraction of common design occurrences Institute of Computer Software 2022-2-27 Nanjing University
About Patterns Documentation of expert software engineers ' "behavior " Documentation of specific reoccurring problems (and solutions) Abstraction of common design occurrences 2022-2-27 Institute of Computer Software Nanjing University 17
Properties of Design Patterns 1002 18 A pattern addresses a recurring design problem that arises in specific design situations,and presents a solution to it. a Patterns document existing,well-proven design experience. Patterns provide a common vocabulary and understanding for design principles. Patterns are a means of documenting software architectures. Patterns support the construction of software with define properties. Patterns help you to manage software complexity. Institute of Computer Software 2022-2-27 Nanjing University
Properties of Design Patterns A pattern addresses a recurring design problem that arises in specific design situations, and presents a solution to it. Patterns document existing, well-proven design experience. Patterns provide a common vocabulary and understanding for design principles. Patterns are a means of documenting software architectures. Patterns support the construction of software with define properties. Patterns help you to manage software complexity. 2022-2-27 Institute of Computer Software Nanjing University 18
SmallTalk:MVC 102 19 Model-View-Controller (MVC)[Krasner and Pope,1988] Model::应用领域有关的类、对象、 数据结构以及企业的业务逻辑等; Controller View View:窗口画面,负责将Model 的实现呈现给用户; Controller::监控用户传来的信息, Model 并根据信息指挥,协调Model.与 View的合作。 Separation of concern! Institute of Computer Software 2022-2-27 Nanjing University
SmallTalk: MVC Model-View-Controller (MVC) [Krasner and Pope,1988] 2022-2-27 Institute of Computer Software Nanjing University 19 Controller View Model Model: 应用领域有关的类、对象、 数据结构以及企业的业务逻辑等; View: 窗口画面,负责将Model 的实现呈现给用户; Controller: 监控用户传来的信息, 并根据信息指挥,协调Model与 View的合作。 Separation of concern!
&扇 Design Patterns 20 Gamma,Erich,R.Helm,R. 设计模式 可复用面向对象软件的基础 Johnson,and J.Vlissides.Design 类又)一 Design Patterns patterns:Elements of Reusable Elements of Reusble Ooject-Oriented Softwvare GoF Object-Oriented Software. Addison-Wesley,1994. @知h 口 Elisabeth Freeman,Eric Freeman, urBran Design Patter Bert Bates,Kathy Sierra.Head Head First Design Patterns First Design Patterns,O'Reilly Media,2004. 2005 Jolt Awards ORELLY Institute of Computer Software 2022-2-27 Nanjing University
Design Patterns Gamma, Erich, R. Helm, R. Johnson, and J. Vlissides. Design patterns: Elements of Reusable Object-Oriented Software. Addison-Wesley, 1994. Elisabeth Freeman, Eric Freeman, Bert Bates, Kathy Sierra. Head First Design Patterns, O'Reilly Media, 2004. 2022-2-27 Institute of Computer Software Nanjing University 20 2005 Jolt Awards GoF