Adventures in MVVM – Commanding with List Boxes

May 29th, 2009

Continuing in my series of “Adventures in MVVM”, I want to talk about a few different approaches to working with List Boxes with the MVVM pattern.  What I am writing here is generally true of all controls that derive from Selector, including ListBox and ComboBox.  This example was developed in Silverlight, but the same concepts also apply to WPF Read More...

Adventures in MVVM – A Testing Story

May 27th, 2009

Adventures in MVVM I have been spending a lot of time lately thinking about client architecture with Silverlight and to a lesser extent, WPF.  I tend to subscribe to the philosophy that when you make your code testable, you get a lot of other great qualities along with it.  I believe this so strongly that I go out of my way to architect my inherently untestable code in a way that I can, indeed, test it Read More...

Adventures in MVVM – Commands in Silverlight

May 22nd, 2009

Adventures in MVVM EDIT: One of the things that I enjoy most about working with MVVM in Silverlight is how new it is.  When I say “new”, I mean that Silverlight doesn’t support the pattern very well out of the box, so the development community needs to step up and solve these problems Read More...

Adventures in MVVM – Model-View-ViewModel

May 22nd, 2009

This post is intended to be a high-level post intended to index all of my “Adventures in MVVM” posts.  I will be traveling the region this summer giving talks on the MVVM pattern and these posts are part of me working through the details of the MVVM pattern.  These posts will not include the “What” Read More...

My Summer Speaking Gigs

May 19th, 2009

I have been busy lining up opportunities to talk about Model-View-ViewModel (MVVM) in the context of WPF and SIlverlight.  The good news is that I have some great gigs lined up this summer: June 11th, 2009 – Greater Lansing .Net Users Group – Flint, MI June 17th, 2009 – Great Lakes Area Read More...

What to do About Those Pesky Singletons?

May 2nd, 2009

No matter what your opinion is about singletons (I favor against them in most cases), it is important to understand what you can do when you encounter code that is dependent upon them.  Unfortunately, I have come across a lot of code that has abused singletons in a way that makes other code less testable Read More...