August 2018
Intermediate to advanced
314 pages
8h 9m
English
A layer is merely a logical division that has a responsibility within the architecture of the application. It is a logical way to organize the application code. Martin Fowler's book Patterns of Enterprise Application Architecture describes the three main layers and their responsibilities:
| Layer | Responsibility |
| Presentation | User interaction, validation of input fields, formatting display data |
| Business | Application logic |
| Data | Database communication, messaging-system communication |
Thus, the classes of an application are logically separated according to their responsibilities. There are classes that are used in the data-access layer, while other classes prepare the data to be displayed as part of the presentation layer. This ...
Read now
Unlock full access