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
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
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
![Better MVVM with MVVM Helpers (or Xamarin Community Toolkit)](https://i.ytimg.com/vi/y8ZqEOLDeo8/default.jpg)
![Learn Xamarin Today or Wait for .NET MAUI?](https://i.ytimg.com/vi/zvPPz6DABi8/default.jpg)
![](https://i.ytimg.com/vi/YkT6_JsdRiI/default.jpg)
![Xamarin.Forms ListView - Everything you need to know](https://i.ytimg.com/vi/VzFqQv8YJNM/default.jpg)
![Model View View-Model (MVVM): Getting Started](https://i.ytimg.com/vi/ijXjCtCXcN4/default.jpg)
![Preparing a Xamarin.Forms Shell App for Development](https://i.ytimg.com/vi/cRvb9TCvB6c/default.jpg)
![Learning from dirty jobs | Mike Rowe](https://i.ytimg.com/vi/IRVdiHu1VCc/default.jpg)
![.NET MAUI Preview 3 Hands-on: iOS, Android, macOS, and now Windows with WinUI 3!](https://i.ytimg.com/vi/yxahL0xF3RU/default.jpg)
![PowerToys FancyZones for Beginners - Arranging and Snapping Windows](https://i.ytimg.com/vi/9YBhm_QsjD8/default.jpg)
![Beautiful iOS & Android Adaptive Icons Generated in Minutes](https://i.ytimg.com/vi/XEAyAf3_MpU/default.jpg)
![Configuring & Optimizing Xamarin Projects - Smaller, Faster, Better Apps](https://i.ytimg.com/vi/7kVeC1_14Ag/default.jpg)
![Turn any Event into a Command in Xamarin.Forms (MVVM All The Things)](https://i.ytimg.com/vi/7mpe_1okwxk/default.jpg)
![Xamarin.Forms XAML 101 + Hello World!](https://i.ytimg.com/vi/GLfR2uosoSw/default.jpg)
![Adding a Database to Xamarin Apps with SQLite-net](https://i.ytimg.com/vi/XFP8Np-uRWc/default.jpg)
![Xamarin.Forms 101: Data Binding | The Xamarin Show](https://i.ytimg.com/vi/pr03CYqhFr4/default.jpg)
![Xamarin.Forms Shell Navigation 101](https://i.ytimg.com/vi/8iYpLMKE_ws/default.jpg)
![Best Practices - Async / Await | The Xamarin Show](https://i.ytimg.com/vi/-LY4ATA8Bgw/default.jpg)
![Managing & Updating Xamarin NuGet Packages Efficiently](https://i.ytimg.com/vi/nDfO74TXQUg/default.jpg)
![Intro to WPF: Learn the basics and best practices of WPF for C#](https://i.ytimg.com/vi/gSfMNjWNoX0/default.jpg)
![Xamarin Tutorial for Beginners - Build iOS & Android Apps with C#, Visual Studio, and Xamarin.Forms](https://i.ytimg.com/vi/zvp7wvbyceo/default.jpg)