数据流体系结构-孙志岗.PPT

  1. 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
  2. 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  3. 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
数据流体系结构-孙志岗

? sun@ 软件体系结构 3. 数据流体系结构 Data Flow Architectures 孙志岗 sun@ Styles -Moving from Qualities to Architectures Architectural styles help software engineers to reason about architectural qualities. 体系结构风格帮助软件工程师 推断软件体系结构的质量 Styles -Moving from Qualities to Architectures A style describes a class of architectures 描述一类体系结构 is found repeatedly in practice 在实践中被多次设计、应用 is a package of design decisions 是若干设计思想的综合 has known properties that permit reuse 具有已经被熟知的特性,并且可以复用 Architectural Styles A style is determined (described) by a set of component types (e.g., data repository, process, object) 一组组件类型(例如:数据容器,过程,对象) a set of connector types/interaction mechanisms (e.g., subroutine call, event, pipe) 一组连接件类型/交互机制(例如:过程调用,事件,管道) a topological layout of these components 这些组件的拓扑分布 Architectural Styles A style is determined (described) by a set of constraints on topology and behavior (e.g., a data repository is not allowed to change stored values, pipelines are acyclic) 一组对拓扑和行为的约束(例如:数据容器不能自己改变数据,管道不能是循环的 an informal description of the costs and benefits of the style, e.g.: “Use the pipe and filter style when reuse is desired and performance is not a top priority 一些对风格的成本和益处的非正式的描述,例如:如果你需要重用性并且性能不是很重要,那么可以使用管道风格 Architectural Styles Garlan and Shaw compiled a catalog of architectural styles in 1995. Others, such as Buschmann, have augmented this. There is no complete list. 没有完备的列表 There is no unique, non-overlapping list. 没有无重叠的列表 Styles overlap. 风格是彼此重叠的 Systems exhibit multiple styles at once. 一个系统通常表现出多种风格 Types of Architectural Styles Notes about Architectural Styles When we introduce a new style, we will typically first examine its “pure” form. pure architectural style are rarely found in practice 纯粹的体系风格在实际中很难遇到 systems in practice regularly deviate from the academic definitions of these systems. 循规蹈矩地背离了对这些系统的学术定义 typically feature many architectural styles simultaneously 典型地,融合很多体系风格的特色 as an architect you must understand the “pure” styles to understand the strength a

文档评论(0)

fengruiling + 关注
实名认证
内容提供者

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

1亿VIP精品文档

相关文档