Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • Ouch, why the -1? Commented Aug 11, 2016 at 11:00
  • 1
    I don't know but i can say this is wrong : each layer only has knowledge of the layers directly above and below. This is wrong, a layer is not supposed to be aware of the layer above him. All the layer are based of course on the model, though they can be separated using DTO but it's not always worth. Commented Aug 11, 2016 at 12:16
  • 1
    That's fair, I will edit my answer to reflect that. Commented Aug 11, 2016 at 12:30
  • "The domain layer -knows- about the client layer interfaces" This is probably wrong. The domain layer should not have any knowledge of the client. The client knows about the domain as it interacts with it through it's public interfaces, but not the other way arround; That allows you to have several clients (ie web + api + CLI, etc) Commented Aug 21, 2019 at 13:24