Attribute-driven design

From Wikipedia, the free encyclopedia
Jump to: navigation, search

Attribute-driven design[1][2] (also called ADD or Attribute-driven design method) is a methodology to create software architectures that takes into account the quality attributes of the software. It was previously known as the Architecture Based Design Method (or ABD), but due to trademark issues the name was changed to Attribute-driven design around 2001.[3]

The Attribute-Driven Design method[edit]

In the book Software architecture in practice[4] the authors describe ADD as an iterative method that, at each iteration, helps the architect to do the following steps:

  • Choose a part of the system to design.
  • Marshal all the architecturally significant requirements for the selected part. This means that you select all quality attributes and business goals that could affect the architecture of this phase.
  • Create an architecture for the selected part that meets the selected architecturally significant requirements and test this design.

Required input[edit]

ADD can only be started successfully when the following resources are already available:

  • functional requirements
  • quality requirements
  • constraints

Of course, we cannot wait until all these requirements are finalized since this can take a while. The ADD process can start once a set of ASRs (architecturally significant requirements, which are the three resources listed above) are available.

Process steps[edit]

  1. Choose an element of the system to design
    • Select an element of the system that is not yet designed. In the first iteration this will be the system itself. Later on, a choice will need to be made between several elements. This choice can be based on personnel availability, input resources availability, risk mitigation, etc. In case you do not have any of these limitations, it is suggested to go for a breadth-first strategy.
  2. Identify the ASRs for the chosen element
    • Identify the ASRs that are most important for this selected element. You should prioritize these requirements to make sure that your design reflects the most important ASRs.
  3. Generate a design solution for the chosen element
    • This step is the heart of ADD since the architecture will be created in this step. The architecture you create should reflect the selected ASRs. You can do this by making use of architectural patterns or tactics. Most of the times you will have to make a trade-off between several tactics and ASRs.
  4. Inventory remaining requirements and select the input for the next iteration
    • Take a look at the listed ASRs and see whether they are already fulfilled with the design you have at the moment. For each ASR you will have to check whether it is satisfied, delegated to one of the children, distributed among the children or whether it can not be satisfied. In the last case you will need to change your architecture.
  5. Repeat steps 1-4 until all the ASRs have been satistfied
    • Repeat!

Output[edit]

A set of sketches of architectural views, NOT a full-blown detailed architecture.

References[edit]

  1. ^ Wojcik, Rob; Bachmann, Felix; Bass, Len; Clements, Paul C.; Merson, Paulo; Nord, Robert; Wood, William G. (November 2006). Attribute-Driven Design (ADD), Version 2.0. SEI. 
  2. ^ "Attribute-Driven Design Method". SEI. 
  3. ^ Bachmann, Felix; Bass, Len (2001). Introduction to the Attribute Driven Design Method. IEEE. CiteSeerX: 10.1.1.97.5395. 
  4. ^ Bass, Len; Clements, Paul; Kazman, Rick (2013). "Chapter 17". Software Architecture in Practice (third ed.). Pearson. ISBN 978-0-321-81573-6.