Thank you to everyone who came to my presentation on UI Design patterns! It was great to see so many people interested in patterns for building user interfaces.
One user group member recorded the presentation on his laptop's webcam; I should have that available for download this weekend. The video is so-so, but the audio isn't too bad. Thanks Walt!
Links
Download Code & Slides - http://xamlcoder.com/joe/downloads/UIDesignPatterns2008.zip
Martin Fowler MVC
Martin Fowler MVP
ASP.NET MVP & Other Patterns
Karl Shifflett MVVM
Requirements
- Visual Studio 2008 SP1
- Silverlight Tools for Visual Studio
- NUnit (included with code)
- Rhino Mocks (included with code
There's a small "gotcha" with the Silverlight sample. The implemenation is slightly different than that of it's WPF counterpart. Silverlight Dependency properties do not automatically fire change notifications when their values have changed. Therefore if you want property change notifications your control (read DependencyObject which the Dependency Property is a member of) itself has to implement the INotifyPropertyChanged interface, or you can do what I've done here and set the DataContext of a container control.