Data Warehouse Series (20): Question spatial modeling

(A) Introduction 1: the importance of data warehouse development in the legal system

Chu Ji Zhao Prince. Chu of the law, not as for Mao car door. Rain, flooded ting there, then drove As Mao Prince door. Ting Li said: "not to Mao car door, but also illegal." Prince said:. "Wang Zhao anxious not to be flooded no" then drive it. For Shu Ting Li and hit his horse lost its drive. Prince is the king weep, saying: "Ting multi-flooded, Mao drove to the door, said Li Ting also illegal, for strike Shu-chen Ma, Chen defeated driving, the king will punish the Lord said:." There are old and not in front of the main Yu after the main reservoir without there genus, carry boast. Shingo is also the law minister. Prince opened the back door: "Wu Fu had." (From "Han Feizi")
be extended to the development of data: even in the face between organizational responsibilities are not clear things, we make decisions based on these methodologies and criteria, because of this, everyone is motivated to do the right thing, they are much more likely to not selfish, because we have become care "law" who we will be much easier to yield the most favorable results for the organization.

(B) Introduction 2: architectural principles of data warehouse development

1. What is architecture: (1) a clear mandate modules or components; relationship (2) the components must be clear; (3) the guiding principles and constraints.

2. Schema hierarchy: (1) functional architecture of product; (2) Business conceptual architecture; (3) application logic architecture; (4) architecture implementation layer (physical architecture and infrastructure).

3. Methodology derived architecture: (1) Business conceptual architecture (problem space, the domain model); (2) application logic architecture (modeling); (3) implementation layer architecture (data warehouse).

(C) 3 Foreword: Domain Modeling

1. Field of modeling objectives: The attributes and attribute values ​​of the model, to determine the relationship between model.

2. The division of areas of responsibility: the principle of efficiency and profitability of the organization, taking into account future development, to determine who to do this task.

3. The principle of classification boundary: According to GRASP method, namely the creator, high cohesion, low coupling, information specialists, pure fiction and indirect.

4. Field Modeling: Modeling art collector Methodology + = Example, was collected by use cases and analysis to derive abstract model, attribute relationship.

(D) GRASP method described

GRASP method is common in space modeling method, the general principle is to be divided in accordance with the duties now carried out separately introduced:

1. Creator: Who is responsible for the production model;

2. High cohesion: assign a role, and the degree of concentration according to the related duties, so that it remains high cohesion;

3. Low Coupling: assign a role, according to other domains rely on the strength or degree of model metric, so as to maintain a low degree of coupling, reducing reliance, improving reutilization;

4. Information Expert: If a class has a responsibility to complete all of the information required, then this responsibility should be assigned to the class to implement;

5. Pure Fabrication: assigning responsibility for a group of highly cohesive to a fictitious class or ease of handling, it is not a conceptual problem domain, but imaginary concept, for the purpose of support in the high cohesion and low coupling;

6. Indirect: When we do not know what model will assign responsibilities to, they can assign responsibilities to the agency model.

The importance of (e) changes in costs

Example 1:

Logic and platform capabilities of each service are coupled together, a research and development function for 10 days, the whole network regression testing takes 15 days to get it, who do not know the impact of this change on the entire system brings much.

Example 2:

When initially formed AliExpress sellers and shop concept a few years ago, not the sellers and shops of these two concepts separated, resulting in almost all places need to refer the case to the shop are used SellerID.

Clear boundary, coupling is low, a high cohesion, various modifications brought cost is low.

(Vi) the problem space modeling example

The reason (seven) model the problem

1. Use Example imperfect
2. uncontrollable factors:
    (1) no systematic methodology
    (2) Practice of the methodology in question, there is a problem derived model
    (3) derived model no problem, but the time is too short, only can be the simplest solution, this is the largest we encountered, so this situation, we have to consider:

We want to determine the strategically correct model what it was like, but tactically we have to discuss, how to get the short-term, medium-term how to go, and ultimately to achieve strategic objectives. In the face of a short time, not enough resources, we still need to study the right strategic direction, and discuss tactics path to ensure that the temporary method also can move closer to the ultimate goal. But at the same time, a tendency to avoid thinking of the waterfall, for the completion of a detailed "correct" domain model or rather a lot of modeling work, these approaches should be avoided, but this excess of modeling work will lead to analysis paralysis, this investment is almost no What will pay off. 

(Viii) summary

1. legislation, law enforcement.

2. 前文提到的这些纲领和其中的细节是保障整个组织是一个法制的组织的基础。大家都遵从法的制约,整个组织的效能会提升很多。

3. 当然法不宜过严,过细,也不能没有,目前我所遇到的问题是我们的意识中没有法,于是变成了人治,那就会为了利益出现各种说辞和标准,于是才需要裁判。

4. 考虑工时:有时立马就做最正确的事情代价是非常高昂的,所以不能过度设计,以保证最大的投入产出比以及后续维护成本。

发布了19 篇原创文章 · 获赞 0 · 访问量 848

Guess you like

Origin blog.csdn.net/gaixiaoyang123/article/details/104097499