Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to start using MVVM in Metro Applications?

I was watching that there's applications using this pattern. For example, Bewise.Cookbook is implementing MVVM framework from Galasoft.

I want studying some labs in Windows 8, but I have my doubts about using this pattern in Metro Applications.

Someone knows a good site where teach you using Win8 with MVVM?

like image 258
Darf Zon Avatar asked Jun 09 '12 21:06

Darf Zon


2 Answers

MVVM has nothing particular in Windows 8. If you don't find any tutorials about using MVVM with Windows 8, try searching for tutorials about MVVM with Silverlight.

You can also check this:

  • An Address Book Application Made in MVVM For Metro Style App in Windows 8 (Part 1)
  • An Address Book Application Made in MVVM For Metro Style App in Windows 8 (Part 2)
like image 144
Thomas LEBRUN Avatar answered Oct 08 '22 22:10

Thomas LEBRUN


I recommend StyleMVVM. It's an MVVM framework designed from the ground up for the Metro platform. It includes its own attribute based IoC, implementations for ICommand and attached command behaviors, as well as services for Tiles, Badges, Toasts and Settings Pane (charm flyout). It also supports all three languages (C#, C++/CX and HTML/JS).

To make things easy to get started there are a number of C# & C++/CX templates as well as a nice example weather app.

like image 44
Ian Johnson Avatar answered Oct 08 '22 22:10

Ian Johnson