posted on Monday, October 10, 2005 5:25 PM by anoras

Domain Driven Design

A crucial threat against a project’s success is that it’s being put off course by developers having too much attention on technical issues, and hence forgetting to pay attention to the primary objective which is to solve business a business problem. A key job qualification for a developer is to know your programming language and the related technical frameworks, but this is far from enough. To ensure success, you must strive to understand the client’s business domain. You probably know a dozen technical design patterns, but have you ever though about how similar patterns can be applied within the business domain? Eric Evans, whom I’ve had the pleasure to meet on several occasions, has written an excellent book on this topic entitled Domain Driven Design. He also maintains a community website for people who are interested in not just developing code, but also delivering business value.

I’m sitting at my workstation,
Got a two inch stack of documentation. (Mmm.)
And each page looks the same to me
With Visitors and Factories,
And every data class I see
Reminds me that I long to be...

Chorus:
Domain Driven
We wish we was
Domain Driven
Domain, where the code's not breaking
Domain, where my head's not aching
Domain, where the system's speaking
Constantly to me

Our craft is programming, and we can never have the same knowledge about a business domain as a domain expert. Just as we do; domain experts have their own lingo, so to be able to discuss the business domain with the client you’ll need to get hip to the talk of the domain experts. As a consultant I’ve worked with vastly different businesses, ranging from transportation, to financial services and various governmental services to name a few. Usually, clients don’t expect you to be a domain expert, but if you don’t understand the business domain you run the risk of producing software that doesn’t adhere to a client’s understanding of the business rules.

Every class an endless stream,
Of muddled names and responsibilities. (Mmm.)
The shallow model frightens me
With subtle bugs that I can’t see.
This software runs the company
Won’t domain experts talk to me? 

(chorus)

In addition to being honest about only having layman’s knowledge about most business domains, I have two sharp tools to swiftly gain knowledge about arbitrary business domains; domain glossaries and Amazon. The Internet is flooded with great glossaries of various terms used within different industries. I’ve used glossaries of insurance, agricultural, shipping and many other terms. While glossaries are great to find the right name for an entity or operation on a class, you need to dig deeper to gain knowledge about the nuts and bolts of an industry. If you’re working on a project within the insurance sector, Emmet J. Vaughn’s Fundamentals of Risk and Insurance or even Jack Hungelmann’s Insurance for Dummies might be a good place to start.

Tonight I'm staying late again,
I'll play the game and pretend. (Mmm.)
Our big design comes back to me
In shades of mediocrity,
Like emptiness in harmony
This architecture's killing me. 

(chorus)

The lyrics are from Domain Driven – The song by Tracy Bialik and Russ Rufer, and it should be sung to the tune of Paul Simon and Art Garfunkel’s Homeward Bound. The song sings for it self, you should pay at least as much attention to your domain design as you do to your technical architecture. This doesn’t take the fun away from your projects, in fact it encourages you to develop an agile, lightweight technical architecture that doesn’t get in the way of the business challenges which is much more fun than writing a mega framework for a minor problem just to learn that it just doesn’t work.

Comments

# Very good Site! @ Monday, May 21, 2007 7:49 PM

http://www.torrentspy.com/site1/ [url=http://www.torrentspy.com/site2/]site2[/url] <a href="http://www.torrentspy.com/site3/">site3</a> <a href=http://www.torrentz.com/site4/>site4</a>
[url="http://www.torrentz.com/site5/"]site5[/url] [link=http://www.torrentz.com/site6/]site6[/link] v

Fwyioubx

# Very good Sitedmnsxo35 @ Friday, May 25, 2007 2:05 PM

http://www.usmle.net/step-3/messages2007a/182335.html http://www.usmle.net/step-3/messages2007a/182338.html http://www.usmle.net/step-3/messages2007a/182323.html http://www.usmle.net/step-3/messages2007a/182337.html http://www.usmle.net/step-3/messages2007a/182332.html http://www.usmle.net/step-3/messages2007a/182328.html xf

Dhvispry

# It's fine siteplmmdu45 @ Saturday, May 26, 2007 5:51 AM

http://www.usmle.net/step-3/messages2007a/182331.html http://www.usmle.net/step-3/messages2007a/182322.html http://www.usmle.net/step-3/messages2007a/182333.html http://www.usmle.net/step-3/messages2007a/182321.html http://www.usmle.net/step-3/messages2007a/182336.html http://www.usmle.net/step-3/messages2007a/182335.html ui

Skquzmjc

# Special thanks for your worktuiimq06 @ Saturday, May 26, 2007 8:28 PM

http://www.usmle.net/step-3/messages2007a/182323.html http://www.usmle.net/step-3/messages2007a/182322.html http://www.usmle.net/step-3/messages2007a/182334.html http://www.usmle.net/step-3/messages2007a/182333.html http://www.usmle.net/step-3/messages2007a/182321.html http://www.usmle.net/step-3/messages2007a/182330.html na

Uymjflbd

# Best viewsuerkbs57 @ Sunday, May 27, 2007 12:03 PM

http://www.usmle.net/step-3/messages2007a/182338.html http://www.usmle.net/step-3/messages2007a/182323.html http://www.usmle.net/step-3/messages2007a/182328.html http://www.usmle.net/step-3/messages2007a/182334.html http://www.usmle.net/step-3/messages2007a/182330.html http://www.usmle.net/step-3/messages2007a/182340.html wn

Zqeolrgv

# Very good Site! @ Thursday, May 31, 2007 7:24 AM

http://www.torrentspy.com/site1/ [url=http://www.torrentspy.com/site2/]site2[/url] <a href="http://www.torrentspy.com/site3/">site3</a> <a href=http://www.torrentz.com/site4/>site4</a>
[url="http://www.torrentz.com/site5/"]site5[/url] [link=http://www.torrentz.com/site6/]site6[/link] v

Ftqmgzex

# Oshea @ Tuesday, June 05, 2007 12:36 PM

Veteran game show host Bob Barker is stepping down from hosting The Price is Right after 35 years.

Anonymous

# Oshea @ Tuesday, June 05, 2007 12:40 PM

Veteran game show host Bob Barker is stepping down from hosting The Price is Right after 35 years.

Anonymous

# Cruz @ Tuesday, June 05, 2007 1:08 PM

The Red Hot Chili Peppers are leading the way at this years MTV Europe music awards with four nominations.

Anonymous

# Lemaster @ Tuesday, June 05, 2007 2:22 PM

The judge who put coded messages in his Da Vinci Code plagiarism trial ruling has written another.

Anonymous

# Fitzsimmons @ Tuesday, June 05, 2007 2:37 PM

Madonna says she may adopt another child from abroad following her proposed adoption of a Malawian boy.

Anonymous

# Gonzalez @ Tuesday, June 05, 2007 2:51 PM

Social networking site MySpace is to block users from uploading copyrighted music to its pages.

Anonymous

# Foote @ Tuesday, June 05, 2007 3:06 PM

Singer George Michael lends the piano on which John Lennon wrote Imagine to an anti-war exhibition.

Anonymous

# Clapp @ Tuesday, June 05, 2007 3:21 PM

The Rolling Stones postpone a show in the US to allow singer Sir Mick Jagger time to rest his voice.

Anonymous

# Marcus @ Tuesday, June 05, 2007 3:37 PM

Record company EMI sign a deal with the estate of crooner Dean Martin to use the singer's likeness.

Anonymous

# Manns @ Tuesday, June 05, 2007 3:51 PM

Veteran actor William Franklyn, known for voicing the 1960s Schweppes TV adverts, dies aged 81.

Anonymous

# Hargrave @ Tuesday, June 05, 2007 4:07 PM

The Rolling Stones cancel a gig in Hawaii and postpone other tour dates as Mick Jagger suffers throat troubles.

Anonymous

# Magee @ Tuesday, June 05, 2007 4:22 PM

Colombia's vice president is &amp;quot;baffled&amp;quot; by Kate Moss's success following cocaine allegations.

Anonymous

# Kimbrough @ Tuesday, June 05, 2007 4:35 PM

Colombia's vice president is &amp;quot;baffled&amp;quot; by Kate Moss's success following cocaine allegations.

Anonymous

# Ring @ Tuesday, June 05, 2007 4:50 PM

Social networking site MySpace is to block users from uploading copyrighted music to its pages.

Anonymous

# Higdon @ Tuesday, June 05, 2007 5:05 PM

Colombia's vice president is &amp;quot;baffled&amp;quot; by Kate Moss's success following cocaine allegations.

Anonymous

# Gannon @ Tuesday, June 05, 2007 5:20 PM

London-born rapper Sway is to be honoured at the BET Hip-Hop awards in the US.

Anonymous

# Haggerty @ Tuesday, June 05, 2007 5:36 PM

Record company EMI sign a deal with the estate of crooner Dean Martin to use the singer's likeness.

Anonymous

# Mckenna @ Tuesday, June 05, 2007 5:52 PM

Jonathan Ross is dubbed &amp;quot;risque&amp;quot; by Ofcom but not in breach of rules over an interview with David Cameron.

Anonymous

# Chadwick @ Tuesday, June 05, 2007 6:05 PM

Borat creator Sacha Baron Cohen reportedly signs a $42.5m (22m) film deal starring his character Bruno.

Anonymous

# Ricketts @ Tuesday, June 05, 2007 6:20 PM

Colombia's vice president is &amp;quot;baffled&amp;quot; by Kate Moss's success following cocaine allegations.

Anonymous

# Guido @ Tuesday, June 05, 2007 6:36 PM

TV host Oprah Winfrey gives audience members $1,000 (526) each to donate to a charitable cause.

Anonymous

# Zeller @ Tuesday, June 05, 2007 6:51 PM

Veteran game show host Bob Barker is stepping down from hosting The Price is Right after 35 years.

Anonymous

# Carpenter @ Tuesday, June 05, 2007 7:06 PM

Veteran game show host Bob Barker is stepping down from hosting The Price is Right after 35 years.

Anonymous

# Stauffer @ Tuesday, June 05, 2007 7:21 PM

Jonathan Ross is dubbed &amp;quot;risque&amp;quot; by Ofcom but not in breach of rules over an interview with David Cameron.

Anonymous

# Milam @ Tuesday, June 05, 2007 7:35 PM

Veteran actor William Franklyn, known for voicing the 1960s Schweppes TV adverts, dies aged 81.

Anonymous

# Tellez @ Tuesday, June 05, 2007 7:49 PM

Colombia's vice president is &amp;quot;baffled&amp;quot; by Kate Moss's success following cocaine allegations.

Anonymous

# Gunderson @ Tuesday, June 05, 2007 8:03 PM

The first stage of a 150m investment in regional museums is praised for boosting visitor numbers.

Anonymous

# Tharp @ Tuesday, June 05, 2007 8:17 PM

Veteran game show host Bob Barker is stepping down from hosting The Price is Right after 35 years.

Anonymous

# Bostick @ Tuesday, June 05, 2007 8:33 PM

Pop trio Atomic Kitten will reform to play a concert in support of jailed Liverpool football fan Michael Shields.

Anonymous

# Talbert @ Tuesday, June 05, 2007 8:47 PM

Alec Baldwin asks for his voice to be removed from an &amp;quot;unfair&amp;quot; documentary about Arnold Schwarzenegger.

Anonymous

# Oliveira @ Tuesday, June 05, 2007 9:02 PM

The first stage of a 150m investment in regional museums is praised for boosting visitor numbers.

Anonymous

# Noland @ Tuesday, June 05, 2007 9:16 PM

TV host Oprah Winfrey gives audience members $1,000 (526) each to donate to a charitable cause.

Anonymous

# Fulcher @ Tuesday, June 05, 2007 9:33 PM

Jonathan Ross is dubbed &amp;quot;risque&amp;quot; by Ofcom but not in breach of rules over an interview with David Cameron.

Anonymous

# Cochrane @ Tuesday, June 05, 2007 10:04 PM

Social networking site MySpace is to block users from uploading copyrighted music to its pages.

Anonymous

# Renner @ Tuesday, June 05, 2007 10:19 PM

Pop trio Atomic Kitten will reform to play a concert in support of jailed Liverpool football fan Michael Shields.

Anonymous

# Shuman @ Tuesday, June 05, 2007 10:34 PM

TV host Oprah Winfrey gives audience members $1,000 (526) each to donate to a charitable cause.

Anonymous

# Kaye @ Tuesday, June 05, 2007 10:49 PM

William Styron, whose Holocaust novel Sophie's Choice became a film and an opera, has died, aged 81.

Anonymous

# Dugas @ Tuesday, June 05, 2007 11:04 PM

Veteran game show host Bob Barker is stepping down from hosting The Price is Right after 35 years.

Anonymous

# Driscoll @ Tuesday, June 05, 2007 11:19 PM

Microsoft and Peter Jackson postpone the making of a film based on the Halo video game after backers pull out.

Anonymous

# Rodriguez @ Tuesday, June 05, 2007 11:33 PM

Madonna says she may adopt another child from abroad following her proposed adoption of a Malawian boy.

Anonymous

# Montague @ Tuesday, June 05, 2007 11:49 PM

London-born rapper Sway is to be honoured at the BET Hip-Hop awards in the US.

Anonymous

# Dover @ Wednesday, June 06, 2007 12:02 AM

The Rolling Stones cancel a gig in Hawaii and postpone other tour dates as Mick Jagger suffers throat troubles.

Anonymous

# Feliciano @ Wednesday, June 06, 2007 12:20 AM

The Rolling Stones cancel a gig in Hawaii and postpone other tour dates as Mick Jagger suffers throat troubles.

Anonymous

# Speight @ Wednesday, June 06, 2007 12:50 AM

Singer George Michael lends the piano on which John Lennon wrote Imagine to an anti-war exhibition.

Anonymous

# Slack @ Wednesday, June 06, 2007 1:05 AM

Madonna says she may adopt another child from abroad following her proposed adoption of a Malawian boy.

Anonymous

# Alonso @ Wednesday, June 06, 2007 1:20 AM

Classical singer Russell Watson postpones his forthcoming UK tour after undergoing brain surgery.

Anonymous

# Vance @ Wednesday, June 06, 2007 1:35 AM

Classical singer Russell Watson postpones his forthcoming UK tour after undergoing brain surgery.

Anonymous

# Kong @ Wednesday, June 06, 2007 1:53 AM

Veteran actor William Franklyn, known for voicing the 1960s Schweppes TV adverts, dies aged 81.

Anonymous

# Barrow @ Wednesday, June 06, 2007 2:06 AM

Colombia's vice president is &amp;quot;baffled&amp;quot; by Kate Moss's success following cocaine allegations.

Anonymous

# Ortiz @ Wednesday, June 06, 2007 2:19 AM

The Red Hot Chili Peppers are leading the way at this years MTV Europe music awards with four nominations.

Anonymous

# Bronson @ Wednesday, June 06, 2007 2:34 AM

Pop trio Atomic Kitten will reform to play a concert in support of jailed Liverpool football fan Michael Shields.

Anonymous

# Ulmer @ Wednesday, June 06, 2007 2:49 AM

Alec Baldwin asks for his voice to be removed from an &amp;quot;unfair&amp;quot; documentary about Arnold Schwarzenegger.

Anonymous

# Lovelace @ Wednesday, June 06, 2007 3:03 AM

Borat creator Sacha Baron Cohen reportedly signs a $42.5m (22m) film deal starring his character Bruno.

Anonymous

# Lovejoy @ Wednesday, June 06, 2007 3:18 AM

A musical about the witches from The Wizard of Oz breaks West End box office records, its producers say.

Anonymous

# Wade @ Wednesday, June 06, 2007 3:33 AM

The Rolling Stones cancel a gig in Hawaii and postpone other tour dates as Mick Jagger suffers throat troubles.

Anonymous

# Wade @ Wednesday, June 06, 2007 3:33 AM

The Rolling Stones cancel a gig in Hawaii and postpone other tour dates as Mick Jagger suffers throat troubles.

Anonymous

# Somerville @ Wednesday, June 06, 2007 3:47 AM

The Rolling Stones cancel a gig in Hawaii and postpone other tour dates as Mick Jagger suffers throat troubles.

Anonymous

# Shephard @ Wednesday, June 06, 2007 4:03 AM

Singer George Michael lends the piano on which John Lennon wrote Imagine to an anti-war exhibition.

Anonymous

# Isaacson @ Wednesday, June 06, 2007 4:20 AM

Colombia's vice president is &amp;quot;baffled&amp;quot; by Kate Moss's success following cocaine allegations.

Anonymous

# Overby @ Wednesday, June 06, 2007 4:35 AM

Veteran actor William Franklyn, known for voicing the 1960s Schweppes TV adverts, dies aged 81.

Anonymous

# Ingraham @ Wednesday, June 06, 2007 4:52 AM

William Styron, whose Holocaust novel Sophie's Choice became a film and an opera, has died, aged 81.

Anonymous

# Ingraham @ Wednesday, June 06, 2007 4:52 AM

William Styron, whose Holocaust novel Sophie's Choice became a film and an opera, has died, aged 81.

Anonymous

# Guffey @ Wednesday, June 06, 2007 5:06 AM

Classical singer Russell Watson postpones his forthcoming UK tour after undergoing brain surgery.

Anonymous

# Mortensen @ Wednesday, June 06, 2007 5:22 AM

Social networking site MySpace is to block users from uploading copyrighted music to its pages.

Anonymous

# Lemmon @ Wednesday, June 06, 2007 5:38 AM

Pioneering screenwriter Nigel Kneale, best known for the Quatermass TV serials and films, dies aged 84.

Anonymous

# York @ Wednesday, June 06, 2007 5:54 AM

A musical about the witches from The Wizard of Oz breaks West End box office records, its producers say.

Anonymous

# Mackenzie @ Wednesday, June 06, 2007 6:09 AM

Madonna says she may adopt another child from abroad following her proposed adoption of a Malawian boy.

Anonymous

# Odum @ Wednesday, June 06, 2007 6:24 AM

The Rolling Stones cancel a gig in Hawaii and postpone other tour dates as Mick Jagger suffers throat troubles.

Anonymous

# Bartholomew @ Wednesday, June 06, 2007 6:41 AM

Madonna says she may adopt another child from abroad following her proposed adoption of a Malawian boy.

Anonymous

# Holbrook @ Wednesday, June 06, 2007 6:55 AM

Pop trio Atomic Kitten will reform to play a concert in support of jailed Liverpool football fan Michael Shields.

Anonymous

# Creech @ Wednesday, June 06, 2007 7:08 AM

Doctor Who takes three prizes at the National Television Awards in a repeat of its success last year.

Anonymous

# Bowers @ Wednesday, June 06, 2007 7:22 AM

Colombia's vice president is &amp;quot;baffled&amp;quot; by Kate Moss's success following cocaine allegations.

Anonymous

# Bittner @ Wednesday, June 06, 2007 7:38 AM

Record company EMI sign a deal with the estate of crooner Dean Martin to use the singer's likeness.

Anonymous

# Jacks @ Wednesday, June 06, 2007 8:07 AM

The Rolling Stones cancel a gig in Hawaii and postpone other tour dates as Mick Jagger suffers throat troubles.

Anonymous

# Council @ Wednesday, June 06, 2007 8:22 AM

TV host Oprah Winfrey gives audience members $1,000 (526) each to donate to a charitable cause.

Anonymous

# Ames @ Wednesday, June 06, 2007 8:39 AM

Doctor Who takes three prizes at the National Television Awards in a repeat of its success last year.

Anonymous

# Garrett @ Wednesday, June 06, 2007 8:53 AM

Record company EMI sign a deal with the estate of crooner Dean Martin to use the singer's likeness.

Anonymous

# Bottoms @ Wednesday, June 06, 2007 9:10 AM

Alec Baldwin asks for his voice to be removed from an &amp;quot;unfair&amp;quot; documentary about Arnold Schwarzenegger.

Anonymous

# Hastings @ Wednesday, June 06, 2007 9:25 AM

Jonathan Ross is dubbed &amp;quot;risque&amp;quot; by Ofcom but not in breach of rules over an interview with David Cameron.

Anonymous

# Garvey @ Wednesday, June 06, 2007 9:39 AM

Doctor Who takes three prizes at the National Television Awards in a repeat of its success last year.

Anonymous

# Kaplan @ Wednesday, June 06, 2007 9:55 AM

The Rolling Stones postpone a show in the US to allow singer Sir Mick Jagger time to rest his voice.

Anonymous

# Benavidez @ Wednesday, June 06, 2007 10:09 AM

Classical singer Russell Watson postpones his forthcoming UK tour after undergoing brain surgery.

Anonymous

# Marks @ Wednesday, June 06, 2007 10:24 AM

Singer George Michael lends the piano on which John Lennon wrote Imagine to an anti-war exhibition.

Anonymous

# Jorgensen @ Wednesday, June 06, 2007 10:40 AM

Classical singer Russell Watson postpones his forthcoming UK tour after undergoing brain surgery.

Anonymous

# Carswell @ Wednesday, June 06, 2007 10:55 AM

Veteran game show host Bob Barker is stepping down from hosting The Price is Right after 35 years.

Anonymous

# Maes @ Wednesday, June 06, 2007 11:09 AM

London-born rapper Sway is to be honoured at the BET Hip-Hop awards in the US.

Anonymous

# Hitt @ Wednesday, June 06, 2007 11:25 AM

The first stage of a 150m investment in regional museums is praised for boosting visitor numbers.

Anonymous

# Moore @ Wednesday, June 06, 2007 11:40 AM

Veteran actor William Franklyn, known for voicing the 1960s Schweppes TV adverts, dies aged 81.