1 / 42
文档名称:

ch06 Using Design Patterns.ppt

格式:ppt   页数:42
下载后只包含 1 个 PPT 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

ch06 Using Design Patterns.ppt

上传人:中国课件站 2011/9/6 文件大小:0 KB

下载得到文件列表

ch06 Using Design Patterns.ppt

文档介绍

文档介绍:Object-Oriented Software EngineeringPractical Software Development using UML and JavaChapter 6: Using Design Patterns? Lethbridge/Laganière 2001Chapter 6: Using design Introduction to PatternsThe recurring aspects of designs are called design patterns.?A pattern is the outline of a reusable solution to a general problem encountered in a particular context?Many of them have been systematically documented for all software developers to use?A good pattern should—Be as general as possible—Contain a solution that has been proven to effectively solve the problem in the indicated context. Studying patterns is an effective way to learn from the experience of others? Lethbridge/Laganière 2001Chapter 6: Using design patterns3Pattern descriptionContext: ?The general situation in which the pattern appliesProblem: —A short sentence or two raising the main : ?The issues or concerns to consider when solving the problemSolution: ?The mended way to solve the problem in the given context. —‘to balance the forces’Antipatterns: (Optional)? Solutions that are inferior or do not work in this context. Related patterns: (Optional) ?Patterns that are similar to this pattern. References:? Who developed or inspired the pattern.? Lethbridge/Laganière 2001Chapter 6: Using design The Abstraction-Occurrence Pattern?Context: —Often in a domain model you find a set of related objects (occurrences).—The members of such a set mon information-but also differ from each other in important ways.?Problem: —What is the best way to represent such sets of occurrences in a class diagram??Forces: —You want to represent the members of each set of occurrences without duplicating mon information? Lethbridge/Laganière 2001Chapter 6: Using design patterns5Abstraction-Occurrence ?Solution:TVSeriesseriesNameproducerEpisodenumbertitlestorySynopsis******?Occurrence??Abstraction?******TitlenameauthorLibraryItembarCodeNumber******isbnpublicationDatelibOfCo

最近更新

2024年焦作师范高等专科学校单招职业倾向性考.. 41页

2024年焦作新材料职业学院单招职业倾向性测试.. 41页

2024年燕京理工学院单招职业倾向性测试题库完.. 40页

2024年牡丹江大学单招综合素质考试题库附答案.. 40页

2024年玉溪农业职业技术学院单招综合素质考试.. 41页

2024年珠海城市职业技术学院单招综合素质考试.. 40页

2024年珠海城市职业技术学院单招职业适应性考.. 40页

2024年甘孜职业学院单招职业适应性考试模拟测.. 39页

2024年甘肃交通职业技术学院单招职业适应性考.. 40页

2024年甘肃农业职业技术学院单招职业适应性考.. 40页

2024年甘肃工业职业技术学院单招职业倾向性测.. 39页

2024年甘肃工业职业技术学院单招职业适应性考.. 40页

2024年甘肃有色冶金职业技术学院单招职业适应.. 39页

2024年甘肃机电职业技术学院单招职业适应性测.. 41页

2024年甘肃畜牧工程职业技术学院单招职业技能.. 41页

2024年甘肃省嘉峪关市单招职业适应性测试题库.. 40页

2024年甘肃省平凉地区单招职业适应性考试题库.. 41页

2024年甘肃省甘南藏族自治州单招职业倾向性考.. 40页

2024年甘肃省白银市单招职业适应性考试模拟测.. 40页

2024年甘肃省陇南地区单招职业适应性考试题库.. 41页

2024年甘肃能源化工职业学院单招职业适应性考.. 41页

2024年甘肃财贸职业学院单招职业适应性测试题.. 40页

2024年白银希望职业技术学院单招职业技能测试.. 42页

2024年百色职业学院单招职业倾向性测试题库最.. 41页

2024年皖西卫生职业学院单招综合素质考试题库.. 39页

2024年益阳医学高等专科学校单招职业倾向性测.. 41页

2024年益阳师范高等专科学校单招职业适应性测.. 40页

2025年重庆市《保安员证》考试题库含答案 39页

预防滑倒、绊倒及跌落专题培训课件 45页

混凝土工程培训课件优秀PPT 26页