Django Book 翻译
菜单>:
TOC
返回
原文:
Those three pieces together data access logic, business logic, and presentation logic comprise a concept thats sometimes called the *Model-View-Controller* (MVC) pattern of software architecture. In this pattern, Model refers to the data access layer, View refers to the part of the system that selects what to display and how to display it, and Controller refers to the part of the system that decides which view to use, depending on user input, accessing the model as needed.
翻译:
把数据存取逻辑、业务逻辑和表现逻辑组合在一起的概念有时被称为软件架构的 *Model-View-Controller* (MVC)模式。在这个模式中, Model 代表数据存取层,View 代表的是系统中选择显示什么和怎么显示的部分,Controller 指的是系统中根据用户输入并视需要访问模型,以决定使用哪个视图的那部分。
备注:
译者: