# Architectural Style Boundary

> Select an architectural style, from a monolith or modular monolith to layered, hexagonal or microservices, by dependency direction, deployment autonomy, domain complexity, team topology, operational maturity and change isolation needs, then enforce the style through boundary rules.

Record: `algorithms:architectural-style-boundary`
Kind: algorithm
Canonical: https://banes-lab.com/ontology/algorithms#algorithms-architectural-style-boundary
Closure: https://banes-lab.com/json/records/algorithms/architectural-style-boundary/closure

Listed in [Algorithm contracts](https://banes-lab.com/api/records/algorithms.md), after [Behavioral Dispatch](https://banes-lab.com/records/algorithms/behavioral-dispatch.md) and before [Port Adapter](https://banes-lab.com/records/algorithms/port-adapter.md).

## Domain

- [Architecture](https://banes-lab.com/records/algorithms-domain/architecture.md)

## Tier

- [leaf](https://banes-lab.com/records/vocabulary/domain-tier-leaf.md)

## Composed by

- [Cascade Layer Partition](https://banes-lab.com/records/algorithms/cascade-layer-partition.md)

## Math type

- [Optimization](https://banes-lab.com/records/reasoning/math-type-optimization.md)

## Force

- [Contract compatibility](https://banes-lab.com/records/force/contract-compatibility.md)
- [Domain boundary](https://banes-lab.com/records/force/domain-boundary.md)
- [Modularity](https://banes-lab.com/records/force/modularity.md)

## Linked from

- [CSS cascade](https://banes-lab.com/ontology/algorithms/algorithms-domain-css-cascade.md)
- [The mathematics](https://banes-lab.com/ontology/reasoning/the-mathematics.md)
- [Domain tiers](https://banes-lab.com/ontology/schema/the-vocabulary-domain-tier.md)
- [The forces](https://banes-lab.com/ontology/schema/the-forces.md)
