当前位置:网站首页>Introduction to MVC framework
Introduction to MVC framework
2022-07-22 09:44:00 【Suyao Muzi】
MVC frame
MVC(model,view,controller), A business logic 、 data 、 The method of interface separation is the framework of organizing code . While improving the interface and user interaction , There is no need to rewrite the business logic .MVC Traditional input 、 Processing and output are separated .
Model: Model , Logical part , It is also the core of the presentation application , For example, database tables and records
View: View , data display , It also represents the interface , Is for display , For example, display the records of the database
Controller: controller , User interaction , It also means processing , For example, deal with / Add, delete, check and modify the records in the database
Execute the process : The browser sends a request to the controller , The controller receives the request and delegates the request to the business object for processing , Then use view rendering to return the results to the browser .
边栏推荐
猜你喜欢
随机推荐
EAS 审批流相关表
Applet output console
图的基本定义和概念(二)
以构建补丁形式打包时,客户端加载不到元数据。
EAS Web BIM啟動訪問提示500錯誤
Flyio insensitive refresh token
微信小程序 不在以下 request 合法域名列表中
EAS 扩展报表常用函数(自用)
微信小程序传参的参数中有问号 识别不了“?”(问号)后面的内容
video实现控制视频进度和播放、暂停
EAS BOS 报表开发
微信小程序富文本插件 Parser
MVP_ User login instance 2_ test case
自定义滚动条
Responsive layout - Mobile Web pixels
There is a question mark in the parameters passed by wechat applet, which can't be recognized " Content after (question mark)
EAS 集群环境server 实例内存分配
EAS Web 页面预览报错界面显示空白
【Datasheet】PHY KSZ9031千兆网络芯片解读
EAS BOS custom export (including excel style setting, multi tab export, export file directory verification and backup)