计算机英语
来源:互联网 发布:unity3d实战教程 编辑:程序博客网 时间:2024/04/29 15:28
突然想写点关于英语面试的东西。请大家豆豆交流。今天先说的MVC的介绍。英语是怎么说的。
The MVC architecture is a widely used architectural approach for interactive applications that distributes functionality among application objects so as to minimize the degree of coupling between the objects. To achieve this, it divides applications into three layers: model, view, and controller. Each layer handles specific tasks and has responsibilities to the other layers:
- The model represents business data, along with business logic or operations that govern access and modification of this business data. The model notifies views when it changes and lets the view query the model about its state. It also lets the controller access application functionality encapsulated by the model. In the Duke’s Bookstore application, the shopping cart and database access object contain the business logic for the application.
- The view renders the contents of a model. It gets data from the model and specifies how that data should be presented. It updates data presentation when the model changes. A view also forwards user input to a controller.
- The controller defines application behavior. It dispatches user requests and selects views for presentation. It interprets user inputs and maps them into actions to be performed by the model. In a web application, user inputs are HTTP GET and POST requests. A controller selects the next view to display based on the user interactions and the outcome of the model operations. In the Duke’s Bookstore application, the Dispatcher servlet is the controller. It examines the request URL, creates and initializes a session-scoped JavaBeans component (the shopping cart), and dispatches requests to view JSP pages.
- 计算机英语
- 计算机英语
- 计算机英语
- 计算机英语...
- 计算机英语
- 计算机英语
- 计算机英语
- 计算机英语
- 计算机英语
- 计算机英语
- 计算机英语
- 计算机英语
- 计算机英语
- 计算机英语
- 计算机英语
- 计算机英语
- 计算机英语
- 计算机英语
- Curses函数说明
- Curses函数说明
- log4j配置文件
- ext2和ext3的主要区别
- 菜鸟也能搞定C++内存泄漏
- 计算机英语
- VC8应用程序的发布问题
- Strut2学习笔记
- 用DEF文件从DLL中导出C++类vc++技术
- 大内高手—共享内存与线程局部存储
- 精通CSS
- 四级高分作文词汇&模板
- 软件开发人才级别的划分
- [英语阅读]How to Turn Your Goals Into Habits