Traditional Culture Encyclopedia - Traditional customs - A project said that the system is divided into performance layer, control layer, logic layer, DAO layer and the final database five layer architecture What does this mean?
A project said that the system is divided into performance layer, control layer, logic layer, DAO layer and the final database five layer architecture What does this mean?
1, the performance layer: the main function is to display data and accept the transmission of user data, you can provide interactive interface for the site's system operation, the performance layer of the application is more common, such as Windows forms and Web pages.
2, control layer: the business rules, data access, legality checking and other work for processing. Through COM/DCOM communication with the logical layer to establish a connection.
3. Logical layer: the user's input information is screened and processed and saved separately. The establishment of a new data storage method, read the data in the storage process, the "business logic" description of the code to include.
4, DAO layer: mainly on non-primary data (database or text files and other forms of data storage) operation layer, the operation of the database, rather than data, specifically for the business logic layer or control layer to provide data services.
5, the final database: the database is the main manipulation system, to achieve data addition, deletion, modification, query and other operations. The actual operation of the process, the final database does not have the ability to make logical judgments, in order to achieve the rigor of code writing, improve the degree of code reading, general software developers will use the DAO layer to ensure that the data processing function.
Extended information:
1. The developer can focus on only one of the layers in the overall structure.
2, can easily replace the original level of implementation with a new implementation.
3, you can reduce the dependencies between layers.
4, conducive to standardization.
5, conducive to the reuse of the logic of each layer.
6, the structure is more clear.
7, in the later maintenance, greatly reducing maintenance costs and maintenance time.
8, avoiding the representation layer directly accessing the data access layer, the representation layer is only linked to the business logic layer, improving data security.
9, conducive to the decentralized development of the system, each layer can be developed by different personnel, as long as the interface standards are followed, using the same object model entity class can be, so that you can greatly improve the speed of development of the system.
10, to facilitate the portability of the system, if you want to turn a C / S system into a B / S system, as long as you modify the three-tier architecture of the representation layer can be. Business logic layer and data access layer can be easily ported to the network almost without modification of the system.
11, the project structure is clearer, the division of labor is more clear, and is conducive to the maintenance and upgrading of the later.
- Related articles
- The sales pain point of traditional life insurance business
- Advantages and disadvantages of ceramic tile wall in living room and its decorative effect
- What does USB legacy support mean in BIOS?
- How about European miscellaneous grain bread?
- When did the blue license plate come into use?
- How long is the shelf life of bacon?
- What are the non-heritage wines in Hechuan
- What is Kendra Art?
- What is the best way to make Fried Rice Noodles?
- What is the table of contents format of the thesis?