One principle of MVC

xiaoxiao2021-03-06  54

As shown in the figure below: "Substation (dependencies) down, data up, and the relationship between the layers is downward, and the upper layer can be in the lower layer, but the lower layer cannot rely on the upper layer. When we design MODEL in the MVC, you cannot reference the relevant package and classes of the View layer. The underlying layer coupling will make the system's maintenanceability, reuse, and more difficult to score.

转载请注明原文地址:https://www.9cbs.com/read-116103.html

New Post(0)