ipjohnson / StyleMVVM

MVVM framework for .Net, WinRT, and Windows Phone
2 stars 1 forks source link

Upgrading from 3.1.5 to 4.0 #2

Open sr258 opened 8 years ago

sr258 commented 8 years ago

I'm aware that 4.0 isn't a drop-in replacement of StyleMVVM 3.0 but could you be more clear about what work has to be done to port an application to 4.0?

ipjohnson commented 8 years ago

Hi,

Sorry it's taken me a while to get back to you about this. I actually haven't been working on it much as I haven't been writing XAML based apps for the past year+.

That said I looked at 4.0 as a very cut down version of 3.X. that would have add ons for validation and other more complex features. I never got around to implementing the add ons so it has the basics like mediator pattern, Visualization service, event handling but not that much else.

What platform were you looking to upgrade in?

-Ian

sr258 commented 8 years ago

Hi Ian,

I’d like to upgrade a WinRT app (that I’ve converted to UWP). I’m not really using the advanced features. I use the DI container, navigation, auto-wiring of VMs and events.

Sebastian

Von: Ian Johnson [mailto:notifications@github.com] Gesendet: Mittwoch, 9. März 2016 15:30 An: ipjohnson/StyleMVVM StyleMVVM@noreply.github.com Cc: sr258 serettig@gmail.com Betreff: Re: [StyleMVVM] Upgrading from 3.1.5 to 4.0 (#2)

Hi,

Sorry it's taken me a while to get back to you about this. I actually haven't been working on it much as I haven't been writing XAML based apps for the past year+.

That said I looked at 4.0 as a very cut down version of 3.X. that would have add ons for validation and other more complex features. I never got around to implementing the add ons so it has the basics like mediator pattern, Visualization service, event handling but not that much else.

What platform were you looking to upgrade in?

-Ian

— Reply to this email directly or view it on GitHub https://github.com/ipjohnson/StyleMVVM/issues/2#issuecomment-194319705 .

ipjohnson commented 8 years ago

I think I can put together an example app this weekend. For you it shouldn't be that much different as it's really just a mater of swapping the bootstrapper and changing the DI configuration (It depends on grace now for DI rather than having a separate container).

You mentioned autowiring so I'm guessing you're using the conventions module. I need to check to make sure that functionality is implemented. If not I can add it pretty easily as it can be ported whole hog from 3.X

I'll update this issue this weekend with my findings.

sr258 commented 8 years ago

Thank you very much for your efforts!

Von: Ian Johnson [mailto:notifications@github.com] Gesendet: Mittwoch, 9. März 2016 20:57 An: ipjohnson/StyleMVVM StyleMVVM@noreply.github.com Cc: sr258 serettig@gmail.com Betreff: Re: [StyleMVVM] Upgrading from 3.1.5 to 4.0 (#2)

I think I can put together an example app this weekend. For you it shouldn't be that much different as it's really just a mater of swapping the bootstrapper and changing the DI configuration (It depends on grace now for DI rather than having a separate container).

You mentioned autowiring so I'm guessing you're using the conventions module. I need to check to make sure that functionality is implemented. If not I can add it pretty easily as it can be ported whole hog from 3.X

I'll update this issue this weekend with my findings.

— Reply to this email directly or view it on GitHub https://github.com/ipjohnson/StyleMVVM/issues/2#issuecomment-194477281 .

ipjohnson commented 8 years ago

Hi Sebastian,

I did some research into UWP (I haven't been staying up on my XAML technologies). I think StyleMVVM 4 can work well for it. That said I looked at the Conventions code and it looks like I didn't complete the port of the code.

That said I think I might want to look at renaming version 4 to something else to avoid confusion as it's missing so many features (by design) and it's re-targeting UWP. Maybe something like BareMVVM

Features that it would contain for initial release