* Use java 11 * Use .of - Replace Arrays.asList with List.of - Replace HashSet<>(List.of()) with Set.of * Formatting
layout, title, folder, permalink, pumlformat, categories, tags
layout | title | folder | permalink | pumlformat | categories | tags | |||
---|---|---|---|---|---|---|---|---|---|
pattern | Layers | layers | /patterns/layers/ | svg | Architectural |
|
Intent
Layers is an architectural style where software responsibilities are divided among the different layers of the application.
Applicability
Use the Layers architecture when
- you want clearly divide software responsibilities into different parts of the program
- you want to prevent a change from propagating throughout the application
- you want to make your application more maintainable and testable