Software architecture description
   HOME

TheInfoList



OR:

Software architecture description is the set of practices for expressing, communicating and analysing
software architecture Software architecture is the fundamental structure of a software system and the discipline of creating such structures and systems. Each structure comprises software elements, relations among them, and properties of both elements and relations. ...
s (also called architectural rendering), and the result of applying such practices through a work product expressing a software architecture ( ISO/IEC/IEEE 42010). Architecture descriptions (ADs) are also sometimes referred to as ''architecture representations'', ''architecture specifications''Perry, D. E.; Wolf, A. L. (1992). "Foundations for the study of software architecture". ACM SIGSOFT Software Engineering Notes 17 (4): 40. doi:10.1145/141874.141884 or ''software architecture documentation''.


Concepts

Architecture description defines the practices, techniques and types of representations used by software architects to record a software architecture. Architecture description is largely a modeling activity ( Software architectural model). Architecture models can take various forms, including text, informal drawings, diagrams or other formalisms (
modeling language A modeling language is any artificial language that can be used to express information or knowledge or systems in a structure that is defined by a consistent set of rules. The rules are used for interpretation of the meaning of components in th ...
). An architecture description will often employ several different ''model kinds'' to effectively address a variety of audiences, the ''stakeholders'' (such as end users, system owners, software developers, system engineers, program managers) and a variety of architectural ''concerns'' (such as functionality, safety, delivery, reliability, scalability). Often, the models of an architecture description are organized into ''multiple views'' of the architecture such that "each iewaddresses specific concerns of interest to different stakeholders of the system".P. B. Kruchten, "The '4+1' view model of architecture," IEEE Software, vol. 12, no. 6, pp. 42–50, November 1995 An ''architecture viewpoint'' is a way of looking at a system ( RM ODP). Each view in an architecture description should have a viewpoint documenting the concerns and stakeholders it is addressed to, and the model kinds, notations and modeling conventions it utilizes ( ISO/IEC/IEEE 42010). The use of multiple views, while effective for communicating with diverse stakeholders and recording and analyzing diverse concerns, does raise potential problems: since views are typically not independent, the potential for overlap means there may be redundancy or inconsistency between views of a single system. Various mechanisms can be used to define and manage ''correspondences'' between views to share detail, to reduce redundancy and to enforce consistency. A common misunderstanding about architecture descriptions is that ADs only discuss "technical issues", but ADs need to address issues of relevance to many stakeholders. Some issues are technical; many issues are not: ADs are used to help architects, their clients and others manage cost, schedule and process. A related misunderstanding is that ADs only address the ''structural'' aspects of a system. However, this rarely satisfies the stakeholders, whose concerns often include structural, behavioral, aesthetic, and other "extra-functional" concerns.


History

The earliest architecture descriptions used informal pictures and diagrams and associated text. Informal descriptions remain the most widely used representations in industry. Influences on architecture description came from the areas of Software Engineering (such as data abstraction and programming in the large) and from system design (such as SARA). Work on programming in the large, such as module interconnection languages (MILs) focused on the expression of the large-scale properties of software: modules (including programs, libraries, subroutines and subsystems) and module-relationships (dependencies and interconnections between modules). This work influenced both architectural thinking about programming languages (e.g., Ada), and design and architecture notations (such as Buhr diagrams and use case maps and codified in architectural features of UML: packages, subsystems, dependences) and much of the work on architecture description languages. In addition to MILs, under the influence of mature work in the areas of Requirements and Design within Software Engineering, various kinds of models were "lifted" from software engineering and design to be applied to the description of architectures. These included function and activity models from Structured Analysis
SADT Structured analysis and design technique (SADT) is a systems engineering and software engineering methodology for describing systems as a hierarchy of functions. SADT is a structured analysis modelling language, which uses two types of diagrams: ...
, data modeling techniques (entity-relation) and object-oriented techniques. Perry and Wolf cited the precedent of building architecture for the role of multiple views: "A building architect works with the customer by means of a number of different views in which some particular aspect of the building is emphasized." Perry and Wolf posited that the representation of architectures should include: ', distinguishing three kinds of elements (and therefore three kinds of views): *processing: how the data is transformed; *data: information that is used and transformed; *connecting: glue holding the other elements together; Perry and Wolf identified four objectives or uses for architecture descriptions (called "architecture specifications" in their paper): *prescribe architectural constraints without overspecifying solutions *separate aesthetics from engineering *express different aspects of the architecture each in an appropriate manner *conduct architecture analysis, particularly dependency and consistency analyses Following the Perry and Wolf paper, two schools of thought on software architecture description emerged: *''Multiple views school'' *''Structuralist school''


Mechanisms for architecture description

There are several common mechanisms used for architecture description. These mechanisms facilitate reuse of successful styles of description so that they may be applied to many systems: *architecture viewpoints *architecture description languages *architecture frameworks


Architecture viewpoints

Software architecture descriptions are commonly organized into views, which are analogous to the different types of
blueprint A blueprint is a reproduction of a technical drawing or engineering drawing using a contact print process on light-sensitive sheets. Introduced by Sir John Herschel in 1842, the process allowed rapid and accurate production of an unlimited number ...
s made in building
architecture Architecture is the art and technique of designing and building, as distinguished from the skills associated with construction. It is both the process and the product of sketching, conceiving, planning, designing, and constructing buildings ...
. Each view addresses a set of system concerns, following the conventions of its ''viewpoint'', where a viewpoint is a specification that describes the notations, modeling techniques to be used in a view to express the architecture in question from the perspective of a given set of stakeholders and their concerns ( ISO/IEC 42010). The viewpoint specifies not only the concerns framed (i.e., to be addressed) but the presentation, model kinds used, conventions used and any consistency (correspondence) rules to keep a view consistent with other views. Examples of viewpoints include: *Functional viewpoint *Logical viewpoint *Information/Data viewpoint *Module viewpoint *Component-and-connector viewpoint *Requirements viewpoint *Developer/Implementation viewpoint *Concurrency/process/runtime/thread/execution viewpoint *Performance viewpoint *Security viewpoint *Physical/Deployment/Installation viewpoint *User action/feedback viewpoint The term ''viewtype'' is used to refer to categories of similar views sharing a common set of elements and relations.P. C. Clements, F. Bachmann, L. Bass, D. Garlan, J. Ivers, R. Little, R. Nord, and J. Stafford, Documenting Software Architectures: views and beyond. Addison Wesley, 2003.


Architecture description languages

An
architecture description language Architecture description languages (ADLs) are used in several disciplines: system engineering, software engineering, and enterprise modelling and engineering. The system engineering community uses an architecture description language as a langu ...
(ADL) is any means of expression used to describe a software architecture ( ISO/IEC/IEEE 42010). Many special-purpose ADLs have been developed since the 1990s, including AADL (SAE standard),
Wright Wright is an occupational surname originating in England. The term 'Wright' comes from the circa 700 AD Old English word 'wryhta' or 'wyrhta', meaning worker or shaper of wood. Later it became any occupational worker (for example, a shipwright i ...
(developed by Carnegie Mellon),
Acme Acme is Ancient Greek (ακμή; English transliteration: ''akmē'') for "the peak", "zenith" or "prime". It may refer to: Arts and entertainment * ''Acme'' (album), an album by the Jon Spencer Blues Explosion * Acme and Septimius, a fictional ...
(developed by Carnegie Mellon), xADL (developed by UCI), Darwin (developed by
Imperial College London Imperial College London (legally Imperial College of Science, Technology and Medicine) is a public research university in London, United Kingdom. Its history began with Prince Albert, consort of Queen Victoria, who developed his vision for a cu ...
), DAOP-ADL (developed by University of Málaga), and ByADL (University of L'Aquila, Italy). Early ADLs emphasized modeling systems in terms of their components, connectors and configurations. More recent ADLs (such as ArchiMate and SysML) have tended to be "wide-spectrum" languages capable of expressing not only components and connectors but a variety of concerns through multiple sub-languages. In addition to special-purpose languages, existing languages such as the UML can be used as ADLs ''"for analysis, design, and implementation of software-based systems as well as for modeling business and similar processes."''


Architecture frameworks

An
architecture framework The ISO/IEC/ IEEE 42010 Conceptual Model of Architecture Description defines the term architecture framework within systems engineering and software development as: "An architecture framework establishes a common practice for creating, interpret ...
captures the "conventions, principles and practices for the description of architectures established within a specific domain of application and/or community of stakeholders" ( ISO/IEC/IEEE 42010). A framework is usually implemented in terms of one or more viewpoints or ADLs. Frameworks of interest in software architecture include:
Arc42C4 model
* 4+1 * RM-ODP (Reference Model of Open Distributed Processing) *
TOGAF The Open Group Architecture Framework (TOGAF) is the most used framework for enterprise architecture as of 2020 that provides an approach for designing, planning, implementing, and governing an enterprise information technology architecture. TOG ...


Multiple Views

Represented in Kruchten's very influential 1995 paper on the "4+1 view model", this approach emphasized the varying stakeholders and concerns to be modeled.


Structuralism

Second, reflected in work of CMU and elsewhere, the notion that architecture was the high level organization of a system at run-time and that architecture should be described in terms of their components and connectors: "the architecture of a software system defines that system in terms of computational components and interactions among those components". During the 1990s-2000s, much of the academic work on ADLs took place within the paradigm of components and connectors. However, these ADLs have had very little impact in industry. Since the 1990s, there has been a convergence in approaches toward architecture description, with
IEEE 1471 IEEE 1471 is a superseded IEEE standard for describing the architecture of a "software-intensive system", also known as software architecture. In 2011 it was superseded by ISO/IEC/IEEE 42010, ''Systems and software engineering — Architecture de ...
in 2000 codifying best practices: supporting, but not requiring, multiple viewpoints in an AD.


Architecture description via decisions

Elaborating on the rationale aspect of Perry and Wolf's original formula, a third school of thought has emerged, documenting the decisions and reasons for decisions as an essential way of conceiving and expressing a software architecture.A. Jansen and J. Bosch, "Software Architecture as a Set of Architectural Design Decisions" Proceedings of the 5th Working IEEE/IFIP Conference on Software Architecture, 2005. This approach treats decisions as first-class elements of the architecture description, making explicit what was often implicit in earlier representations.


Uses of architecture descriptions

Architecture descriptions serve a variety of purposes including ( ISO/IEC/IEEE 42010): *to guide system construction and maintenance *to aid system planning, costing and evolution *to serve as a medium for analysis, evaluation or comparison of architectures *to facilitate communication among system stakeholders regarding the architecture and the system *to document architectural knowledge beyond the scope of individual projects (such as software product lines and product families, and reference architectures) * to capture reusable architectural idioms (such as architectural styles and patterns)


References

{{Reflist


See also

*
Architecture description language Architecture description languages (ADLs) are used in several disciplines: system engineering, software engineering, and enterprise modelling and engineering. The system engineering community uses an architecture description language as a langu ...
*
Architecture framework The ISO/IEC/ IEEE 42010 Conceptual Model of Architecture Description defines the term architecture framework within systems engineering and software development as: "An architecture framework establishes a common practice for creating, interpret ...
*
Separation of concerns In computer science, separation of concerns is a design principle for separating a computer program into distinct sections. Each section addresses a separate '' concern'', a set of information that affects the code of a computer program. A concern ...
(
Core concern Core or cores may refer to: Science and technology * Core (anatomy), everything except the appendages * Core (manufacturing), used in casting and molding * Core (optical fiber), the signal-carrying portion of an optical fiber * Core, the central ...
and
Concern (computer science) In computer science, a concern is a particular set of information that has an effect on the code of a computer program. A concern can be as general as the details of database interaction or as specific as performing a primitive calculation, dependi ...
) * Software architectural model * Software architecture documentation *
View model A view model or viewpoints framework in systems engineering, software engineering, and enterprise engineering is a framework which defines a coherent set of ''views'' to be used in the construction of a system architecture, software architectur ...
Software architecture