In this part of the tutorial, we'll enhance our shell view to display other presenters and add Save and Print support for presenters supporting it. You can use generalize this example and learn how to implement generic features in your shell.
Back in May 2008, I did
two posts on how to implement a composite application using
Caliburn framework. By that time, Caliburn was still in pre-alpha stage. With lots of the changes along the way to reach
Release Candidate, those content are not valid anymore, so I thought a new post to show how you can use Caliburn to build a WPF application is in order.
Caliburn is an application framework for WPF / Silverlight. If you're developing applications for these platforms, there are many reasons why you definitely need to be using this framework, but today, I noticed how using this framework resulted writing less code while doing more. Let's see how writing a small WPF application using
MVVM pattern is different when using
Caliburn.
Simplest way to do Validation in WPF is usually implementing IDataErrorInfo interface, and do the validation in the indexer's getter. It turns out to be ugly and gets out of hand when your model / viewmodel gets a little larger. A better way would be to use NHibernate Validator engine to validate our view models.