dotnet-maui-workshop icon indicating copy to clipboard operation
dotnet-maui-workshop copied to clipboard

Dotnet maui workshop mvpvm

Open BillKrat opened this issue 3 years ago • 6 comments

Added section 7 MVP-VM to dotnet-maui-workshop. In section 7, I demonstrate how this decoupled framework pattern can be used to easily reuse view models, views, and commands between multiple features, i.e., Monkey Finder and Furniture Inventory [new]. Using event aggregation the Monkey Finder publishes events handled by the Inventory application to keep both synchronized to the current connectivity status - updating the data as applicable (online/offline).

GitHub: https://github.com/BillKrat/dotnet-maui-workshop/tree/dotnet-maui-workshop-mvpvm/Part%207%20-%20MVPVM Blog: http://www.adventuresontheedge.net/post/2022/07/05/MAUI-MvpVm

BillKrat avatar Jul 08 '22 03:07 BillKrat

CLA assistant check
All CLA requirements met.

jongalloway avatar Jul 08 '22 03:07 jongalloway

Hey Bill, thanks for the PR and for looking to add MVP into the mix. For this workshop I don't want to introduce another module into the main flow at this time as I have a full content plan. However, I would like to add on "Community Modules" in a new folder in which you can take the finished app and add something to it to teach developers a new topic. This would be a good candidate for this.

jamesmontemagno avatar Jul 27 '22 22:07 jamesmontemagno

I just created a guide: https://github.com/dotnet-presentations/dotnet-maui-workshop/blob/main/Community%20Modules/README.md

jamesmontemagno avatar Jul 28 '22 00:07 jamesmontemagno

Thanks for the feedback, sounds good. Please keep me in mind when the community module(s) are available.

I remember when P&P released Prism and the Unity container (later MEF), I was totally lost as to how decoupled applications worked. Fell in love with them (still follow principles learned today) but found they are not embraced; teams prefer more conventional approach (you can follow the code).

I’ve been painted into corners because of it, so this is my opportunity to get on a soapbox and sell the power of decoupled architectures based on IOC and talk is cheap.

Best regards Bill

Sent from my iPhone

On Jul 27, 2022, at 5:25 PM, James Montemagno @.***> wrote:

 Hey Bill, thanks for the PR and for looking to add MVP into the mix. For this workshop I don't want to introduce another module into the main flow at this time as I have a full content plan. However, I would like to add on "Community Modules" in a new folder in which you can take the finished app and add something to it to teach developers a new topic. This would be a good candidate for this.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.

BillKrat avatar Jul 28 '22 00:07 BillKrat

@BillKrat take a look at https://github.com/dotnet-presentations/dotnet-maui-workshop/blob/main/Community%20Modules/README.md and let me know if that stuff makes sense

jamesmontemagno avatar Jul 28 '22 19:07 jamesmontemagno

@James, makes sense, I’ll get the ball rolling this weekend.

From: James Montemagno @.> Sent: Thursday, July 28, 2022 2:14 PM To: dotnet-presentations/dotnet-maui-workshop @.> Cc: Bill Kratochvil @.>; Mention @.> Subject: Re: [dotnet-presentations/dotnet-maui-workshop] Dotnet maui workshop mvpvm (PR #75)

@BillKrat https://github.com/BillKrat take a look at https://github.com/dotnet-presentations/dotnet-maui-workshop/blob/main/Community%20Modules/README.md and let me know if that stuff makes sense

— Reply to this email directly, view it on GitHub https://github.com/dotnet-presentations/dotnet-maui-workshop/pull/75#issuecomment-1198535636 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AMVXFIZS4SBRBVYZMOGTFQDVWLLYBANCNFSM527RSJTQ . You are receiving this because you were mentioned. https://github.com/notifications/beacon/AMVXFIYSIKC4N2I3HMB3TKLVWLLYBA5CNFSM527RSJT2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOI5YDHVA.gif Message ID: @.*** @.***> >

BillKrat avatar Jul 29 '22 12:07 BillKrat