MVVMS... A Better MVVM? Model-View-ViewModel-Services Explained

MVVMS... A Better MVVM? Model-View-ViewModel-Services Explained

32.906 Lượt nghe
MVVMS... A Better MVVM? Model-View-ViewModel-Services Explained
If you are a C# and XAML developer you probably know about MVVM, but have you ever heard of MVVMS? It is the architecture pattern I have used in every application I have ever built since my first job at Canon years upon years ago! It is a simple but effective way of structing your code and going beyond MVVM to decouple logic into small services. This makes code more re-usable and testable. I break it all down! Links - .NET MAUI Workshop - https://github.com/dotnet-presentations/dotnet-maui-workshop - Podcast App - https://github.com/microsoft/dotnet-podcasts - Island Tracker - https://github.com/jamesmontemagno/app-ac-islandtracker - What is MVVM video - https://www.youtube.com/watch?v=AXpTeiWtbC8 - .NET MAUI Workshop 4 Hour Video - https://www.youtube.com/watch?v=DuNLR_NJv8U Join this channel to get access to perks: https://www.youtube.com/channel/UCENTmbKaTphpWV2R2evVz2A/join 👕 Buy some swag! - https://jamesmontemagno.myspreadshop.com/ ☕️ Buy me a coffee - https://www.buymeacoffee.com/jamesmontemagno Follow: 👨‍💻 GitHub: https://github.com/jamesmontemagno 🦜 Twitter: https://twitter.com/jamesmontemagno 📄 Website: https://www.montemagno.com 📰 Newsletter: https://newsletter.montemagno.com/ Chapters: 00:00 - Introduction 00:40 - Let's talk architecture! 02:30 - What is MVVMS? 03:30 - Monkey app walkthrough 05:30 - Models - how much logic should they have? 07:00 - ViewModels & Services - what should do what? 12:05 - Dependency Injection, Testing, & 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. 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: https://www.instagram.com/p/BceZ1oNHiQx/ My Setup: 📷 Canon M50 Mark II - https://amzn.to/3P8R7lp 💡 Nanoleaf Elements Lights - https://amzn.to/3umwJVW 🎙 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 #dotnet #dotnetmaui #architecture #csharp wpf mvvm uno platform .net maui data binding