Describe as a Blackbox the elements of a view where only the externally visible properties are relevant.

ID
blackbox
Suite
Documentation Type
Categories
Tags

The Blackbox View provides information on how an element interacts with its environment.

The internals of the element are not revealed in this view. This would be the task of the Whitebox View.

The idea is to document a service that is built from a number of Components. Often this is enough to give a reader a good understanding what this service is about. Sometimes you want to drill deeper. Then you show the interfaces of a component in a Blackbox. You concentrate on the behavior that can be observed from the outside. Next you step into this component and document all the components on the next level inside this component detailed in the Blackbox. This documentation in the Whitebox document shows how the subcomponents work together inside the component.

In case you need to drill further into the components, you then describe each of the elements in the Whitebox View by a separate Blackbox document. Continue until everything you want communicate is in the alternating Blackbox / Whitebox documents.

Using the alternating Blackbox and Whitebox documents makes it easier to separate the documentation of the interaction of a component with its environment (Blackbox) from the documentation of the interaction of the subcomponents of the immediate next level.

If your design is not very deep, the documentation of a component may be enough. The Blackbox / Whitebox documentation simply allows to clearly communicate, what the focus of the individual document is.

Properties

The document type Blackbox provides the following properties:

Whitebox

A reference to the whitebox view that allows a look inside this blackbox.

Typically the whitebox view is a subdocument of this view.

Level

The level of the whitebox inside the hierarchy.

If you add a whitebox view as a subdocument to this view and then add references to blackbox views for each element of the whitebox view, you get an alternating hierarchy of blackbox and whitebox views.

The level represents the number of blackbox levels.

Reference

A reference to an external documentation for the element this blackbox view is about.

Sections

Description

Give a summary on the blackbox.

Purpose

Define the purpose of the blackbox.

Diagram

Add a diagram to describe the blackbox's relationships to other components.

Interfaces

Provided Interfaces

 List the interfaces this element provides for other components to use.

Required Interfaces

 List the interfaces provided by other components to be used by this element.

Implemented Requirements

List the requirements implemented with this component.

Quality Attributes

List the quality attributes of this component.

Notes

These are internal notes that are usually not exported and only visible to team members with write access.

But this is not a safe place to store sensible information. It is just a convenience for the reader to not be bothered with notes stored here for the authors for later use. The security level is about suppressing the representation by a CSS style. Therefore consider this as a convenience for the reader, not as a security tool.

References

For a document the references section contains pointers to resources that prove the statements of the document.

Often these proofs are not easily distinguishable from further information. In this case you may want to skip the reference section in favour for the resource list.

Resources

The resources section provides references to further information to the topic of the document.

This may be information on the internet provided by the resource or information in the team's information systems. Anything the reader of the resource might want to know, may be listed here.

Details

This doctype is based on the blackbox template described in the chapter 5 of the arc42 Template.

Resources

Whitebox
Describe as a Whitebox the elements of a view where only the relations of internal elements are relevant.
Component
Components are part of a view on a system. A component may refer to a enclosed element or to a complete system of its own.