®
IBM Software Group
软件架构原理
IBM 软件部王家欣
© 2006 IBM Corporation
IBM Software Group | Rational software
内容
什么是软件架构?
架构带来什么好处?
以架构为核心的软件开发过程
用例与架构
架构的步骤
架构的描述与架构基线
架构开发实现
2
IBM Software Group | Rational software
架构一词的来源
建筑行业:
建筑中包含多个层面的技术
外观、挖掘、地基、结构、墙、地板、电梯、电气、空调、水、卫生
其它专门为居住者提供服务的设施
架构师需要把所有的层次结合起来:
使客户理解
在建造的过程中为施工者提供指导
架构相关于所有事情
架构为所有人提供一个共同的远景目标
架构不包括每个部分的细节
3
IBM Software Group | Rational software
Architecture: 三种不同的解释
Architecture as a process or discipline
建造供所有类型的人使用的大厦的艺术或科学The art or science of
building or constructing edifices of any kind for human use
建造的活动或过程The action or process of building
依据建筑物的详细的结构和装饰的组织而采用的特殊的方法或风格
The special method or style in accordance with which the details
of the structure and ornamentation of a building are arranged
Architecture as an artifact
架构设计工作: 结构, 建筑物
总体的构造或结构
Webster’s Ninth Collegiate Dictionary
4
IBM Software Group | Rational software
什么是软件架构?
期望其与建筑架构起到相同的作用:
将软件的所有层次组合在一起
便于客户理解
为建造过程提供指导
软件架构包含了过于下列方面的重要决定:
软件系统的组成
对所包括的系统及其接口的结构元素的选择,以及元素间的协作行为
结构和行为元素如何组成不断增长的更大的子系统
架构风格:组成元素与接口、相互协作、相互组合
架构元素不仅与结构和行为有关,也和用法、功能、性能、适应
性、重用、可理解性、经济和技术的限制、折中、美学等有关
5
IBM Software Group | Rational software
软件架构定义的发展
Perry and Wolf, 1992
A set of architectural (or design) elements that have a particular form. Perry and Wolf further distinguish between
processing elements, data elements, and connecting elements.
Boehm et al., 1995
A software system prises
A collection of software and ponents, connections, and constraints
A collection of system stakeholders' need statements
A rationale which demonstrates that ponents, connections, and constraints define a system that, if implemented,
would satisfy the collection of system stakeholders' need statements.
Clements et al., 1997
The software architecture of a program puting system is the structure or structu
最新精品-最新精品范文-软件架构原理讲座 来自淘豆网m.daumloan.com转载请标明出处.