Layered, new third board layered
UI (user layer), BLL (business logic layer), DAL (data access layer ).
The UI is used for display, such as some display styles and interface design.
BLL is used to handle business logic problems.
DAL deals with databases.
> Data Access Layer: This Layer is at the bottom Layer and is responsible for interacting with databases, also known as DAL (Data Access Layer ).
> Presentation Layer: This Layer directly deals with users and is responsible for displaying or retrieving data, also known as the User Interface Layer ). Whether using the console or Windows Forms to display data, it is an application of the presentation layer.
The presentation layer depends on the data access layer. The two layers of functions are separated to assist in the work and their dependencies.
The call relationship between them is that the UI calls BLL, and The BLL calls the DAL layer.
Advantages and features of hierarchical development:
> Code reuse
> Separated developers' attention
> Lossless replacement