2015-08-15 21:44:08 +03:00
|
|
|
---
|
|
|
|
layout: pattern
|
|
|
|
title: Layers
|
|
|
|
folder: layers
|
|
|
|
permalink: /patterns/layers/
|
2017-03-25 22:07:10 +01:00
|
|
|
pumlformat: svg
|
2015-08-20 21:40:07 +02:00
|
|
|
categories: Architectural
|
2015-12-28 15:52:44 +02:00
|
|
|
tags:
|
|
|
|
- Java
|
|
|
|
- Difficulty-Intermediate
|
|
|
|
- Spring
|
2015-08-15 21:44:08 +03:00
|
|
|
---
|
|
|
|
|
2016-01-03 21:14:30 +01:00
|
|
|
## Intent
|
|
|
|
Layers is an architectural style where software responsibilities are
|
2015-08-15 21:44:08 +03:00
|
|
|
divided among the different layers of the application.
|
|
|
|
|
|
|
|

|
|
|
|
|
2016-01-03 21:14:30 +01:00
|
|
|
## Applicability
|
|
|
|
Use the Layers architecture when
|
2015-08-15 21:44:08 +03:00
|
|
|
|
2017-08-31 01:50:33 +05:30
|
|
|
* you want clearly divide software responsibilities into different parts of the program
|
2015-08-15 21:44:08 +03:00
|
|
|
* you want to prevent a change from propagating throughout the application
|
|
|
|
* you want to make your application more maintainable and testable
|
2015-09-24 12:23:02 +05:30
|
|
|
|
2016-01-03 21:14:30 +01:00
|
|
|
## Credits
|
2015-09-24 12:23:02 +05:30
|
|
|
|
|
|
|
* [Pattern Oriented Software Architecture Vol I-V](http://www.amazon.com/Pattern-Oriented-Software-Architecture-Volume-Patterns/dp/0471958697)
|