In a layered architecture, which specific mechanism prevents a bottom-level data access layer from inadvertently leaking business logic into the presentation layer?
The mechanism that prevents a data access layer from leaking business logic into the presentation layer is the implementation of strict layer abstraction and the use of Data Transfer Objects or DTOs. In a layered architecture, each layer operates as a closed boundary that only communicates with the layer directly above or below it. The data access layer is strictly responsible for retrieving and persisting raw data from a database, while the business log....
Community Answers
Sign in to open profiles and full community answers.
Bagas Griyatama
βLayer isolation through stric depedency rulesβ
4.0%