Home

Policy and Level

The art of architecture often involves forming regrouped compoonents into an acyclic graph. The nodes of the graph are the components that contain policies at the same level.

The "nodes" of the graph are the components that contain policies at the same level. The directed edges are the dependencies between those components. They connect components that are at different levels.

In an example where "Translate" has source code dependencies "Read char" and "Write char", the latter two are the lowerst-level policies of the system.

"Translate" is the highest-level component in this system because it is the farthest from the inputs and outputs.

Level

A level is "the distance from the inputs and outputs". The farther a policy is from the system inputs and outputs, the higher the level.

The lowest-level are those policies that manage input and output.

Repository

https://github.com/okeeffed/developer-notes-nextjs/content/architectural-principles/policy-and-level

Sections


Related