For the last few months I’ve been studying M-V-VM and other WPF UI design patterns.
I have selected M-V-VM as my UI design pattern of choice for the soon to be released Ocean framework and code generation system.
I have read much of what Microsoft Partner Architect John Gossman, members of the WPF Disciples have published and specifically what my great friend and Microsoft & Code Project MVP Josh Smith has written on the UI design patterns.
Without any doubt, the best and clearest example of WPF M-V-VM I’ve seen is in Josh’s latest achievement, Crack.NET. If you want to learn M-V-VM from an expert, download Crack.NET source and study Josh’s masterpiece.
Applied
I’m sitting here at the Silicon Valley Code Camp having just taught a M-V-VM for WPF LOB session. The applications I presented were all 100% testable. The main application that has all the unit tests, can be run without ever displaying any UI. It is amazing the power that M-V-VM delivers with such simplicity.
I need to make a few videos and write up a blog post and I’ll share the code with you after next weekend.
I’m finishing up Ocean’s UI and it uses M-V-VM.
Below is a slide from the presentation. It covers the layers found in an WPF LOB application.
Raleigh Code Camp
Next weekend, 15 Nov 2008, I’ll be in Raleigh, NC for the annual fall RDU Code Camp. I’ll be launching Ocean at this code camp and will be doing several other sessions as well as being available in the Open Spaces. See you there!!
Close
Have a great day,
Just a grain of sand on the worlds beaches.


