Discussion about the difference between architectural styles and architectural patterns

Pedro Veloso Hernandez (Master in Software Engineering, UPM):

Clearly one of the first differences I see, are given in that while architectural patterns provide a comprehensive solution components, structures and technology, using it as one of their tools “design patterns”, architectural styles provide guided solutions based on a more abstract model, which although has a heuristic is not as specific when detailing which components, technology or under what circumstances these must be grouped. even, I would indicate that a particular architectural pattern, it could be used as a reference or “architectural styles” for its implementation in accordance with the expectations of the problem to be solved.

Juan José González F. (Master candidate in Computer Engineering, UNAB):

Excellent, then we are in tune, as the conclusion that I was getting is:

  • An architectural style organizes the central concept of a system. This concept can be modeled simply using boxes and arrows to describe it.
  • An architectural pattern describes the system at a higher level of granularity, considering their subsystems, modules and relations between them. Unlike before, this should be modeled using a standard notation, for example UML.

Thanks!

Miroslav Pavlovic (Master in Expert Systems and Artificial Intelligence, MBA of IEDE Spain, Member of IEEE-Standard Association):

Pending…

Daniel Campos Domínguez (Master of Science in Computer Science, State University of New York at Buffalo, EEUU):

Juan José:

The SEI Definition:

Architectural pattern: A description of element and relation types together with a set of constraints on how they are used. The term architectural style has also been widely used to describe it

Architectural style: A specialization of element and relation types, together with a set of constraints on how they can be used. See architectural pattern

According to the SEI both terms have been used almost as synonymous …

McGovern, Ambler, Stevens, Linn, Sharan, in A Practical Guide to Enterprise Architecture (The Coad Series):

What’s the difference between an architectural style, an architectural pattern, and a system metaphor?   The answer is not much.  An architectural style (Base et al. 1997) and an architectural pattern (Buschmann et al. 1996) are essentially synonymous.  A system metaphor is similar but more conceptual than an architecture pattern or an architectural style, and it relates more to a real-world concept than to a software engineering concept.  An architectural style and an architectural pattern are similar to a design pattern in that they both describe a solution to a problem in a particular context.  The only difference is the granularity at which they describe the solution.  In a design pattern, the solution is relatively fine grained and is depicted at the level of language classes.  In an architectural pattern, the solution is coarser grained and is described at the level of subsystems or modules and their relationships and collaborations.  Each subsystem or module within an architectural pattern consists of many language classes that are designed using design patterns.

Look at this:

http://www.infoq.com/news/2009/02/Architectural-Styles-Patterns

http://shapingsoftware.com/2009/02/09/architectural-styles/

http://msdn.microsoft.com/en-us/library/ee658117.aspx

There are discrepancies regarding the synonymy of two terms. In my opinion, you should take a stand and, beyond that you take, be able to support it properly.

Juan José González F. (Master candidate in Computer Engineering, UNAB):

Thank you very much for the references and response:

The original conception of the idea that “The concept can be modeled simply using boxes and arrows to describe it.”. vs. the need to model architectural patterns using UML. Is not mine, is a viewpoint rescued from Craig Larman’s book. UML and Patterns. 2nd edition, Madrid, Prentice Hall.

Original reference:

The same goes for the visuals: the styles are described by simple boxes and lines, while the patterns are usually represented in UML [Lar03].

My interpretation makes sense to Larman said, mainly because, seen from an abstract viewpoint and high-level, do not need a formal notation to describe a system to detect the architectural styles or I can simply use flows, or boxes with arrows, or a context diagram with bubbles, etc etc. However, when I go into more specific details of architecture, when they begin to see structures, common forms within the systems and relationships, these are usually represented through a more formal notation (eg UML) as these represented patterns through formal notations, then, I must maintain the standard.

Thanks for everything.

Daniel Campos Domínguez (Master of Science in Computer Science, State University of New York at Buffalo, EEUU):

It is an opinion … the problem is the boxes and lines represent uniquely allowing only two kinds of concepts and semantics of the representation is not conventional.Therefore, is subject to free interpretation by introducing more ambiguity receptor a formal representation from the standpoint of syntactic / semantic.

Daniel

References

[1] Paris Avgeriou (paris@cs.rug.nl), Uwe Zdun(zdun@acm.org), Focus Group Report: Architectural Patterns in Practice, University of Groningen Vienna/University of Economics and BA.

[2] P. Avgeriou and U. Zdun. Architectural patterns revisited – a pattern language. In Proceedings of 10th European Conference on Pattern Languages of Programs (EuroPlop 2005), Irsee, Germany, July 2005

Anuncios

2 comentarios

Archivado bajo Arquitectura de Sistemas, Arquitectura de Software, Ingeniería de Software, Magister en Informatica

2 Respuestas a “Discussion about the difference between architectural styles and architectural patterns

  1. “Discussion about the difference between architectural
    styles and architectural patterns | Juanjo’s Blog” was indeed a wonderful article. If it owned even more images it might be perhaps even better. Thanks ,Margie

  2. I think the admin of this site is genuinely working hard for his web
    site, because here every material is quality
    based information.

Responder

Introduce tus datos o haz clic en un icono para iniciar sesión:

Logo de WordPress.com

Estás comentando usando tu cuenta de WordPress.com. Cerrar sesión / Cambiar )

Imagen de Twitter

Estás comentando usando tu cuenta de Twitter. Cerrar sesión / Cambiar )

Foto de Facebook

Estás comentando usando tu cuenta de Facebook. Cerrar sesión / Cambiar )

Google+ photo

Estás comentando usando tu cuenta de Google+. Cerrar sesión / Cambiar )

Conectando a %s