DBX PERT : CASE T OOL Project Advisor: PROF. ISHAQ RAZA Group Members: MUHAMMAD NABEEL ARIF...

Post on 02-Apr-2015

215 views 1 download

Tags:

transcript

1

DBXPERT: CASE TOOL Project Advisor:

PROF. ISHAQ RAZA Group Members:

MUHAMMAD NABEEL ARIF L1S07BSCS0019

SHEIKH HASAN IMTIAZL1F06BSCS0024

MUHAMMAD NOUMANL1S09BSCS0018

2

PROJECT TITLE

DBXpert: CASE Tool

3

PROBLEM STATEMENT

A web based database CASE Tool which supports Forward and Reverse Engineering.

4

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.

5

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.

6

FORWARD ENGINEERING?

Convert ER schema (txt, xml) / ER diagram into Relational model / Relational schema (txt, xml).

Pictorial Diagram

7

Forward Engineering…

8

Forward Engineering in our CASE Tool

9

Forward Engineering in our CASE Tool…

ER Schema

10

Forward Engineering in our CASE Tool…

11

Forward Engineering in our CASE Tool…ER diagram

12

Forward Engineering in our CASE Tool…

13

FORWARD ENGINEERING IN OUR CASE TOOL…Relational Model

14

Forward Engineering in our CASE Tool

15

Forward Engineering in our CASE Tool…Relational Schema

16

REVERSE ENGINEERING? Convert Relational model/Relational

Schema(txt,xml) into ER diagram/ER schema(txt,xml).

Pictorial View

17

REVERSE ENGINEERING…

18

REVERSE ENGINEERING IN OUR CASE TOOL

19

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. Finally Relational Schema will be produced from this

Relational model in txt or xml format.

20

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.

21

ER DIAGRAM NOTATIONSThere are different notations to represent

ER diagram Bachman Notation

22

ER DIAGRAM NOTATIONS… Erwin Notation: Crow Foots

23

ER DIAGRAM NOTATIONS… Chen Notation

We will follow this notation is our CASE Tool.

24

DETAILED EXAMPLE OF CHEN NOTATION

25

FUTURE WORK Implement all ER-Notation mentioned above.

Generate Script from relational Schema for following databases:

MySQL Oracle MS Access

26

SOME CURRENTLY AVAILABLE CASE TOOLS

27

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 based Case Tool.

Use of Chen Notation which is easily understandable for the beginners.

28

TOOLS TO BE USED Asp.NET (For web related )

VB Script (Web Related)

VC++ (For building controls)

Adobe Photoshop & Macromedia Flash(Interface Design)

29

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

30

31