Загрузка страницы

MVVM 101 - Model-View-ViewModel Architecture for Xamarin.Forms (also 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/uwp/xaml-platform/x-bind-markup-extension on UWP for compiled bindings (nothing available for WPF).

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

Links:
* XAML: https://docs.microsoft.com/xamarin/xamarin-forms/xaml?WT.mc_id=friends-0000-jamont
* Data Binding: https://docs.microsoft.com/xamarin/xamarin-forms/xaml/xaml-basics/data-binding-basics?WT.mc_id=friends-0000-jamont
* Source Code: https://github.com/jamesmontemagno/mycoffeeapp?WT.mc_id=friends-0000-jamont

Follow:
👨‍💻 GitHub: https://github.com/jamesmontemagno
🦜 Twitter: https://twitter.com/jamesmontemagno
🔴 Twitch: https://twitch.tv/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

Видео MVVM 101 - Model-View-ViewModel Architecture for Xamarin.Forms (also WPF, UWP, & More) канала James Montemagno
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
8 января 2021 г. 1:00:04
00:27:03
Яндекс.Метрика