当前位置:网站首页>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
边栏推荐
- node版本管理器nvm安装及切换
- 8 best practices to protect your IAC security!
- Redis common sense
- activity工作流引擎
- redis中value/SortedSet
- How to make the development of liquidity pledge mining system, case analysis and source code of DAPP defi NFT LP liquidity pledge mining system development
- [Maui] add click events for label, image and other controls
- Cvpr22 | CMT: efficient combination of CNN and transformer (open source)
- redis中value/list
- 证券账户随便哪里开都能使用吗 开户安全吗
猜你喜欢
![[Maui] add click events for label, image and other controls](/img/d6/7ac9632681c970ed99c9e4d3934ddc.jpg)
[Maui] add click events for label, image and other controls

Tempest HDMI leak reception 4

英特尔实验室公布集成光子学研究新进展

为什么一定要从DevOps走向BizDevOps?

金融壹账通拟7月4日香港上市:2年亏近30亿 市值蒸发超90%

Skip the test cases to be executed in the unittest framework

Numpy的矩阵

Exposure: a white box photo post processing framework reading notes

田溯宁投的天润云上市:市值22亿港元 年利润下降75%

CPI tutorial - asynchronous interface creation and use
随机推荐
Openinstall: wechat applet jump to H5 configuration service domain name tutorial
TMUX usage
京东与腾讯续签合作:向腾讯发行A类股 价值最高达2.2亿美元
树莓派4B安装tensorflow2.0[通俗易懂]
Tianrunyun, invested by Tian Suning, was listed: its market value was 2.2 billion Hong Kong, and its first year profit decreased by 75%
证券账户销户后果 开户安全吗
openinstall:微信小程序跳转H5配置业务域名教程
CAD如何設置標注小數比特
Neo4j 中文开发者月刊 - 202206期
英特爾實驗室公布集成光子學研究新進展
Unittest框架中测试用例编写规范以及如何运行测试用例
CVPR 2022 | self enhanced unpaired image defogging based on density and depth decomposition
ABBIRB120工业机器人机械零点位置
ES6 promise Usage Summary
Introduction to unittest framework and the first demo
Brief analysis of edgedb architecture
Continuous delivery -pipeline getting started
TEMPEST HDMI泄漏接收 3
Global filter (processing time format)
Intel Labs announces new progress in integrated photonics research