VDone Demo VDone Demo
Home
  • Articles

    • JavaScript
  • Study Notes

    • JavaScript Tutorial
    • Professional JavaScript
    • ES6 Tutorial
    • Vue
    • React
    • TypeScript: Build Axios from Scratch
    • Git
    • TypeScript
    • JS Design Patterns
  • HTML
  • CSS
  • Technical Docs
  • GitHub Tips
  • Node.js
  • Blog Setup
  • Learning
  • Interviews
  • Miscellaneous
  • Practical Tips
  • Friends
About
Bookmarks
  • Categories
  • Tags
  • Archives
GitHub (opens new window)

Nikolay Tuzov

Backend Developer
Home
  • Articles

    • JavaScript
  • Study Notes

    • JavaScript Tutorial
    • Professional JavaScript
    • ES6 Tutorial
    • Vue
    • React
    • TypeScript: Build Axios from Scratch
    • Git
    • TypeScript
    • JS Design Patterns
  • HTML
  • CSS
  • Technical Docs
  • GitHub Tips
  • Node.js
  • Blog Setup
  • Learning
  • Interviews
  • Miscellaneous
  • Practical Tips
  • Friends
About
Bookmarks
  • Categories
  • Tags
  • Archives
GitHub (opens new window)
  • 基础

    • MVVM Pattern
    • Lifecycle
    • Computed Properties vs Methods vs Watchers
    • v-if vs v-show
    • List Rendering - Array and Object Change Detection
  • 组件

  • 过渡&动画

  • 可复用性&组合

  • 工具

  • 规模化

  • Vuex

  • 其他

  • 《Vue》笔记
  • 基础
xugaoyi
2020-02-04

MVVM Pattern

Tip

Note: This chapter contains the author's Vue study notes, based on the official documentation (opens new window).

# MVVM Pattern

The MVVM pattern: M stands for Model (data model), V stands for View, and VM stands for View-Model.

Understanding

First, the data Model is bound to the View through Data Bindings.

When the View has interactions (changes), DOM listeners automatically detect them and update the data Model.

Q: What is the MVVM pattern?

A: In the MVVM pattern, the first M stands for data model, V stands for view, and VM stands for view-model. How it works in practice: backend data is rendered into the view (i.e., the page) through the view-model. When the user interacts with the page, the view-model automatically detects the user's actions and updates the backend data accordingly.

Edit (opens new window)
#Vue
Last Updated: 2026/03/21, 12:14:36
Lifecycle

Lifecycle→

Recent Updates
01
How I Discovered Disposable Email — A True Story
06-12
02
Animations in Grid Layout
09-15
03
Renaming a Git Branch
08-11
More Articles >
Theme by VDone | Copyright © 2026-2026 Nikolay Tuzov | MIT License | Telegram
  • Auto
  • Light Mode
  • Dark Mode
  • Reading Mode