当前位置:网站首页>Understanding of MVVM and MVC
Understanding of MVVM and MVC
2022-07-01 11:31:00 【Front end Xiaozhen】
know mvc and mvvm Construction
mvc
1、model layer It mainly deals with the addition, deletion, modification and query of the database
2、view View layer Mainly html css js At the interactive level
3、controller It mainly deals with the logic part
mvvm
1、 User is re view View layer Sponsored http agreement
2、 Then again controller The first step of receiving
3、 Again model Add, delete, modify and check the data in the layer
4、 Again from model The reverse return in the layer controller
5、controller Judge the addition, deletion, modification and query of the database
6、 Then render to view Rendering in the view layer
reflection : What's the matter with interfaces

1、html css in other words view It's us template Something in it That is what we call labels
2、viewmodel That is, let's deal with dom And the logic in the data source
3、model That is, the data in our interface
reflection : that mvc and mvvm The overall design pattern and architecture are basically similar So what is the correlation point ? What is the interface
边栏推荐
- [AI information monthly] 350 + resources! All the information and trends that can't be missed in June are here! < Download attached >
- Mysql的四个隔离级别是如何实现的 (简要)
- escape sequence
- Value/list in redis
- Network security learning notes 01 network security foundation
- [Maui] add click events for label, image and other controls
- About keil compiler, "file has been changed outside the editor, reload?" Solutions for
- "Target detection" + "visual understanding" to realize the understanding and translation of the input image (with source code)
- Test case writing specification in unittest framework and how to run test cases
- [buuctf.reverse] 144_[XMAN2018排位赛]easyvm
猜你喜欢
商汤进入解禁期:核心管理层自愿禁售 强化公司长期价值信心
Numpy的矩阵
为什么一定要从DevOps走向BizDevOps?
Intel Labs announces new progress in integrated photonics research
TEMPEST HDMI泄漏接收 5
2022/6/29学习总结
华为HMS Core携手超图为三维GIS注入新动能
CPI tutorial - asynchronous interface creation and use
田溯宁投的天润云上市:市值22亿港元 年利润下降75%
关于Keil编译程序出现“File has been changed outside the editor,reload?”的解决方法
随机推荐
耐克如何常年霸榜第一名?最新财报答案来了
Neo4j 中文开发者月刊 - 202206期
In June 2022, it was the first programming language?!
Impressive bug summary (continuously updated)
Epoll introduction
名创拟7月13日上市:最高发行价22.1港元 单季净利下降19%
妙啊!MarkBERT
博途V15添加GSD文件
Redis的攻击手法
Harbor webhook from principle to construction
京东与腾讯续签合作:向腾讯发行A类股 价值最高达2.2亿美元
[Maui] add click events for label, image and other controls
Redis common sense
8款最佳实践,保护你的 IaC 安全!
如何看懂开发的查询语句
Can servers bundled with flask be safely used in production- Is the server bundled with Flask safe to use in production?
Intel Labs announces new progress in integrated photonics research
Wonderful! MarkBERT
Redis configuration environment variables
Dameng data rushes to the scientific innovation board: it plans to raise 2.4 billion yuan. Feng Yucai was once a professor of Huake