Model refers to your data, View to your presentation layer, and Controller refers to the application or business logic.
模型指数据,视图指表示层,而控制器指应用程序逻辑或业务逻辑。
One controller can be assigned to several business components.
一个控制器可以分配给多个业务组件。
Decoupling the service definition from the business logic (controller) and from access to the data (entity) ensures that no business logic manifests itself in the entities.
将服务定义同业务逻辑(控制器)以及数据(实体)访问分离,可确保实体中不会透露任何业务逻辑。
应用推荐