thin layer, not with the model logic processing, only for simple page display logic processing.MVVM is shorthand for Model-view-viewmodel.Microsoft's WPF brings new technical experiences, such as Sliverlight, audio, video, 3D, animation ..., which leads to a more detailed and customizable software UI layer. At the same time, at the technical level, WPF (formerly WinForm) has also brought in such things as binding, Dependency property, Routed Events, Command, DataTemplate, New features such as C
I am very grateful for the attention we have received from the previous article. Because of their own understanding of these models is also limited, for MVC,MVP,MVVM These models of comparison, is a combination of their own understanding, some places may not be accurate, the need for friends can refer to the next one to get everyone's attention, thank you very much. Because of their own understanding of the
.
The view and business model are completely independent. In this case, you need to synchronize data between the business model and the view.
Display class focus View
View does not focus on performance
Presentation Model (PM)
Presentation class inclusion Logic
Presentation class inclusion status
The presentation class represents an abstract user interface.
The presentation class does not focus on the user interface
View focus class
The view is completely isolated from the business mod
MVC, MVP, and MVVM are all patterns used to solve the problem of interface rendering and logical code separation. Previously only a partial understanding of them, no in-depth research, for some of the concepts and differences are also smattering. Now, while looking at the information, and in combination with their own understanding, to talk about the three models of the idea of understanding, and their diff
Thanks for your attention in the previous article. In comments from some friends, I hope to come up with the next article soon. This article is too late because I have limited understanding of these models. The comparison between these models is based on your own understanding. Some areas are not necessarily accurate, but only by showing your own point of view can you give a reference? You are welcome to make a brick. :)
Reading directory:
Iv. MVP
The last one gets everyone's attention, thank you very much. Because of their understanding of these models is also limited, the comparison of these models, is a combination of their own understanding, some places may not be accurate, but only the light of their own point of view, can not be? You are welcome to pat Bricks. :)
Copy Code code as follows:
Read the Table of contents:
Four. MVP Model
The thought of 4.1
Original: MVC, MVP, MVVM comparison and difference (bottom)I am very grateful for the attention we have received from the previous article. Some friends in the comments, hope to quickly out the next article. Because of their limited understanding of these patterns, this is a bit late. For these models of comparison, is to combine their own understanding, some places may not be accurate, but only to highligh
MVC, MVP and MVVM are all used to solve the pattern of interface rendering and logical code separation. In the past, there is only part of the understanding of them, not in-depth research, for some of the concepts and differences are also a smattering. Now look at the information, and combine their own understanding, to talk about the three models of the idea of understanding, and their differences. Welcome
The MVC full name is Model view Controller, an abbreviation for Models-View-Controller (Controller), an example of software design, which organizes code by means of a business logic, data, and interface display.
MVC is one of the most common software architectures and is widely used in the industry. It's easy to understand, but to be clear, it's not easy to distinguish it from the derived MVP and MVVM arch
Under the interface: Restore real MVC, MVP, MVVM patterns
[Date: 2015-10-28]
Source: Github.com/livoras Dai Jiahua
[Font: Big Small]
ObjectiveDoing client-side development, front-end development for MVC, MVP, MVVM these nouns do not understand and should be generally heard, are to s
Microsoft's WPF brings new technical experience, such as Sliverlight, audio, video, 3D, animation ..., which leads to more detail and customization of the software UI layer. At the same time, at the technical level, WPF has also brought
New features such as binding, Dependency property, Routed Events, Command, DataTemplate, ControlTemplate, etc. MVVM (Model-view-viewmodel) framework
The origin of this is a new architectural framework that evolves wh
MvcThe MVC pattern means that the software can be divided into three partsView: User interface.Controller: Business logicModel: Data savingPractical projects tend to take a more flexible approach, taking backbone.js as an example.
The user can send instructions (DOM events) to view, and the view directly requires Model to change state.
The user can also send instructions directly to the controller (changing the URL to trigger the Hashchange event), which is then sent to the View by
Introductionwrite this essay is to deepen their own impression, after all, write than to see can obtain more, in addition I to these three models of understanding or shallow, to be in later work study have more in-depth understanding, so inevitably there will be misunderstanding, here recommend everyone read Liaoche about MVVM introduction, and Nanyi MVC,MVP and MVVM
front-end MVC, M occupies a very low proportion, referring only to data generation. The ratio of the back end V is very low, only the part of the template .1.2 MVC/MVP/MVVM It can be clearly seen that the difference between these three architectures is in the "M-V Link" section. Let's make a comparison for this section below:
Controller: Monitor the user events of the view, get the data after the
VM (ViewModel) to Thread, the ViewModel is more like a view of the agent, it is responsible for direct model communication, and view can be through a number of mechanisms (ex: Events, two-way databindings, ...) To communicate with ViewModel to obtain information or to throw information into model for access, ViewModel can also act as an agent for external systems such as Web service or rest service or enterprise Services and so on, but it differs from MVC in that ViewModel and view have a highe
, which is the business distribution, assuming the project is getting bigger and more people. Assume a lot of business. and easy to change, pumpingthe first floor will the readability of the variable is reduced. There are also development teams that assume that they cannot persist and that they need to structure again. It is essential to write again, so be cautious. V. Introduction of MVVMMVVM is first based on the evolution of MVC, and here's what MVVM
Microsoft's WPF brings new technical experiences, such as Sliverlight, audio, video, 3D, and animation ......, This makes the software UI Layer more detailed and customizable. At the technical level, WPF also brings
New features such as Binding, Dependency Property, Routed Events, Command, DataTemplate, and ControlTemplate. MVVM (Model-View-ViewModel) Framework
The origin of this architecture is a new architecture framework developed and evolved when
Http://it.crfly.com/read.php? Tid = 454840 amp; uid = 7566
Microsoft's WPF brings new technical experiences, such as sliverlight, audio, video, 3D, and animation ......, This makes the software UI Layer more detailed and customizable. At the technical level, WPF also brings new features such as binding, Dependency Property, routed events, command, datatemplate, and controltemplate. Mvvm (Model-View-viewmodel) FrameworkThe origin of this architecture
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.