Domain Model Examples For .Net
Since I made the post on Migrating from Table Models to Domain Models via OCL I’ve had a couple people ask about examples using the Domain Model with .Net. The best book I’ve found on the subject of patterns and enterprise architecture is Martin Fowler’s PoEAA book. Although not written just for .Net developers, it does have some .Net examples and some Java, too. As for a real world example, I haven’t found one. Typically I’d point to the MSDN Patterns and Practices site for this type of stuff, but I haven’t found a good Domain Model example there. One of the things we are trying to do with the LearningXml and XmlInsiders projects is to build our websites using some of the best practices we’ve developed involving the use of XML within your application. And one of those things is how to map your relational data to your Domain Model. When I get some time, I’ll create an example of how I’ve been doing this. Until then, if anyone else knows of some good domain model examples in .Net please post a comment to let the folks know about it.
Hopefully, once I get the example down, then I can use it to demonstrate some of the ideas I have about using OCL to help in the data mapping process.
DonXML Demsak
The preceding blog entry has been syndicated from the DonXML Demsak’s All Things Techie Blog. Please post all comments on the original post.