Is MVVM LayoutAwarePage enough?

I'm currently using MVVM Light, but I see that LayoutAwarePage in Windows Store Apps offers its own basic MVVM implementation. Which MVVM implementation is recommended for the Windows Store App? It seems that using MVVM Light I could add redundant code. Is it possible to integrate both systems?

+3


source to share


2 answers


You may also be interested in checking out the App Framework App Framework ( http://okra.codeplex.com ). It is an MVVM framework designed from the ground up for Windows 8 development and allows LayoutAwarePage to be used for visual states.



Andy

+2


source


I recently used LayoutAwarePage on all pages of a project I recently did. I have found this to be useful in terms of supporting device orientation changes, navigation, and process lifecycle management i.e. The appstore windows are specific things when compared to a blank page. The LayoutAwarePages DefaultViewModel is great for getting up and running quickly and easily, but if you want a clean implementation of the MVVM pattern in terms of testability, loose component connection / separation of concerns, and minimal code usage, you're probably on the right lines with MVVM highlighting.

Anyway, hope this was helpful and good luck with your project.



Andrew

+1


source







All Articles