ER diagram 11 Forward Engineering in our CASE

advertisement
DBXPERT: CASE TOOL
Project Advisor:
PROF. ISHAQ RAZA
Group Members:
MUHAMMAD NABEEL ARIF
L1S07BSCS0019
1
SHEIKH HASAN IMTIAZ
L1F06BSCS0024
MUHAMMAD NOUMAN
L1S09BSCS0018
PROJECT TITLE
DBXpert: CASE Tool
2
PROBLEM STATEMENT
A
web based database CASE Tool which
supports Forward and Reverse Engineering.
3
OBJECTIVES
 To
Draw ER Diagram through drag and drop
Interface.
 To
support ER Schema and Relational Schema in
TXT & XML format.
 To
convert ER diagram into Relational Model.
 To
convert relational Model into ER diagram.
 To
make our CASE Tool online on Internet.
4
ER SCHEMA & RELATIONAL SCHEMA



We will define a format for ER schema and relational
schema.
Both schema are in txt or xml format.
These schema will contain all the information to
draw ER diagram and relational diagram. E.g.
5
FORWARD ENGINEERING?
 Convert
ER schema (txt, xml) / ER diagram into
Relational model / Relational schema (txt,
xml).
 Pictorial
Diagram
6
Forward Engineering…
7
Forward Engineering in our CASE Tool
8
Forward Engineering in our CASE Tool…
ER Schema
9
Forward Engineering in our CASE Tool…
10
Forward Engineering in our CASE Tool…
ER diagram
11
Forward Engineering in our CASE Tool…
12
FORWARD ENGINEERING IN OUR CASE TOOL…
Relational Model
13
Forward Engineering in our CASE Tool
14
Forward Engineering in our CASE Tool…
Relational Schema
15
REVERSE ENGINEERING?
 Convert
Relational model/Relational
Schema(txt,xml) into ER diagram/ER
schema(txt,xml).
 Pictorial
View
16
REVERSE ENGINEERING…
17
REVERSE ENGINEERING IN OUR CASE TOOL
18
BASIC FLOW
 Basic





flow in Forward Engineering
User will write ER schema in TXT or XML format.
CASE Tool will accept this ER schema as input.
It will generate ER diagram from this input file.
And Relational model will be generated from ER diagram.
Finally Relational Schema will be produced from this
Relational model in txt or xml format.
 Alternatively



:
User will draw ER diagram through drag and drop facility.
And Relational model will be generated from ER diagram.
19
Finally Relational Schema will be produced from this
Relational model in txt or xml format.
BASIC FLOW…
 Basic





Flow in Reverse Engineering
User will provide Relational schema in TXT or XML
format.
CASE Tool will accept this Relational schema as
input.
It will generate Relational diagram from this input
file.
And ER Diagram will be generated from Relational
diagram.
Finally ER Schema will be produced from this
relational model.
20
ER DIAGRAM NOTATIONS
 There
are different notations to represent
ER diagram

Bachman Notation
21
ER DIAGRAM NOTATIONS…

Erwin Notation: Crow Foots
22
ER DIAGRAM NOTATIONS…


Chen Notation
We will follow this notation is our CASE Tool.
23
DETAILED EXAMPLE OF CHEN NOTATION
24
FUTURE WORK
 Implement
all ER-Notation mentioned above.
 Generate
Script from relational Schema for
following databases:
 MySQL
 Oracle
 MS Access
25
SOME CURRENTLY AVAILABLE CASE TOOLS
26
WHAT IS NEW IN OUR CASE TOOL ?
 Conversion
of ER Schema(txt,xml) into ER
diagram & vice versa.
 Conversion
of Relational Schema(txt,xml) into
Relational Model & vice versa.
 Web
 Use
based Case Tool.
of Chen Notation which
understandable for the beginners.
is
easily
27
TOOLS TO BE USED
 Asp.NET
 VB
(For web related )
Script (Web Related)
 VC++
 Adobe
(For building controls)
Photoshop & Macromedia Flash
(Interface Design)
28
REFERENCES


Foundation of Database System by Elmasrie Navathen 4th Edition
The Case for Reverse Engineering by Michael R. Blaha

Deriving entity relationship and relational model diagrams, by Database
Processing : Fundamentals, Design, and Implementation.

Database reverse engineering tools,2008 by Natash Ali Mian & Tauqeer
Hussain. Dept. of Computer. Sci.,University of Central Punjab.

(Uj-Case-Tool) for Database Reverse Engineering by Fawaz A.
Masoud,Heba_tallah Khattab, Mahmoud Al-Karazoon.

Reverse data engineering of E-R-designed relational schemas by
Springsteel, F.; Kou, C.; Dept. of Computer. Sci., Missouri Univ., Columbia,
MO.

An Automatic Approach to Generate XML Schemas from Relational
Models by Jumaa, H. Fayn, J. Rubel, P.INSA-Lyon, Univ. de Lyon, Bron,
France

Schema Conversion Methods between XML and Relational Models by
Dongwon Lee, Penn State University Murali Mani and Wesley W. Chu,
University of California, Los Angeles
29
30
31
Download