-
Normal 0 false false false EN-GB X-NONE X-NONE MicrosoftInternetExplorer4 Classically an ORM persists an object model to a relational model. Typically just use it to retrieve or persist the state of the objects in our model, not provide integration through models. Though obviously there is some translation...
-
Hi there. I got this question from a fellow named Martin today: Real simple ... most of the discussion on DDD surrounds the design in terms of the ubiquitous language. What if you are developing a product that is designed to be a tool for a certain industry, say marketing, but the processes and terminology...
-
In earlier parts of this series we looked at mapping via XML mapping files . I wanted to look at some alternatives to the angle bracket tax. First up is the Castle project's Active Record. Next time we will look at Fluent NHibernate. Active Record Support for Attribute Based Mapping While mapping...
-
One new thing I want to start doing on this blog is releasing early drafts of my editor’s notes. There are a couple reasons for this. I want my ednotes to start being more technical anyway, and you good folks are the right people to help ensure that Most of the early drafts are going to be too...
-
I have to admit that when I first started writing about DDDD I felt the need to separate its concepts from DDD. The reason for this is that the concepts being discussed were not in the mainstream of DDD. It needed to be segregated so that people could differentiate between the ideas.... Now to let everyone...
-
I will be doing a talk today for Alt.Net Europe's VAN program You can find out more information on the talk including the livemeeting address here http://elegantcode.com/2009/01/29/european-virtual-altnet-meeting-on-02022009/ I will be talking about command query separation in DDD based systems....
-
One of the nice benefits of a Specification is that one could write some code like the following: IEnumerable<Customer> customers = CustomerRepository.AllMatching(CustomerSpecifications.IsGoldCustomer); Writing code like this has allowed the developer to reuse a specification from the domain within...
-
I received an interesting question via email recently that I figured would be better answered via a blog post than a private response. Greg, <clip of intro and flattery> So you are getting messages directly out of your repositories and sending command messages directly to them for persistence....
-
Consider the following code. public class Customer { . . . public bool IsPreferredCustomer { get { return (this.TotalSales > 10000 || this.TotalVisits > 50) || (this.TotalSales > 5000 && this.TotalVisits > 25); } } In this example a common pattern is being followed where an attribute...
-
This description of problem analysis by Reginald Braithwaite (who is a smart person) struck a chord with me: I found this to be an important point in my own programming, and I don't know if that's a general point but quite often we see something and we are very tempted to say "Oh, this is...
-
This is a reply to Stephen Fortes post Impedance Mismatch from a ways back. I would have posted about it sooner but I sadly just saw it today when a co-worker Stefan Moser linked it over to me. I know that this debate has become quite heated through the community and as such will refrain from personal...
-
Over the weekend I got the chance to sit down with Keith Elder and Chris Woodruff of Deep Fried Bytes fame and discuss domain-driven design. It was a fun conversation and the first part (of two) is available for download. We focused on some of -- what I'd consider, anyway -- the important fundamentals...
-
Time for a little bit of a rant. In a recent post , Jeffery Palermo paraphrases an analogy made by David Platt on a recent episode of the .NET Rocks podcast : In software, we can't expect our clients to know what they need. Much like the depth of a patient may be "I need to get rid of this infection"...
-
A quick disclaimer: we're entering religious territory here. I feel strongly about this issue, but it's certainly my opinion. If you want to get the full sense of how passionate people are about this issue, check out this article at JavaWorld . I've come to the point of view that Entities...
-
After some conversations with Scott and others I have decided that I will be writing up alot more on DDDD (I have already started). I will be releasing it under a creative commons license as opposed to going with a brick and mortar publisher. Over the next few weeks I will begin pushing stuff out to...