正文
例如
,
从两层构建一个系统的决策
,
其中每个层包含少量的子系统
,
以特定的方式进行通信
,
这是一个架构决策。
软件体系结构不仅与结构和行为有关
,
而且与使用、功能、性能、复原力、重用、可理解性、经济和技术约束和权衡以及审美关注有关。
46
首先我们来看看,也就它刚才有这些组成上,我先把它翻译成意义重大的决策的集合。还记得不记得前台在谈设计思路给大家说,架构有四种隐喻,一个是就是架构,被当成一种决策。而决策就是统一建模语言的这帮人,它们所倡导的,它们认为架构实际上就是包含了一种重要的角色的集合,这样一种思路人被称为组成派。这个软件是怎么组成的?
决策派,它们讲的是架构是一种决策,架构是角色集合,所以说把它叫做组成派和决策派。
你看架构,作为一种蓝图,作为一种语言,架构也作为决策,首先我们看到架构,它认为是有关一个软件系统的组织的这样的一些重要的决策。它包括了这样的一些结构性的元素,以及结构性元素的选择,我们怎么样通过这个接口把这些元素连在一起,还有这些元素之间的协作。
它们有类图,有元素,元素之间怎么样的关系,它们是怎么样交互从而产生用例所期待的这个行为的,用例所表现的这个行为,这都属于架构的内容。
Discussion of architecture
Architectural decisions about the decomposition of asystem into parts can be captured using models, subsystems, packages, andcomponents.
The dependencies among these elements are keyindicators of the flexibility of the architecture and the difficulty ofmodifying the system in the future.
Another major part of an architecture is the mechanismsthat it provides to build upon. These may be captured with collaborations andpatterns. Nonstructural decisions can be captured using tagged values.