|
|
|
|
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
|
|
|
|
|
Anonymous comments are disabled
About donxml
I’m an independent consultant, specializing in .Net solutions architecture, based out of New Jersey who also doubles as an evangelist for XML, Domain Driven Design, enterprise architecture and .Net. I do not work for Microsoft, the W3C or any other big company that you may know of (at least not yet). I’ve been an indie for over ten years, and although I’ve been tempted a couple times to take a job with companies like Microsoft, I’ve haven’t found something better than my current situation. I work mostly with the large pharmaceuticals that are based here in New Jersey, and usually find myself on long term contracts. Definitely not the prototypical indie consultant, but it lets me dedicate time to my non-income generating activities like the developer community stuff, plus financing open source projects like XPathmania and MVP-XML. If you would like to talk to me about doing some contract work, just contact me via the contact page. My rates vary widely, depending on lots of different variables, but mostly distance from Jersey, and type of work. Plus, I’ve been known to donate some of my code for various projects.