To understand DDD better, I am trying to create the Domain Layer of an online class application. I have a concept of a Student
, Tutor
and Session
Tag : aggregate
I am currently analysing the project ddd-library which is really helping in learning designing a system based on DDD principles. However there is one thing I have a problem..
Where I work we’ve got wallets with transactions (i.e. every transaction belongs to a single wallet). Currently we’re working on an addition of transfers between wallets. As a part of this, a new Transfer
concept has been added to the ubiquitous language dicti..
So, we have a dashboard page where a lot of different values are aggregated and presented. These values are calculated based on roughly 500k data points and presents different index values based on surveys. To calculate a certain index we need to aggregate all data points (these are divided by question number and user id) and then we run a WMA (weighted moving average) for each question and user pair sorted by date, making the date closest to the current date having the most weight. Basically we then put this together by transforming our survey scale (0-3) to a 10 scale. This we do by taking all the answers and then divide by the highest possible outcome, for example: if a user has provided this set of answers to a survey: 2,3,3,1. Then this is transformed to our scale by doing: ((2+3+3+1)/(4*3))*10 =..
Consider an application being implemented following Domain Driven D..