Lernen WPF M-V-VM
MVVM scheint sich für WPF durch zu setzen.
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 and 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.

