Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • can be used as libraries by other modules.

...

Questions

A functional module's service/domain-layer wants to read the data owned by another functional module.
The modules are designed to provide encapsulation over the data they own. This means that we should first try out tell-dont-ask approach. At the module level the callee should ask why you want this data. If the callee can satisfy the requirements then the caller should provide the data and callee can respond with the result. This approach might not result in anything new but should be explored.
In any case the services across modules should talk to each other using contract object and not domain objects. This is to decouple module's internal implementation from its usage.
A functional module's service/domain-layer wants to read the data owned by another functional module .Questions?

How does a page work which displays data from two functional modules?

...