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....
Log in to view the answer