MVVM understand

MVVM is a front-end development and design ideas. M refers to the model layer, V refers to the view layer, and VM is the core idea of this development, it is a scheduler intermediate between M and V, can convert the data objects in the Model, make it easier to manage and use the data. MVVM essence of it is based on operational data view and then go to operate the DOM operation, that is, we can not help MVVM as to obtain DOM node js go like a traditional operating DOM, we only need to complete view contains binding declarations template, and then to write the VM transaction can be achieved with automated view of the data, which largely solved mvc large number of DOM manipulation to reduce the page rendering performance, slow loading speed, impact the user experience .

Guess you like

Origin www.cnblogs.com/simpleyou/p/11870009.html