Domain Model and nhib.pdf

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.