欢迎来到课桌文档! | 帮助中心 课桌文档-建筑工程资料库
课桌文档
全部分类
  • 党建之窗>
  • 感悟体会>
  • 百家争鸣>
  • 教育整顿>
  • 文笔提升>
  • 热门分类>
  • 计划总结>
  • 致辞演讲>
  • 在线阅读>
  • ImageVerifierCode 换一换
    首页 课桌文档 > 资源分类 > PPT文档下载  

    软件工程实践者的研究方法chapter09cn构件设计.ppt

    • 资源ID:644475       资源大小:481.50KB        全文页数:14页
    • 资源格式: PPT        下载积分:10金币
    快捷下载 游客一键下载
    会员登录下载
    三方登录下载: 微信开放平台登录 QQ登录  
    下载资源需要10金币
    邮箱/手机:
    温馨提示:
    用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)
    支付方式: 支付宝    微信支付   
    验证码:   换一换

    加入VIP免费专享
     
    账号:
    密码:
    验证码:   换一换
      忘记密码?
        
    友情提示
    2、PDF文件下载后,可能会被浏览器默认打开,此种情况可以点击浏览器菜单,保存网页到桌面,就可以正常下载了。
    3、本站不支持迅雷下载,请使用电脑自带的IE浏览器,或者360浏览器、谷歌浏览器下载即可。
    4、本站资源下载后的文档和图纸-无水印,预览文档经过压缩,下载后原文更清晰。
    5、试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。

    软件工程实践者的研究方法chapter09cn构件设计.ppt

    These slides are designed to accompany Software Engineering:A Practitioners Approach,7/e(McGraw-Hill,2009).Slides copyright 2009 by Roger Pressman.,1,第九章,构件级设计,Slide Set to accompanySoftware Engineering:A Practitioners Approach,7/e by Roger S.PressmanSlides copyright 1996,2001,2005,2009 by Roger S.PressmanFor non-profit educational use onlyMay be reproduced ONLY for student use at the university level when used in conjunction with Software Engineering:A Practitioners Approach,7/e.Any other reproduction or use is prohibited without the express written permission of the author.All copyright information MUST appear if these slides are posted on a website for student use.,靶赵酒怒巫批堂懦裕盎俩清挟杠裹甥联肮详婴幅拜题跨违勺触树猿投饿娱软件工程-实践者的研究方法chapter_09_cn_构件设计软件工程-实践者的研究方法chapter_09_cn_构件设计,什么是构件?,OMG Unified Modeling Language Specification OMG01 defines a component as“a modular,deployable,and replaceable part of a system that encapsulates implementation and exposes a set of interfaces.”OO view:a component contains a set of collaborating classesConventional view:logic,the internal data structures that are required to implement the processing logic,and an interface that enables the component to be invoked and data to be passed to it.,These courseware materials are to be used in conjunction with Software Engineering:A Practitioners Approach,6/e and are provided with permission by R.S.Pressman&Associates,Inc.,copyright 1996,2001,2005,2,罩内竞喇谍诚锄矮瓮也溅哑俩劫边液狈水烽啃上庐职邀粉骡层馏太饭侦程软件工程-实践者的研究方法chapter_09_cn_构件设计软件工程-实践者的研究方法chapter_09_cn_构件设计,什么是构件?,构件是计算机软件中的一个模块化的构造块。OMG UML规范对构件的定义:系统中模块化的、可配置的和可替换的部件,该部件封装了实现并暴露了一组接口。OMG Unified Modeling Language Specification OMG01 defines a component as“a modular,deployable,and replaceable part of a system that encapsulates implementation and exposes a set of interfaces.”,These courseware materials are to be used in conjunction with Software Engineering:A Practitioners Approach,6/e and are provided with permission by R.S.Pressman&Associates,Inc.,copyright 1996,2001,2005,3,搭嘛跪轧猜硼肉凉鼓廊赴噶蓄扩黔骑例艾挞探烫赦敦海树霸苦蝴全比溜砾软件工程-实践者的研究方法chapter_09_cn_构件设计软件工程-实践者的研究方法chapter_09_cn_构件设计,什么是构件?,在面向对象软件工程环境中,构件包括一组协作的类(有时,一个构件只包含一个单独的类)。OO view:a component contains a set of collaborating classes。,These courseware materials are to be used in conjunction with Software Engineering:A Practitioners Approach,6/e and are provided with permission by R.S.Pressman&Associates,Inc.,copyright 1996,2001,2005,4,香鳞丝哦诗替乓返破拎矗铃苔内缀因册运遁搅娟踊找括皂谣梨需恒咱嚣鼓软件工程-实践者的研究方法chapter_09_cn_构件设计软件工程-实践者的研究方法chapter_09_cn_构件设计,什么是构件?,与面向对象的构件相似,传统的软件构件也来自分析模型。不同的是,传统的软件构件是以分析模型中的数据流要素作为导出构件的基础。,These courseware materials are to be used in conjunction with Software Engineering:A Practitioners Approach,6/e and are provided with permission by R.S.Pressman&Associates,Inc.,copyright 1996,2001,2005,5,桂损孺谗博伎蛋铣墒吮理戮耶肥弯派叛豹炎虏矽捉料嫂浙桌酣丈磕姿袍妨软件工程-实践者的研究方法chapter_09_cn_构件设计软件工程-实践者的研究方法chapter_09_cn_构件设计,面向对象构件,These courseware materials are to be used in conjunction with Software Engineering:A Practitioners Approach,6/e and are provided with permission by R.S.Pressman&Associates,Inc.,copyright 1996,2001,2005,6,膨羡滇睛淄劳询夷莫膜统诽瀑掏屈涩屋现獭指进剧释嵌内质疮攘丝灿拄垄软件工程-实践者的研究方法chapter_09_cn_构件设计软件工程-实践者的研究方法chapter_09_cn_构件设计,基本设计原则,开关原则/The Open-Closed Principle(OCP).“A module component should be open for extension but closed for modification.Liskov替换原则/The Liskov Substitution Principle(LSP).“Subclasses should be substitutable for their base classes.依赖倒置原则/Dependency Inversion Principle(DIP).“Depend on abstractions.Do not depend on concretions.”接口分离原则/The Interface Segregation Principle(ISP).“Many client-specific interfaces are better than one general purpose interface.重用-发布等价原则/The Release Reuse Equivalency Principle(REP).“The granule of reuse is the granule of release.”公共闭合原则/The Common Closure Principle(CCP).“Classes that change together belong together.”全部重用原则/The Common Reuse Principle(CRP).“Classes that arent reused together should not be grouped together.”,These courseware materials are to be used in conjunction with Software Engineering:A Practitioners Approach,6/e and are provided with permission by R.S.Pressman&Associates,Inc.,copyright 1996,2001,2005,7,Source:Martin,R.,“Design Principles and Design Patterns,”downloaded from http:,2000.,壹滩拷市倒遂讶些拔铸俺摆鄙幽秩惶铝月吻页胀捡蚂暮柠盼晕稗华耳兰其软件工程-实践者的研究方法chapter_09_cn_构件设计软件工程-实践者的研究方法chapter_09_cn_构件设计,OCP 原则,模块应该对外延具有开放性,对修改具有封闭性。参看例子。Sensor.docx,These courseware materials are to be used in conjunction with Software Engineering:A Practitioners Approach,6/e and are provided with permission by R.S.Pressman&Associates,Inc.,copyright 1996,2001,2005,8,椎轿乃截设庇盈抖在引与劈礁厕忽限宰曳陇挺渗爷镣苇狰表林谐嗣岛苦戒软件工程-实践者的研究方法chapter_09_cn_构件设计软件工程-实践者的研究方法chapter_09_cn_构件设计,DIP原则,依赖于抽象,而非具体实现。dip.docx,These courseware materials are to be used in conjunction with Software Engineering:A Practitioners Approach,6/e and are provided with permission by R.S.Pressman&Associates,Inc.,copyright 1996,2001,2005,9,酌染祸悟异钧漳膨涅炭饮嘎梧农酝塌黔顶沂绚侗折蛤航押问症尧豆瀑具峙软件工程-实践者的研究方法chapter_09_cn_构件设计软件工程-实践者的研究方法chapter_09_cn_构件设计,组件级别设计,P179。,These courseware materials are to be used in conjunction with Software Engineering:A Practitioners Approach,6/e and are provided with permission by R.S.Pressman&Associates,Inc.,copyright 1996,2001,2005,10,雌眷竿唉赤垛百吊练观谭自化迂臃氏刚撵盟趁恒炯野子崔番览梭离纽侨佛软件工程-实践者的研究方法chapter_09_cn_构件设计软件工程-实践者的研究方法chapter_09_cn_构件设计,协作图,These courseware materials are to be used in conjunction with Software Engineering:A Practitioners Approach,6/e and are provided with permission by R.S.Pressman&Associates,Inc.,copyright 1996,2001,2005,11,稗猛忱傈掉尽俞太毒露苍丑臆裤豫务判淮艘藐捍仔纵租睬踊怔纤勤撬肘勃软件工程-实践者的研究方法chapter_09_cn_构件设计软件工程-实践者的研究方法chapter_09_cn_构件设计,重构,These courseware materials are to be used in conjunction with Software Engineering:A Practitioners Approach,6/e and are provided with permission by R.S.Pressman&Associates,Inc.,copyright 1996,2001,2005,12,葱门垦淋嗅竹圃硬赊尚滴宰田扫眨颜刁劳纲秸赘赂左婴糖薪苍周弱试勇屉软件工程-实践者的研究方法chapter_09_cn_构件设计软件工程-实践者的研究方法chapter_09_cn_构件设计,动作图,These courseware materials are to be used in conjunction with Software Engineering:A Practitioners Approach,6/e and are provided with permission by R.S.Pressman&Associates,Inc.,copyright 1996,2001,2005,13,胰提慈驻绩鹏稗顷肇狙敢呢针医针售胚空复曰篱作宝腮剪燃妆抢袁卫漆囱软件工程-实践者的研究方法chapter_09_cn_构件设计软件工程-实践者的研究方法chapter_09_cn_构件设计,状态图,These courseware materials are to be used in conjunction with Software Engineering:A Practitioners Approach,6/e and are provided with permission by R.S.Pressman&Associates,Inc.,copyright 1996,2001,2005,14,栗铰氦奇栓呈乓乞拂驻纺陕肠瑟磷玩释片谈撕简撒钞吓启弟帅饯糊淮客华软件工程-实践者的研究方法chapter_09_cn_构件设计软件工程-实践者的研究方法chapter_09_cn_构件设计,

    注意事项

    本文(软件工程实践者的研究方法chapter09cn构件设计.ppt)为本站会员(夺命阿水)主动上传,课桌文档仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知课桌文档(点击联系客服),我们立即给予删除!

    温馨提示:如果因为网速或其他原因下载失败请重新下载,重复下载不扣分。




    备案号:宁ICP备20000045号-1

    经营许可证:宁B2-20210002

    宁公网安备 64010402000986号

    课桌文档
    收起
    展开