Đang chuẩn bị liên kết để tải về tài liệu:
PATTERNS OF DATA MODELING- P18

Không đóng trình duyệt đến khi xuất hiện nút TẢI XUỐNG

PATTERNS OF DATA MODELING- P18: Models provide the means for building quality software in a predictable manner. Models let developers think deeply about software and cope with large size and complexity. Developers can think abstractly before becoming enmeshed in the details of writing code. Although models are beneficial, they can be difficult to construct. That is where patterns come in. Patterns provide building blocks that help developers construct models faster and better. | 66 Chapter 4 Undirected Graph Template Node table node ID node Name udg ID 1 A 1 2 B 1 3 C 1 4 D 1 5 E 1 6 F 1 node ID edge ID 1 51 3 51 1 52 4 52 1 53 5 53 2 54 node ID edge ID 5 54 3 55 6 55 4 56 6 56 5 57 6 57 Edge table edge ID edge Name udg ID 51 c 1 52 d 1 53 e 1 54 f 1 55 g 1 56 h 1 57 i 1 Figure 4.6 Node and edge undirected graph Populated tables. Figure 4.7 shows a model for the LinkedIn network using the node and edge undirected graph template. The LinkedIn Web site manages extensive data about members that Figure 4.7 does not show as the emphasis is on the template. Member 2 Link name emailAddress password Figure 4.7 Node and edge undirected graph Personal networking model. 4.2 Connection Undirected Graph Template 4.2.1 UML Template Figure 4.8 elaborates the node and edge template promoting the connection between nodes and edges to an entity type. Figure 4.8 as stated does not permit unconnected Nodes. You could add a relationship between UDG and Node if unconnected Nodes were important. A UDG undirected graph is a set of nodes and a set of edges that connect nodes. You need not show UDG in a use of the template. A Node is an entity type whose records are 4.2 Connection Undirected Graph Template 67 Figure 4.8 Connection undirected graph UML template. Use when there is data for the connection itself or edges connect to the same node. organized as an undirected graph. An Edge is a coupling between Nodes. A Connection is the linking between a Node and an Edge. With this template the names of nodes and edges are globally unique. There is no context to provide an alternative approach to naming. Figure 4.8 lacks the constraint that related nodes and edges must all belong to the same undirected graph. 4.2.2 IDEF1X Template Figure 4.9 restates Figure 4.8 with the IDEF1X notation. The following are foreign keys udgID references UDG nodelD references Node and edgelD references Edge. The combination of nodelD edgelD need not be unique for a Connection as a Node and

Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.