Title Image

Don Xml's Grok This

The home of Don Demsak
Welcome to Don Xml's Grok This Sign in | Help
in Search

This Blog

Syndication

Site Sponsors

DonXml's All Things Techie

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

Published Tuesday, January 27, 2004 8:14 AM by donxml
Filed under:

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

TrackBack said:

January 27, 2004 8:18 AM

Christoffer Skjoldborg said:

On www.vb2themax.com (article bank menu item) there is an article series called "A Domain Model by a DB-guy" or something like that. It is written by Jimmy Nilsson (www.jnsk.se/weblog) and discusses how a Domain Model can be implemented in .Net. The articles are primarily design focused but do contain code examples as well. There are currently 6 articles in the series the last one being 4-5 months old....but if I'm not mistaken then there will soon be a new article that wraps up a lot of stuff done in the past 4-5 months and thus more or less complete the example of a Domain Model in .Net.
January 28, 2004 4:31 AM

Jimmy Nilsson said:

Yep, Christoffer is right. Part 7 is in alpha mode currently. Probably published in a few weeks.

Best Regards,
Jimmy
www.jnsk.se/weblog/
###
January 28, 2004 4:42 AM

Leave a Comment

(required) 
(optional)
(required) 
Submit

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.
Powered by Community Server, by Telligent Systems