Recently, I have been studying net's Enterprise Architecture Model and nhib.pdf,
I also looked at the Java architecture. It was also used for development in the past using VB and data-centric methods. So I watched Uncle Bob's agile software development and Martin for a long time.
Fowler's enterprise application architecture model still has many questions. Recently, I want to port a VB-developed HR system to net and want to use domain
The architecture of the model. However, there are some problems at the beginning, such as the employee class. There is a lot of information in HR, such as basic information, personnel information, salary information, welfare information, health information, and work.
Experience and a lot of information, the original system is placed in four tables, different tables as needed. But now we use domain. I think these are basic attributes of employees and should be placed in a class. But this
40 to 40 Fields ~ 50, are they all put together. But different services only need to use some of them and put them in the memory, which occupies too much memory, right? And a class has 40 ~ 50 attributes are too big.
In addition, Martin
Flower's statement is that during business execution, from one class to another, does my employee have a lot of classes, because in HR, employee should be the most basic class.
There is also a special business logic execution class. For example, there is a dorun function. In this function, each class and logic are connected in series, but isn't it a transactional script?
This is a problem that I have been confused about recently.
I hope the experts can solve this problem. Thank you.
Please put Dudu on the homepage for the time being. Thank you. transfer it to the question area one day later.