The Three-tier architecture is: Presentation layer (web layer), business Logic Layer (BLL layer), and data access layer (dal layer).
(1) the presentation layer is responsible for: a, collect information from the client b, send the user information to the Business service layer to do processing c, receive processing results from the Business Service layer d, display the results to the user (2) the business logic layer is responsible for: a, receive input B from the presentation layer, interact with the data layer to execute the Designed business System services, etc.) d, Send processing results to the presentation layer (3) the data Access layer is responsible for: a, data storage b, Data acquisition c, Data maintenance d, data integrity in the Three-tier structure design, the presentation layer can be implemented by the view and the controller, while the business logic layer and the data access layer compose the implementation of the model . therefore, in the actual application design, the Three-tier architecture is used to build the framework of the system, and the interaction between the presentation layer and the business logic layer and the data Access layer is realized through the MVC design Pattern.
MVC Design Patterns and Three-tier architecture