FIT3077 Lecture Notes - Lecture 10: Class Diagram, Use Case, Unified Modeling Language
Software Architecture 2 : Architectural Views & Viewpoints
Why Architectural Views?
Large, modern system are so complex that it's difficult to comprehend them all at once. Restricng
aenon to a small subset of the system’s structure makes it easier to understand
Example:
Architectural Concepts and Relationships
●A system is build to address the needs, concerns, goals and objecves of its stakeholders
●The architecture of a system is characterized by its stac and dynamic structures, and its
externally-visible behaviour and properes
●The architecture of a system is comprised of a number of architectural elements and their
interrelaonships
●A viewpoint defines the aims, intended audience, and content of a class of views and defines
the concerns that views of this class will address
●A view conforms to a viewpoint and so communicates the resoluon of a number of
concerns
●An architectural descripon comprises of number of views
Architectural Structures
Model Structures: the units of implementaon
●Stac
●E.g classes, packages, funcons, libraries
● A code-based way of viewing the system
Component-and-Connector Structures
●Dynamic
●Run-me components: the main units of computaon
●Run-me connectors: the main vehicles of communicaons between the components
Allocation Structures
●Deployment
●Show how soware elements are related to elements in the environment(s) where the
soware is created and run
These structures correspond to three decision that must be made in architectural design:
●How is the system to be structured as a set of code units (modules)?
●How is the system to be structured as a set of elements that have runme behaviour
(components) and interacons (connectors)?
●How is the system to relate to non-soware structures in its environment ( ei CUPs, file
systems, networks, development teams etc)
Architectural Viewpoints and Views
Viewpoint: a way of looking at a system. Defines the convenons (notaons, languages, and types of
models) for construcng a certain kind of view
View : what you see. Used to describe the system from the viewpoint of different stakeholders
4+1 View Model