Martin
Martin

Reputation: 24308

Win 8 / WP 8: MMVM Framework?

In the past I have used mvvmlight with some degree of success via wpf. I have recently seen Caliburn Micro but I would like to know if anyone has any experience with it.

I see the website for Caliburn Micro and it states it works on WP7 and WPF, what about win8 and wp8?

From what I understand Caliburn Micro takes away a lot the configuration away and goes with convention, this sounds nice, similar approach to asp.net mvc

Can anyone confirm that INavigationService can be used with CM ? Also is it true that no binding exists in CM because the items just work because of convention?

Or should I just continue with the MVVM Light route?

MVVM Light release schedule is a little delayed, anyone know what the release schedule is with CM?

Upvotes: 0

Views: 469

Answers (3)

devdigital
devdigital

Reputation: 34349

Yes, Caliburn.Micro supports WinRT and WP8 - see http://caliburnmicro.codeplex.com/wikipage?title=Working%20with%20WinRT&referringTitle=Documentation for WinRT documentation.

Caliburn.Micro has a convention over configuration approach so it will automatically bind controls on your view with verbs on your view models based on the name of the control. You can configure these conventions or just use explict bindings if you want to override this.

It supports INavigationService, and the last release of Caliburn.Micro was 1.5.1 on March 22nd.

Upvotes: 2

Charleh
Charleh

Reputation: 14002

You should really read up on the CM codeplex site http://caliburnmicro.codeplex.com

It supports INavigationService, it supports binding by convention or binding explicitly (though binding by convention is very powerful). It has a good release schedule (there have been two or more releases in the last 6-8 months including a major version). You can completely customise the conventions etc

I use it a lot - though I have not used MVVM Light so I can't comment on how that stacks up.

I can say, however, that CM has a very shallow learning curve and because it is so lightweight it's easy to memorise most of the codebase.

It is also very pluggable - if there is something you don't like you can just swap out a Func<> somewhere and replace it with your implementation.

Upvotes: 0

eandersson
eandersson

Reputation: 26352

I would recommend that you take a look at CaliburnMicroWinRT. It includes some new features for Windows 8:

  • Property Binding conventions
  • Method Binding conventions
  • Coroutines
  • Screens and Conductors
  • Navigation including Parameter injection
  • Windows 8 Share charm integration
  • Windows 8 Search charm integration

You can read more about the new changes here.

Many of these changes should have been merged with the official build as well. Take a look at the official NuGet here.

Upvotes: 1

Related Questions