I have queries about the commercial easycrm sample.
Take ProductGroup and Product for example, there are both aggregate root.
As saied in book <<Implementing_Domain_Driven_Design>>:
But as you can see in EasyCrm sample, ProductGroup have a collection of the Products, and Product have a navigation property for the ProductGroup.

Above is just one sample doesn't follow the book. Actully, there are many places. I would like to know why not follow the best practices? Do you have any good reasons? if not, can you refactor these code? And this sample always upgrade delayed. Now still in v5.0.0.
14 Answer(s)
-
0
Hi, I cannot agree with you. This is an official commercial example! As describe in your documents, It is a good application for a real life scenario.
Other examples are very sample, only this one is close to the production. I strongly hope that you can provide an example totally follow best practices which you have summarized.
Do you have any plans to refactor this example? I think it will be a better service for a business user.
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
Added to the internal work plan.
Hi, Thanks. Before I raised this issue, I have asked myself what the purpose of your examples is. I think you cannot cover specific business logic, because different customers have different requests. So I think the purpose of your samples especially commercial examplea are:
- Learn your best practices
- Learn your design
The above is my opinion, if there is an error, please correct it.
Best regards.
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
Why always auto close the ticket?
Hi @GerryGe, we generally close a ticket, when we create an issue for a problem in our internal repository, in another word when we take an action about the problem. We've created an issue for your question and keep it open until it is fixed.
Sorry for the misunderstanding. Best regards.
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
Why always auto close the ticket?
Hi @GerryGe, we generally close a ticket, when we create an issue for a problem in our internal repository, in another word when we take an action about the problem. We've created an issue for your question and keep it open until it is fixed.
Sorry for the misunderstanding. Best regards.
But where can I get the update?
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
