Chapter08设计工程….pptVIP

  1. 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
  2. 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  3. 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
  4. 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
  5. 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们
  6. 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
  7. 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
Chapter 8 设计工程 Design Concepts and Principles 8.1 软件设计 软件设计一般分为两个阶段 总体设计——概要设计,系统设计,体系结构设计 详细设计——模块设计,构件级设计,过程(算法) 设计 设计的依据是需求规格说明书 基于类的元素→数据/类设计,体系结构,接口,模块 基于场景的元素→软件接口 面向流的元素→体系结构,接口,模块 行为元素→接口,模块 Analysis to Design Where Do We Begin? 8.2 设计过程和设计质量 软件设计是一个迭代过程 通过设计,需求被变换成用于构建软件的“蓝图” McGlaughlin评价设计良好演化的三个特征: 设计必须实现所有包含在分析模型中的明确需求,而且必须满足客户期望的所有蕴含需求。 对于编码、测试和维护人员而言,设计必须是可读的、可理解的指南。 设计必须提供软件的全貌,从实现的角度说明数据域、功能域和行为域。 设计质量指导原则(p149) 软件质量属性(p150) 设计决定软件的稳定性 Wasserman’s Five Ways of Design Modular decomposition High-level function depiction→lower-level components organization Data-oriented decomposition General data structure depiction → Data elements Event-oriented decomposition System state depiction → State transformations Outside-in design All possible input depiction → What the system does for producing outputs Object-oriented design Object type → attributes and action → relationship Design Principles(Davis [DAV95]) The design process should not suffer from ‘tunnel vision.’ The design should be traceable to the analysis model. The design should not reinvent the wheel. The design should “minimize the intellectual distance” between the software and the problem as it exists in the real world. The design should exhibit uniformity and integration. The design should be structured to accommodate change. The design should be structured to degrade gently, even when aberrant data, events, or operating conditions are encountered. Design is not coding, coding is not design. The design should be assessed for quality as it is being created, not after the fact. The design should be reviewed to minimize conceptual (semantic) errors. 8.3 设计概念 抽象abstraction—data, procedure, control 逐步求精refinement—elaboration of detail for all abstractions 模块化modularity—compartmentalization of data and function architecture—overall structure of the software Structural properties Extra-structural properties Styles and patterns procedure—the algorithms that achieve function 信息隐蔽hidin

文档评论(0)

琼瑶文档 + 关注
实名认证
文档贡献者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档