ArticleslgStudy

computer science

Attribute-driven design

Attribute-driven design is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Attribute-driven design rather than just read about it. In short: Attribute-driven design (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.

Key takeaways

  • Attribute-driven design belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Attribute-driven design to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Attribute-driven design from memory before moving on to harder problems.

Reference excerpt

Attribute-driven design (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.

The attribute-driven design method In the book Software architecture in practice 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 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 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. Identify the Architecturally Significant Requirements (ASR) 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. 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. 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. Repeat steps 1-4 until all the ASRs have been satisfied Repeat!

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

ADD 3.0 In recent years, ADD has been updated substantially to include platform-specific design, e.g. technology and framework choices via design concept catalogs, and to emphasize the making and documentation of architectural decisions.

References

Worked examples

Example 1 — a first encounter with Attribute-driven design

Start with the simplest possible case. Write down what Attribute-driven design claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Attribute-driven design before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Attribute-driven design ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Attribute-driven design

In research
Attribute-driven design appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Attribute-driven design in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Attribute-driven design is common in secondary-school and first-year university syllabi. It links to neighbouring topics Software architecture, so understanding it makes those chapters shorter.
In everyday life
Look for Attribute-driven design outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Attribute-driven design” →

How to study Attribute-driven design in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Attribute-driven design means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Attribute-driven design out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Attribute-driven design in simple terms?

Attribute-driven design (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 nam…

Why does Attribute-driven design matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Attribute-driven design?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Attribute-driven design.

Tags

  • Software architecture

Keep exploring