nontrivial非平凡的.ppt
《nontrivial非平凡的.ppt》由会员分享,可在线阅读,更多相关《nontrivial非平凡的.ppt(37页珍藏版)》请在三一办公上搜索。
1、AUTS,1,Software Engineering:A Practitioners Approach,6/eChapter 11Component-Level Design,AUTS,2,ObjectivesTo introduce component design and to explain its importanceTo introduce different views of component To introduce cohesion and coupling and to explain its importanceTo describe a number of diffe
2、rent representation techniques for procedural design and when they may be used,AUTS,3,1.Architecture design to component design2.What is a Component?3.Designing class-based component(Cohesion and Coupling)4.Designing conventional component,AUTS,4,Analysis Model-Design Model,AUTS,5,Componeng-level de
3、sign defines the data structures,algorithms,interface characteristics,and communications mechanisms allocated to each software component.,Architectural design represents the structure of data and program structure of software.,AUTS,6,1.Architecture design to component design2.What is a Component?3.D
4、esigning class-based component(Cohesion and Coupling)4.Designing conventional component,AUTS,7,What is a Component?,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 int
5、erfaces.”,a nontrivial(非平凡的),nearly independent,and replaceable part of a system that fulfils a clear function in the context of a well defined architecture-Brown和Wallnau,AUTS,8,OO view:a component contains a set of collaborating classesConventional view:logic,the internal data structures that are r
6、equired to implement the processing logic,and an interface that enables the component to be invoked and data to be passed to it.,AUTS,9,OO Component,collect the customers s requirements at the front counter,cost a print job,and then pass the job on to an antomated production facillity,Analysis class
7、,Design component,AUTS,10,OO Component,细化的设计类,AUTS,11,Conventional view,A Conventional component also called module,resides within the software architecture and serves one of three important roles:1)control component 2)domain component 3)infrastructure coponent,AUTS,12,Structure chart for a conventi
8、onal system,ConventionalComponent,AUTS,13,Conventional Component,细化后的模块,AUTS,14,1.Architecture design to component design2.What is a Component?3.Designing class-based component(Cohesion and Coupling)4.Designing conventional component,AUTS,15,Cohesion(内聚),Conventional view:the“single-mindedness(专诚性)”
9、of a module,OO view:cohesion implies that a component or class encapsulates only attributes and operations that are closely related to one another and to the class or component itself,AUTS,16,OO view,Levels of cohesionFunctional(功能内聚)Layer(分层内聚)Communicational(通信内聚)Sequential(顺序内聚)Procedural(过程内聚)Te
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- nontrivial 平凡

链接地址:https://www.31ppt.com/p-6513095.html