Layered pattern is the most well known and used, probably everyone uses or used this pattern in application development. This pattern splits the code into layers where each layer has responsibility, upper layers call to underlying layers to execute the operations. For example:
- UI layer
- Application layer
- Data access layer
UI layer calls to the application layer it in turn executes functions from the data access layer which stores the data in some data storage.