当前位置:网站首页>Understanding of MVVM and MVC
Understanding of MVVM and MVC
2022-06-30 08:55:00 【zzzlln】
MVVM It means Model-View-ViewModel
Model: The model layer , Responsible for handling business logic and interacting with the server .
View: View layer , Responsible for transforming the data model into UI Show it , It can be simply understood as HTML page .
ViewModel: Attempt to model layer , Used to connect Model and View , yes Model and View The bridge between . whenever V When the layer obtains or saves data , All by VM The layer is processed in the middle , So as to give it to M layer .
MVC namely Model-View-Controller Abbreviation , Namely Model — View — controller , That is to say a standard Web The application consists of these three parts :
View : To present data in a certain way to the user
Model: It's just data
Controller : Receive and process requests from users , And will Model Return to the user
边栏推荐
- Understanding society at the age of 14 - reading notes on "happiness at work"
- Opencv learning notes-day5 (arithmetic operation of image pixels, add() addition function, subtract() subtraction function, divide() division function, multiply() multiplication function
- Flink SQL 自定义 Connector
- 快应用中实现自定义抽屉组件
- [untitled]
- Esp32 things (I): Preface
- Opencv learning notes-day14 drawing of image geometry (rect class rotatedrect class, rectangle drawing rectangle circle drawing circular function line drawing line function ellipse drawing elliptic fu
- Interpretation of source code demand:a rotation equivariant detector for aerial object detection
- 2021-02-18
- Raspberry pie 4B no screen installation system and networking using VNC wireless projection function
猜你喜欢

云服务器上部署仿牛客网项目

Gilbert Strang's course notes on linear algebra - Lesson 2

Gilbert Strang's course notes on linear algebra - Lesson 4

Flink Exception -- No ExecutorFactory found to execute the application

C accesses mongodb and performs CRUD operations

Gilbert Strang's course notes on linear algebra - Lesson 1

Evaluation standard for audio signal quality of intelligent speakers

Opencv learning notes-day6-7 (scroll bar operation demonstration is used to adjust image brightness and contrast, and createtrackbar() creates a scroll bar function)

Sort (simple description)

TiDB v6.0.0 (DMR) :缓存表初试丨TiDB Book Rush
随机推荐
Dart tips
CUDA realizes matrix multiplication
Flink 数据偶尔数据积压导致checkpoint失败
Flink sql -- No factory implements ‘org.apache.flink.table.delegation.ExecutorFactory‘.
2021-02-18
Mmdet line by line code interpretation of positive and negative sample sampler
Flink Sql -- toAppendStream doesn‘t support consuming update and delete changes which
layer. Open processing method when the passed value is an array or the value is too long
C#訪問SQL Server數據庫兩種方式的比較(SqlDataReader vs SqlDataAdapter)
Maxiouassigner of mmdet line by line interpretation
Introduction to MySQL basics day4 power node [Lao Du] class notes
Icon resources
Flink Exception -- No ExecutorFactory found to execute the application
【NVMe2.0b 14-4】Directive Send/Receive command
Resnet50+fpn for mmdet line by line code interpretation
Interference source current spectrum test of current probe
100 lines of code and a voice conversation assistant
Axure制作菜单栏效果
Opencv learning notes -day2 (implemented by the color space conversion function cvtcolar(), and imwrite image saving function imwrite())
酒精测试仪方案:酒精测试仪是根据什么原理测酒精溶度?