- Mastering Windows Presentation Foundation
- Sheridan Yuen
- 160字
- 2021-06-24 16:49:01
What is MVVM and how does it help?
Model-View-View Model (MVVM) is a software architectural pattern that was famously introduced by John Gossman on his blog back in 2005 and is now commonly used when developing WPF applications. Its main purpose is to provide a Separation of Concerns between the business model, the User Interface (UI), and the business logic. It does this by dividing them into three distinct types of core components: Models, Views, and View Models. Let's take a look at how they are arranged and what each of these components represent:

As we can see here, the View Models component sits between the Models and the Views and provides two-way access to each of them. It should be noted at this point that there should be no direct relationship between the Views and Models components and only loose connections between the other components. Let's now take a closer look at what each of these components represent.
- 計(jì)算思維與算法入門(mén)
- Node.js Design Patterns
- 深入理解Bootstrap
- TypeScript入門(mén)與實(shí)戰(zhàn)
- 摩登創(chuàng)客:與智能手機(jī)和平板電腦共舞
- 騰訊iOS測(cè)試實(shí)踐
- Microsoft Dynamics 365 Extensions Cookbook
- 網(wǎng)頁(yè)設(shè)計(jì)與制作教程(HTML+CSS+JavaScript)(第2版)
- C語(yǔ)言程序設(shè)計(jì)實(shí)踐教程
- TypeScript圖形渲染實(shí)戰(zhàn):基于WebGL的3D架構(gòu)與實(shí)現(xiàn)
- 低代碼平臺(tái)開(kāi)發(fā)實(shí)踐:基于React
- Python Data Science Cookbook
- Learning Material Design
- 3ds Max 2018從入門(mén)到精通
- UI動(dòng)效設(shè)計(jì)從入門(mén)到精通