From Suhrid.net WikiJump to navigationJump to search
- 1 Intro
- 2 Architectural Structures
- 2.1 Module structures
- 2.2 Component and connector structures
- 2.3 Allocation structures
- A view is a representation of a coherent set of architectural elements as written by and read by system stakeholders.
- A structure is the set of elements itself, as they exist in software or hardware.
- Arch structures can be divided into three groups.
- Elements are modules which are units of implementation. Assigned areas of functional responsibility.
- Less emphasis on how software works at runtime.
- Allows to understand primary responsibility of each module, other modules a module can use, related modules.
- Units are modules related to by "is a submodule of" relation.
- Shows how larger modules are decomposed into smaller ones.
- Units are related to by the uses relation
- When uses relation is controlled - a system of layers emerges.
- Modules are classes. Relations are "inherits-from" or "is-an-instance-of".
- Here, elements are runtime components and connectors.
- Useful for members of development team, maintainers, project manager, analyst and the architect.
- Define the computational elements of a system and the organization of those elements.
- What software elements comprise the system?
- What are their interfaces?
- How do they interconnect?
- What are the mechanisms for interconnection?
- Use stereotyped <<module>> in UML to display modules.
- Display interfaces in the UML diagram.
- Show dependencies of modules on each other.
Component and connector structures
- Allows understanding of major executing components and how they interact.
- How data flow through system, what parts of system run in parallel.
- Useful for developers, maintainers.
- Units are processes.
- Relation is attachment, showing how components and connectors are hooked together.
- Units are components and connectors are threads.
- Comprises components and connectors that create, store and access persistent data.
- Components are clients and servers. Connectors are protocols and messages.
- Shows relationship between software elements and elements in the external environments.
- Allows understanding on which processor does software element execute on. Files in which each element during development during testing.
- Useful for project manager, end users, maintainers, analyst, architect, infrastructure support.
- How software is assigned to hardware processing and communication elements.
- S/w to file structure. Essential for build processes.
- Assign modules to teams.