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 Product
s, 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
This is just a sample project, you can change it according to your needs, we will upgrade it in the near future.
-
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.
-
0
OK, We will further improve it in the future.
-
0
-
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.
-
0
You are right, We will review it.
-
0
let's keep it open until it gets solved
-
0
let's keep it open until it gets solved
Have fixed?
-
0
It's on the plan.
-
0
let's keep it open until it gets solved
Why always auto close the ticket?
-
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.
-
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?
-
0
But where can I get the update?
After we've updated the
EasyCrm
application, we'll inform you. -
0
It will be available in 5.2-rc3 or 5.2