Architecture boundaries & dependencies

Compare layers and inward-facing boundaries to decide where business rules live and which dependencies may change.

Search within: Architecture boundaries & dependencies

3 field notes

Comparison within this category
ConceptFeaturesAdvantagesLimitationsSuitable situationsCombination conditions
Clean architectureSource dependencies point inwardPolicy stays independent of framework dataBoundary mapping adds maintenancePolicy must outlive UI and database choicesCan use hexagonal ports at the edges
Hexagonal architectureApplication ports and external adaptersTest saving with an in-memory adapterPorts and adapters add indirectionMultiple entry points or storage implementationsCan organize internal policy with clean architecture
Layered architectureResponsibility layers with downward dependenciesValidation has a clear homePass-through layers add ceremonyStable presentation, application and storage rolesCan add ports and dependency inversion