Tag Archives: Silverlight

Commands versus Event Triggers in MVVM

Recently I’ve received some questions from the Simple MVVM Toolkit’s discussion forum on when to use commands versus Blend-style event triggers. For several reasons I tend to favor event triggers over commands in most scenarios, especially for Silverlight applications. Download … Continue reading

Posted in Technical | Tagged , | 11 Comments

Simple MVVM Toolkit: Unit Testing with Dependency Injection and MEF

One of the main benefits of using the MVVM (Model, View, ViewModel) design pattern is to support better testability.  Having to click through screens to test an application can be tedious and time-consuming, and it may not provide good code … Continue reading

Posted in Technical | Tagged , , | 2 Comments

Simple MVVM Toolkit: Feature Rich with WPF and WP7 Support

I’ve rounded out the feature set of my Simple MVVM Toolkit to include a Message Bus (also known as an event aggregator or mediator) for loosely coupled communication among view-models and to support MEF (Managed Extensibility Framework0 for dependency injection … Continue reading

Posted in Technical | Tagged , , , , | Leave a comment

Easier Async for Silverlight Apps using MVVM

It makes sense to execute long-running tasks on a background thread, in order to keep the UI responsive by not tying up the main thread.  However, as is the case with other UI frameworks such as Windows Forms or WPF, … Continue reading

Posted in Technical | Tagged , | 4 Comments

Tackling the Problem of Modal Dialogs in MVVM

One of the first issues you’ll run into when wading into the waters of MVVM is how to display model dialogs to the user while executing code in the view-model.  Popping up a dialog, such as a MessageBox or a … Continue reading

Posted in Technical | Tagged , | 25 Comments

Type-Safe Two-Way Data Binding with INotifyPropertyChanged

Anyone who’s developed a UI application using Windows Forms, WPF or Silverlight is probably aware that you have to implement the INotifyPropertyChanged interface to get two-way data binding between UI elements and an underlying data source. The problem is that … Continue reading

Posted in Technical | Tagged , | 13 Comments

Simple MVVM Toolkit Improvements: Documentation, Features, Sample Apps

I’ve released a new version of my Simple MVVM Toolkit for Silverlight that has improved documentation, a bunch of new features and additional sample applications.  The emphasis of the toolkit is simplicity – not in the sense that it’s rinky-dink … Continue reading

Posted in Technical | Tagged , | Leave a comment

MVVM: Simple is Beautiful

It’s been a few weeks since I published the Simple MVVM Toolkit for Silverlight on CodePlex. Since that time I’ve fleshed out the documentation, which includes installation instructions and a programming reference.  I’ve also published an update that includes some … Continue reading

Posted in Technical | Tagged , | 12 Comments

Life Just Got Easier: Simple MVVM Toolkit for Silverlight

If you’ve made a decision to start using the Model-View-ViewModel pattern (abbreviated as MVVM) for Silverlight development, you’re faced with a rather steep learning curve and a scarcity of of accepted standards and best practices.  I’ve read no less than … Continue reading

Posted in Technical | Tagged , | 8 Comments