Click here to Skip to main content
15,890,946 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Anyone using DDD in production? Pin
Marc Clifton22-Nov-16 10:00
mvaMarc Clifton22-Nov-16 10:00 
GeneralRe: Anyone using DDD in production? Pin
Jörgen Andersson22-Nov-16 6:55
professionalJörgen Andersson22-Nov-16 6:55 
GeneralRe: Anyone using DDD in production? Pin
MikeTheFid23-Nov-16 0:27
MikeTheFid23-Nov-16 0:27 
GeneralRe: Anyone using DDD in production? Pin
F-ES Sitecore22-Nov-16 6:12
professionalF-ES Sitecore22-Nov-16 6:12 
GeneralRe: Anyone using DDD in production? Pin
Marc Clifton22-Nov-16 9:56
mvaMarc Clifton22-Nov-16 9:56 
GeneralRe: Anyone using DDD in production? Pin
S Houghtelin22-Nov-16 8:27
professionalS Houghtelin22-Nov-16 8:27 
GeneralRe: Anyone using DDD in production? Pin
U. G. Leander22-Nov-16 20:54
professionalU. G. Leander22-Nov-16 20:54 
GeneralRe: Anyone using DDD in production? Pin
Fabio Franco22-Nov-16 23:35
professionalFabio Franco22-Nov-16 23:35 
Duncan Edwards Jones wrote:
any experience (pro or con) to share?


Cons =>
- More costly to setup, building the boilerplate stuff. Not worth for small and fast projects.
- It's difficult to design it with high performance on application heavily dependent on data. Complex domain models that require a lot of data to make it function may require a lot of data that can take some time to fetch from the database. At this point it's very important to analyze how to feed the domain model, as it should be clearly without dependencies, including data layer, as the application core.

Pros =>
- Although an initial setup may be a little more complex than a simple active record pattern or DB Oriented design, as the business complexity raises with new requirements, the complexity of the domain model increases at a similar rate when done properly. Other patterns tend to get exponentially complex and get very difficult to maintain as the business grows.
- Design focuses on the business problems, not on infrastructural restrictions (like relational database models), which can make your life a whole lot easier accommodating complex business rules and it's highly adaptable to business rule changes.
- Easy to maintain, very low coupling and a very high rate of reusable code, which helps preventing colateral damage (bugs) when something changes on the business. Here's where you can leverage the most of Object Oriented Programming and its benefits.
- Easy to couple with TDD. With a clear independence from UI, DB and other layers, you can focus on developing unit tests on the business logic, to ensure the core stays intact after domain changes.
- Having both data and behavior on the same object, it's much easier to implement SOLID principles and I specially like the separation of concerns it provides. Classes can be very concise, compact, easy to read, understand and use.

Well that's my experience designing DDD applications.

To alcohol! The cause of, and solution to, all of life's problems - Homer Simpson


Our heads are round so our thoughts can change direction - Francis Picabia

GeneralWiFi and the CP hive mind Pin
Chris C-B22-Nov-16 2:17
Chris C-B22-Nov-16 2:17 
GeneralRe: WiFi and the CP hive mind Pin
Nathan Minier22-Nov-16 2:30
professionalNathan Minier22-Nov-16 2:30 
GeneralRe: WiFi and the CP hive mind Pin
OriginalGriff22-Nov-16 2:34
mveOriginalGriff22-Nov-16 2:34 
GeneralRe: WiFi and the CP hive mind Pin
Chris C-B22-Nov-16 4:46
Chris C-B22-Nov-16 4:46 
GeneralRe: WiFi and the CP hive mind Pin
OriginalGriff22-Nov-16 2:33
mveOriginalGriff22-Nov-16 2:33 
GeneralRe: WiFi and the CP hive mind Pin
raddevus22-Nov-16 4:32
mvaraddevus22-Nov-16 4:32 
GeneralRe: WiFi and the CP hive mind Pin
Chris C-B22-Nov-16 4:47
Chris C-B22-Nov-16 4:47 
GeneralRe: WiFi and the CP hive mind Pin
OriginalGriff22-Nov-16 4:57
mveOriginalGriff22-Nov-16 4:57 
GeneralRe: WiFi and the CP hive mind Pin
Chris C-B22-Nov-16 5:35
Chris C-B22-Nov-16 5:35 
GeneralRe: WiFi and the CP hive mind Pin
OriginalGriff22-Nov-16 5:41
mveOriginalGriff22-Nov-16 5:41 
GeneralRe: WiFi and the CP hive mind Pin
den2k8822-Nov-16 2:36
professionalden2k8822-Nov-16 2:36 
GeneralRe: WiFi and the CP hive mind Pin
Chris C-B22-Nov-16 4:49
Chris C-B22-Nov-16 4:49 
GeneralRe: WiFi and the CP hive mind Pin
den2k8822-Nov-16 5:04
professionalden2k8822-Nov-16 5:04 
GeneralRe: WiFi and the CP hive mind Pin
CDP180222-Nov-16 2:44
CDP180222-Nov-16 2:44 
GeneralRe: WiFi and the CP hive mind Pin
Chris C-B22-Nov-16 4:50
Chris C-B22-Nov-16 4:50 
GeneralRe: WiFi and the CP hive mind Pin
W Balboos, GHB22-Nov-16 2:47
W Balboos, GHB22-Nov-16 2:47 
GeneralRe: WiFi and the CP hive mind Pin
Chris C-B22-Nov-16 4:52
Chris C-B22-Nov-16 4:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.