- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
SOEN 343Software Design Section H Fall 2006 Dr Greg Butler http://www.cs.concordia.ca/~gregb/home/soen343h-f06.html Responsibilities, Principles, Patterns Design Good Design, Smells, Evolutionary Design TDD (Test Driven Design) RDD (Responsibility Driven Design) GRASP Principles Information Expert, Creator, Polymorphism What is Design? Developing a blueprint (plan) for a mechanism that performs the required task, … taking into account all the constraints, … making trade-offs between constraints when they are in conflict. Design vs. Requirements and Implementation. Requirements Design Implementation Design Levels Architectural design . . . Detailed design . . . Implementation (executable designs) Two complimentary approaches to design Planned Design vs. Evolutionary Design Can we get away with only planned design? Evolutionary Design What is the probability that a S/W design will need to be updated? Change is inevitable, evolutionary design recognizes this. As software is changed, generally it becomes more complex unless effort is made to keep it simple. Evolutionary Design Practices XP Test driven development (TDD) Do not add code unless you have a test failing … Important characteristics “Full” automated test suites Refactoring Help us learn detailed design idioms, patterns, … Prerequisites to Successful Evolutionary Design? Testing … lots of automated testing. Refactoring … keeping the design simple. Continuous integration Actually, testing is a prerequisite to refactoring. Refactoring A refactoring is a change made to the internal structure of S/W to make it easier to understand and less expensive to modify, without changing its observable behavior. Can you pick out a good design? What is a good design? Satisfies user needs. Is a simple as possible. Kent Beck: Runs all tests Reveals intention. No duplication. Fewest number of classes or methods … can you smell bad design choices? “Bad Smells” Duplication. Long method. … we will be learnin
您可能关注的文档
- Servlet and JSP filter培训教程文件.ppt
- Sgirl整合推广方案培训教程文件.ppt
- SIPA培训教程文件.ppt
- signalandsystem优秀讲义.ppt
- simulation课件 培训教程文件.ppt
- SJGC培训教程文件.ppt
- Single Chamber ECG 打印稿培训教程文件.ppt
- SI基本知识培训教材培训教程文件.ppt
- Sissy 中级口译Lecture 培训教程文件.ppt
- SNP检测技术培训教程文件.ppt
- Sociology培训教程文件.ppt
- Software Engineering for Digital Home单元软体处理程序与需求分析培训教程文件.ppt
- SoftCo框架及配置培训教程文件.ppt
- SOHO Networking types of network培训教程文件.ppt
- Solar Cells培训教程文件.ppt
- Solar Energy Utilization in China培训教程文件.ppt
- Solar cell materials培训教程文件.ppt
- SIRC PRODUCTION OF ROTARY 培训教程文件.ppt
- Socket及ServerSocket用法优秀讲义.ppt
- SolidworksCOSMOSWorks介绍和实例详解培训教程文件.ppt
最近下载
- 《新媒体传播》课件.ppt VIP
- 2025年安全员c2考试试题库(答案+解析).docx
- GBT45001-2020SO45001:2018 职业健康安全管理体系要求及使用指南.pdf VIP
- 个人业绩相关信息采集表含政治表现、最满意、主要特点、不足.pdf VIP
- 部编版六年级上册道德与法治教案:感受生活中的法律知识.docx VIP
- 货运保险与货损理赔通道整合2025年应用前景.docx VIP
- 《飞机构造基础》课件——第一章 飞机结构.pptx VIP
- 中医治疗“慢脾风”医案37例.doc
- 小学科学新教科版二年级上册第一单元 造房子教案(共6课)(2025秋).docx VIP
- 2025年广西公需科目第二套答案.docx VIP
文档评论(0)