Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 107093
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T01:41:59+00:00 2026-05-11T01:41:59+00:00

In a domain driven design where you’re going for a non-anemic domain model how

  • 0

In a domain driven design where you’re going for a non-anemic domain model how do you decide what to implement in your domain objects vs. service oriented methods?

EDIT: I asked this a different way with an example and got much better answers here

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T01:42:00+00:00Added an answer on May 11, 2026 at 1:42 am

    The idea of DDD is that the domain model contains your data and most of the business logic. The services normally deal with persistence of these structures.

    Then there’s all those in-between cases where the business process consist of multiple steps that invariably change/modify the domain objects. You’re normally using services to realize some process. So normally you are updating the domain objects with results from the services. You never let the domain object implementations call services by themselves !

    So its quite common to see code like this:

    if (order.isValidForPurchase() && orderValidatorService.isValidOrder( order))     orderService.order( order) 

    Simply because parts of the truth is known to the order object, and some requires external data known to orderValidatorService. Arguably these two lines of code could also be inside the orderService.order method.

    I think it’s always worthwhile to investigate HOW many domain objects exist in these processes;sometimes a lot can be gained by making more concepts than you initially think. It’s really the intersection of business process states and object models. Often DDD models tend to try to capture the domain from a overly structural view, IMO disregarding core processes a little too much. So if you’re overly structural I think you make an Order object. If you add process maybe you make ShoppingCartOrder, UnshippedOrder, ShippedOrder, BilledOrder and HistoricalOrder. This also makes your service integration simpler sometimes.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

With Domain Driven Design in mind, how would you implement user Authorization in a
In domain driven design, it appears to be a good practice to use Factories
I read that Domain Driven Design is about concentrating on the problem domain instead
I've just finished reading Domain Driven Design and I'm enchanted with some of the
Ok so I've ordered Applying Domain-Driven Design and Patterns: Using .Net , but while
I'm trying to get my head around Domain Driven Design and the examples I've
I am looking for a Repository pattern implementation example/resource that follows domain driven design
In Domain Driven Design are collection properties of entities allowed to have partial values?
One part of domain-driven design that there doesn't seem to be a lot of
This is a practical Domain Driven Design question: Conceptually, I think I get Aggregate

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.