---------- Please note: As of 05.2011, the Cookbook has been shelved and it's samples have been split apart.
You can still find them (with exception to the BadGolf sample) in the DRC: http://drc.ideablade.com/xwiki/bin/view/Documentation/code-sample-querying - Querying (Silverlight) , http://drc.ideablade.com/xwiki/bin/view/Documentation/code-sample-querying-wpf - Querying (Desktop) , http://drc.ideablade.com/xwiki/bin/view/Documentation/code-samples-working-with-entities - Working with Entities (Silverlight) , http://drc.ideablade.com/xwiki/bin/view/Documentation/code-samples-working-with-entities-wpf - Working with Entities (Desktop) , http://drc.ideablade.com/xwiki/bin/view/Documentation/SimpleComboBox - Simple combo box (Silverlight) , http://drc.ideablade.com/xwiki/bin/view/Documentation/code-sample-extend-faking - Composition Context (Desktop) .
The Bad Golf sample is no longer available. ----------
I just added my "Bad Golf" example to the DevForce Cookbook. "Bad Golf" is an attempt to show a number of useful patterns and practices working together without making something too complex to follow.
It's not done yet (not sure what that would mean anyway) and I cut corners all over the place. But it's got something of interest on a wide variety of development subjects and I hope it stimulates thought ... not slavish imitation!
Poke around in it and you will find evidence of:
DevForce Fake backing store instead of a database Model-View-ViewModel (MVVM) ViewModelLocator Repository EntityManager Gateway Bootstrapper / ServiceLocator Design with Data (Blendability) using both Blend sample data and DevForce ViewModel
Tests that works in both Silverlight and Desktop Asynchronous testing ViewModel testing
I'll keep nursing it along. I'll certainly be writing about how each of these features are illustrated. But don't wait for me; dive in and let me know what you think
|