Original link: https://v3u.cn/a_id_246
Continuing the previous article, last time we completed the CURD (addition, deletion, modification and search) function of the user management module. The functional level is not very big, but there is a structural defect that is obvious, that is, the project structure is excessively coupled, and the coupling of the project ( Coupling), also known as coupling, and further, the relationship between modules is a quantification of the closeness of the mutual connection between modules in the project structure. The strength of coupling depends on the complexity of the calls between modules, the way in which the modules are called, and how many data objects are passed through functions or methods. The degree of coupling between modules refers to the dependencies between modules, including inclusion, control, invocation, data transfer, and dependencies. The more interdependent the project modules are, the stronger their coupling, and the worse their independence, and the more difficult it is to maintain. Project Structure Optimization The current problem with the IrisBlog project is that its independence is too poor. So far,…
This article is reprinted from: https://v3u.cn/a_id_246
This site is for inclusion only, and the copyright belongs to the original author.