MVVM for Beginners: Model-View-ViewModel Architecture for Xamarin.Forms, .NET MAUI, WPF, UWP, & More

Описание к видео MVVM for Beginners: Model-View-ViewModel Architecture for Xamarin.Forms, .NET MAUI, WPF, UWP, & More

It is go time! Time for some architecture with MVVM, data binding, commanding, and more. In this episode I walk you through everything you need to know about MVVM, what it is, why you need it, and how it can help you be more productive and write less code that is more testable.

I break down MVVM with Xamarin.Forms, however most of the concepts are the same across WPF & UWP. Some key differences are that you have DataContext instead of BindingContext (WPF/UWP) and x:Bind instead of x:DataType - https://docs.microsoft.com/windows/uw... on UWP for compiled bindings (nothing available for WPF).

Full Xamarin Beginner's Playlist -    • Xamarin & Xamarin.Forms for Beginners  

👕 Buy some swag! - https://jamesmontemagno.myspreadshop....

Time Codes:
00:00 - Introduction
01:30 - What is MVVM?
05:30 - Using Data Binding and INotifyPropertyChanged
14:10 - What is ICommand
17:30 - Using Commands, not Click Handlers
20:30 - Our First View Model
25:00 - Wrap-up

Disclaimer: This channel, videos, and streams are created in my spare time and are a product of me... James Montemagno! They are NOT officially affiliated or endorsed by Microsoft (my employer) in any way. Opinions and views are my own.

Links:
XAML: https://docs.microsoft.com/xamarin/xa...
Data Binding: https://docs.microsoft.com/xamarin/xa...
Source Code: https://github.com/jamesmontemagno/my...

What is on my hat? It is the CLE clothing logo because I am from Cleveland! Checkout their awesome CLE merch: https://cleclothingco.myshopify.com/

What is that art on my wall? It is an original piece from the French street artist Gregos of La Butte Montmartre:   / bcez1onhiqx  

Follow:
👨‍💻 GitHub: https://github.com/jamesmontemagno
🦜 Twitter:   / jamesmontemagno  
🔴 Twitch:   / jamesmontemagno  
📄 Website: https://www.montemagno.com
📰 Newsletter: https://newsletter.montemagno.com/

My Setup:
Blue Spark Microphone - https://amzn.to/3qgtYkq
Blue Pop Filter - https://amzn.to/3jEWM3r
Rode Microphone Arm - https://amzn.to/2Z68AlE
Sony MDR7306 Headphones - https://amzn.to/372jxta
Stream Deck - https://amzn.to/373Uk1n
Elgato Cam Link - https://amzn.to/3a9eGbh
GoPro Hero - https://amzn.to/374lm90
MX Master 2S Mouse - https://amzn.to/3d7J2gj
Tecware Phantom Keyboard - https://amzn.to/3aUP4y9

#MVVM #Xamarin #XamarinForms #XAML

Комментарии

Информация по комментариям в разработке