diff --git a/layers/index.md b/layers/index.md new file mode 100644 index 000000000..d97406672 --- /dev/null +++ b/layers/index.md @@ -0,0 +1,19 @@ +--- +layout: pattern +title: Layers +folder: layers +permalink: /patterns/layers/ +categories: pattern_cat +tags: pattern_tag +--- + +**Intent:** Layers is an architectural style where software responsibilities are + divided among the different layers of the application. + +![alt text](./etc/layers.png "Layers") + +**Applicability:** Use the Layers architecture when + +* you want clearly divide software responsibilities into differents 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 diff --git a/layers/src/main/java/com/iluwatar/layers/App.java b/layers/src/main/java/com/iluwatar/layers/App.java index b7407b681..3ab5e211e 100644 --- a/layers/src/main/java/com/iluwatar/layers/App.java +++ b/layers/src/main/java/com/iluwatar/layers/App.java @@ -5,7 +5,7 @@ import java.util.Arrays; /** * *

- * Multilayered architecture is an architectural style where software responsibilities are + * Layers is an architectural style where software responsibilities are * divided among the different layers of the application. *

*