A Model of Layered Architectures

Architectural styles and patterns play an important role in software engineering. One of the most known ones is the layered architecture style. However, this style is usually only stated informally, which may cause problems such as ambiguity, wrong conclusions, and difficulty when checking the confo...

Full description

Bibliographic Details
Main Authors: Diego Marmsoler, Alexander Malkis, Jonas Eckhardt
Format: Article
Language:English
Published: Open Publishing Association 2015-03-01
Series:Electronic Proceedings in Theoretical Computer Science
Online Access:http://arxiv.org/pdf/1503.04916v1
id doaj-dd27c24c90d0400b899d8f25fb92a277
record_format Article
spelling doaj-dd27c24c90d0400b899d8f25fb92a2772020-11-24T23:03:35ZengOpen Publishing AssociationElectronic Proceedings in Theoretical Computer Science2075-21802015-03-01178Proc. FESCA 2015476110.4204/EPTCS.178.5:12A Model of Layered ArchitecturesDiego Marmsoler0Alexander Malkis1Jonas Eckhardt2 Technische Universitaet Muenchen Technische Universitaet Muenchen Technische Universitaet Muenchen Architectural styles and patterns play an important role in software engineering. One of the most known ones is the layered architecture style. However, this style is usually only stated informally, which may cause problems such as ambiguity, wrong conclusions, and difficulty when checking the conformance of a system to the style. We address these problems by providing a formal, denotational semantics of the layered architecture style. Mainly, we present a sufficiently abstract and rigorous description of layered architectures. Loosely speaking, a layered architecture consists of a hierarchy of layers, in which services communicate via ports. A layer is modeled as a relation between used and provided services, and layer composition is defined by means of relational composition. Furthermore, we provide a formal definition for the notions of syntactic and semantic dependency between the layers. We show that these dependencies are not comparable in general. Moreover, we identify sufficient conditions under which, in an intuitive sense which we make precise in our treatment, the semantic dependency implies, is implied by, or even coincides with the reflexive-transitive closure of the syntactic dependency. Our results provide a technology-independent characterization of the layered architecture style, which may be used by software architects to ensure that a system is indeed built according to that style.http://arxiv.org/pdf/1503.04916v1
collection DOAJ
language English
format Article
sources DOAJ
author Diego Marmsoler
Alexander Malkis
Jonas Eckhardt
spellingShingle Diego Marmsoler
Alexander Malkis
Jonas Eckhardt
A Model of Layered Architectures
Electronic Proceedings in Theoretical Computer Science
author_facet Diego Marmsoler
Alexander Malkis
Jonas Eckhardt
author_sort Diego Marmsoler
title A Model of Layered Architectures
title_short A Model of Layered Architectures
title_full A Model of Layered Architectures
title_fullStr A Model of Layered Architectures
title_full_unstemmed A Model of Layered Architectures
title_sort model of layered architectures
publisher Open Publishing Association
series Electronic Proceedings in Theoretical Computer Science
issn 2075-2180
publishDate 2015-03-01
description Architectural styles and patterns play an important role in software engineering. One of the most known ones is the layered architecture style. However, this style is usually only stated informally, which may cause problems such as ambiguity, wrong conclusions, and difficulty when checking the conformance of a system to the style. We address these problems by providing a formal, denotational semantics of the layered architecture style. Mainly, we present a sufficiently abstract and rigorous description of layered architectures. Loosely speaking, a layered architecture consists of a hierarchy of layers, in which services communicate via ports. A layer is modeled as a relation between used and provided services, and layer composition is defined by means of relational composition. Furthermore, we provide a formal definition for the notions of syntactic and semantic dependency between the layers. We show that these dependencies are not comparable in general. Moreover, we identify sufficient conditions under which, in an intuitive sense which we make precise in our treatment, the semantic dependency implies, is implied by, or even coincides with the reflexive-transitive closure of the syntactic dependency. Our results provide a technology-independent characterization of the layered architecture style, which may be used by software architects to ensure that a system is indeed built according to that style.
url http://arxiv.org/pdf/1503.04916v1
work_keys_str_mv AT diegomarmsoler amodeloflayeredarchitectures
AT alexandermalkis amodeloflayeredarchitectures
AT jonaseckhardt amodeloflayeredarchitectures
AT diegomarmsoler modeloflayeredarchitectures
AT alexandermalkis modeloflayeredarchitectures
AT jonaseckhardt modeloflayeredarchitectures
_version_ 1725633231400730624