ENTITY-RELATIONSHIP DIAGRAM (ERD) - PowerPoint PPT Presentation

1 / 41
About This Presentation
Title:

ENTITY-RELATIONSHIP DIAGRAM (ERD)

Description:

Title: ENTITY-RELATIONSHIP DIAGRAM (ERD) Author: pudsadee Last modified by: admin Created Date: 6/19/2006 9:51:44 AM Document presentation format – PowerPoint PPT presentation

Number of Views:723
Avg rating:3.0/5.0
Slides: 42
Provided by: puds
Category:

less

Transcript and Presenter's Notes

Title: ENTITY-RELATIONSHIP DIAGRAM (ERD)


1
?????????????????
??????? ??. ????? ??????
Reading Unit in Information TechnologyFaculty of
Information Technology, KMUTNB
2
????????????????? (Research Design)
  • ???????????????????????????????????????
    ????????????
  • ?????????????????????????? (Plan)
    ?????????????????????
  • ?????????????????????????????????????
    ??????????????????
  • ?????????? ?????????? ???????????????????
    ??????????????
  • ???????????????????????????????? (Design)

???????? ????????????????????????????????? ???
??.??.????? ????????????
3
????????????????????????????
  • ????????????????? ???????
    ?????????????????? ???????????????????????????????
    ??????????? ??????????????????????????????????????
    ??????????????????????? ????????????

4
????????????????????????????
  • ?????????????????????????????????????? ?
    ??????????
  • ?????????????????????????????????????????????
    ????????????????????????? ????????????????????????
    ??????????
  • ?????????????????????????????????? ????????
    ???????????
  • ??????????????????????????????????????????????????
    ??????
  • ??????????????????????????????????????????????????
    ?????????????????

5
???????????????????????????????
  • ??????????????????????????????????????????????????
    ????
  • ???????????? ???????????????????????
  • ???????????????? ? ????????? ????????????
  • ???????????? ????????????????????

6
???????????????????????????????
  • ????????????? ????????????????
  • ?????????????
  • ?????
  • ?????????????????????????????????

7
???????????????????????????
  • E-R Diagram (ERD)
  • Data Dictionary DD
  • Data Flow Diagram
  • Unified Modeling Language (UML)
  • ????????????????????????
  • ??????????????????????????????

8
E-R Diagram (ERD)
  • ??? ??????????????????????????????????????????????
    ???????? ???????????????????????????????
  • ?????????????????????????????????? Conceptual
    Level
  • ???????????????????????????? ???????? ERD (Entity
    Relationship Diagram)
  • ??????????????????????????????????????????????????
    ?????????????????????? ???????????????????????????
    ??????????

9
Examples
GPA
Regist_no
Stu_lname
Major_no
Fac_name_t
Stu_name
Fac_no
Fac_name_e
Fac_name_a
Stu_no
Level_no
Fac_no
Student
n
Faculty
1
n
1
have
1
1
1
Regist_no
regist
study
have
Stu_no
have
Major_no
1
Subject_no
n
1
Registration
Maor_name_e
n
have
1
Semester
Level
Major
Major_name_t
Fac_no
Year
Major_name_a
Level_Desc
Level_no
Level_name
Fac_no
10
???????????????
  • ??????????????? (Data Dictionary DD)
    ??????????????? ??????? ?????????????????????
    ??????????????????????????? ?????????
    ????????????????????????????????????

11
???????? Users
????? ????????? ???????? ??????????? ???? ????????
1 User_id ????????????? Int 5 Primary Key
2 Name ???????? Varchar 150 -
3 Address ??????? Varchar 200 -
4 Telephone ????????????? Varchar 15 -
5 Position ?????????? Varchar 100 -
6 Email ??????? Varchar 50 -
7 Level ????????????????? Tinyint 1 -
8 username ?????????????????????????? Int 10 Foreign Key
12
Data Flow Diagram (DFD)
  • ???? Graphic Tool ????????????????????????????????
    ???????? (??????????? SDLC)
  • ?????????????????????????????????????
    ??????????????????????? ???????????????? Tasks
    (activities, functions) ??? Subtasks

13
Context Diagram
14
DFD Level 0
15
DFD Level 1 Process 1
16
DFD Level 1 Process 2
17
DFD Level 1 Process 3
18
DFD Level 1 Process 4
19
DFD Level 1 Process 5
20
Unified Modeling Language (UML)
  • UML ????????????????????? (Standard Modeling
    Language) ?????????????????????????????????
  • UML ??????????????????????????????????????????????
    ? ?????????????????????????? (Diagram)
    ??????????????????????????????????????????????????
    ? ???????????? ????????????

21
Use Case Diagram
???????? Use Case Diagram ????????????????????????
??????????
22
Activity Diagram
  • Activity Diagram ????????????????????????????????
    ?????? Use Case (???????????? Sequence Diagram
    ??? Collaboration Diagram) ???????????????????????
    ?????? ????????????????????????????? Flowchart
  • Activity Diagram ????????????????????? Swimlane
    ????????????????????????????????????????
    ???????????????????????????? Object ?????
    Swimlane ???????????????????????????? Object ?????

23
???????? Activity Diagram ???????????????????????
ATM
24
Class Diagram
  • Class Diagram ??? ???????????????? Class ???
    ??????????????????? Class ?????????????? (Problem
    Domain)
  • ???? ????????????? Class ????????????? ???
    ??????? ?????????????? ?????????? ??????????
    ????????????????? ???????

25
Class Diagram
  • ????????? Class ??????????
  • 1. Class Name ??? ??????? Class
  • 2. Attributes ??? ???????????? Class
  • 3. Operations ???? Methods ???
    ???????????????????????? Object ???? ? ???

26
???????? Class Diagram
27
Sequence Diagram
  • Sequence Diagram ?????????????????????????????????
    Use Case ????????????????????????????????????????
    ???????? (Message) ??????? Object ????????????
  • Sequence Diagram ?????????????????? 2 ????
    ????????????????? (Lifeline) ??????????????????
    ?????????????? (Message) ?????????????????????????
    ??????????? Object ???? Class ?????

28
Sequence Diagram
???????? Sequence Diagram ???????????????????????
ATM
29
Deployment Diagram
  • Deployment Diagram ???????????????????????????????
    Hardware ??? Software ??????

30
????????????????????????
31
???????????????????????? (???)
1.3.2 ???????????????????????????????????????????
????????????????????? (???????????????????????????
3.51)
32
???????????????????????????
????????????????????????
????????????????????????? ???????????? 12
?????????????????????? 2-1 ????????? (TC)
(2-1)
??? Equation ????????????? ???? Copy
33
????????????????????????????????????
???????? 1 ????????????????????????????
????????????????????? ????????
5 ?????????????????????????????????
4 ???????????????????????????
3 ???????????????????????????????
2 ????????????????????????????
1 ??????????????????????????????????
34
????????????????????????????????
???????? 2 ???????????????????????????????????????
????????????
?????????? ?????????? ????????
?????????? ?????????? ????????
????? 4.51 5.00 ??????????????????????????????????????????
?? 3.51 4.50 ???????????????????????????????????????
??????? 2.51 3.50 ??????????????????????????????????????????
???? 1.51 2.50 ?????????????????????????????????????????
??????????? 1.00 1.50 ???????????????????????????????????????????????????
35
??????????????????????? 1
36
??????????????????????? 2
37
??????????????????????? 3
38
???????????????????????
  1. ???????????????????????????
  2. ?????????????????????????????

39
???????????????????????? Diagram
  1. ????? Diagram ???????????????????????
  2. ??????????????????????
  3. ????????????????????????
  4. ??????? Balance
  5. ????? Diagram ????????????????????
  6. ?????????????????? Normalization
  7. ????????????????????????????????????????
  8. ?????......

40
?????????????????? ??????? 4
  • ????????????????????????????????????
  • ?????????????????????????????????
  • ????????????????
  • ?????????? 4 ????????????????????????????
  • ??????????????????????????????????? ??????
  • ??????????????????????????????????????

41
????????????????????????????????
Write a Comment
User Comments (0)
About PowerShow.com