28
DBXPERT: CASE TOOL 1 Project Advisor: Prof. Ishaq Raza Group Members: SHEIKH HASSAN IMTIAZ L1F06BSCS0024 MUHAMMAD NABEEL ARIF L1S07BSCS0019 MUHAMMAD NOUMAN L1S09BSCS0018

D BXPERT : CASE T OOL 1 Project Advisor: Prof. Ishaq Raza Group Members: SHEIKH HASSAN IMTIAZ L1F06BSCS0024 MUHAMMAD NABEEL ARIF L1S07BSCS0019 MUHAMMAD

Embed Size (px)

Citation preview

Page 1: D BXPERT : CASE T OOL 1 Project Advisor: Prof. Ishaq Raza Group Members: SHEIKH HASSAN IMTIAZ L1F06BSCS0024 MUHAMMAD NABEEL ARIF L1S07BSCS0019 MUHAMMAD

1

DBXPERT: CASE TOOL

Project Advisor:Prof. Ishaq Raza

Group Members:SHEIKH HASSAN IMTIAZ

L1F06BSCS0024 MUHAMMAD NABEEL ARIF

L1S07BSCS0019 MUHAMMAD NOUMAN

L1S09BSCS0018

Page 2: D BXPERT : CASE T OOL 1 Project Advisor: Prof. Ishaq Raza Group Members: SHEIKH HASSAN IMTIAZ L1F06BSCS0024 MUHAMMAD NABEEL ARIF L1S07BSCS0019 MUHAMMAD

2

SOFTWARE REQUIREMENT SPECIFICATION

Page 3: D BXPERT : CASE T OOL 1 Project Advisor: Prof. Ishaq Raza Group Members: SHEIKH HASSAN IMTIAZ L1F06BSCS0024 MUHAMMAD NABEEL ARIF L1S07BSCS0019 MUHAMMAD

3

PURPOSE

Our product will enable the users to draw database schema

Our product will enable the users to write database schema

Uses a database tool to perform forward engineering and reverse engineering

Page 4: D BXPERT : CASE T OOL 1 Project Advisor: Prof. Ishaq Raza Group Members: SHEIKH HASSAN IMTIAZ L1F06BSCS0024 MUHAMMAD NABEEL ARIF L1S07BSCS0019 MUHAMMAD

4

SCOPE

Our product will be desktop based.

Implement Chen notation for ER schema diagram

Forward and Reverse Engineering between ER and RM

Page 5: D BXPERT : CASE T OOL 1 Project Advisor: Prof. Ishaq Raza Group Members: SHEIKH HASSAN IMTIAZ L1F06BSCS0024 MUHAMMAD NABEEL ARIF L1S07BSCS0019 MUHAMMAD

5

OVERALL DESCRIPTION

Page 6: D BXPERT : CASE T OOL 1 Project Advisor: Prof. Ishaq Raza Group Members: SHEIKH HASSAN IMTIAZ L1F06BSCS0024 MUHAMMAD NABEEL ARIF L1S07BSCS0019 MUHAMMAD

6

PRODUCT FEATURES ER Diagram through drag and drop interface

ER Schema and Relational Schema format in txt or xml

Convert ER schema into Relational schema

Convert Relational schema into ER schema

To make our CASE Tool available on the internet

Page 7: D BXPERT : CASE T OOL 1 Project Advisor: Prof. Ishaq Raza Group Members: SHEIKH HASSAN IMTIAZ L1F06BSCS0024 MUHAMMAD NABEEL ARIF L1S07BSCS0019 MUHAMMAD

7

USER CLASSES & CHARACTERISTICS

The solution is intended to be used primarily by Teachers/Students/Developers/DB designers.

All of these users are categorized as a single

user “Users”.

‘Users’ will have the same privileges and perform similar tasks.

Page 8: D BXPERT : CASE T OOL 1 Project Advisor: Prof. Ishaq Raza Group Members: SHEIKH HASSAN IMTIAZ L1F06BSCS0024 MUHAMMAD NABEEL ARIF L1S07BSCS0019 MUHAMMAD

8

HIGH LEVEL UCD FOR ‘USERS‘

Page 9: D BXPERT : CASE T OOL 1 Project Advisor: Prof. Ishaq Raza Group Members: SHEIKH HASSAN IMTIAZ L1F06BSCS0024 MUHAMMAD NABEEL ARIF L1S07BSCS0019 MUHAMMAD

9

ASSUMPTIONS AND DEPENDENCIES

This tool will be built using C#.Net.

.Net is not an open source language therefore design and implementation constraints specific to implementing language and platforms selected may appear during the product development

Our product will be using ER and RM schema formats developed by us. Users will have to follow these conventions as our product will be dependent on these conventions.

Page 10: D BXPERT : CASE T OOL 1 Project Advisor: Prof. Ishaq Raza Group Members: SHEIKH HASSAN IMTIAZ L1F06BSCS0024 MUHAMMAD NABEEL ARIF L1S07BSCS0019 MUHAMMAD

10

Use Cases

Page 11: D BXPERT : CASE T OOL 1 Project Advisor: Prof. Ishaq Raza Group Members: SHEIKH HASSAN IMTIAZ L1F06BSCS0024 MUHAMMAD NABEEL ARIF L1S07BSCS0019 MUHAMMAD

11

WRITE ER SCHEMA IN TXT (UC1)

Actor action System Response

User will open the application and click on ER model.

System will show a new window where there will be four options.

User will select ‘TXT’ format option. System will open the notepad editor .User will write the ER schema in notepad editor.

System will display the text

User will click on ‘SAVE’ option and give a file name

System will generate a file bearing the desired name

ActorsUsers

Pre-conditionsNA

Post-conditionsAfter the successful execution of this use-case , the user will have an ER schema in TXT format .

Basic Flow

Page 12: D BXPERT : CASE T OOL 1 Project Advisor: Prof. Ishaq Raza Group Members: SHEIKH HASSAN IMTIAZ L1F06BSCS0024 MUHAMMAD NABEEL ARIF L1S07BSCS0019 MUHAMMAD

12

DRAW ER SCHEMA DIAGRAM (UC3)

Actor action System ResponseUser will open the application and click on ER model.

System will show a new window where there will be four options.

User will select ‘Draw ER’ option System will open the drawing editor User will click on ‘Insert’ tab. System will display different options in

PageGroup.User will draw the ER diagram using drag and drop options from insert toolbars.

System will display the drawing

User will click on the ‘Save’ option and give a file name.

System will generate a file bearing the desired name

ActorsUsers

Pre-conditionsNA

Post-conditionsAfter the successful execution of this use-case , the user will have a ER diagram .

Basic Flow

Page 13: D BXPERT : CASE T OOL 1 Project Advisor: Prof. Ishaq Raza Group Members: SHEIKH HASSAN IMTIAZ L1F06BSCS0024 MUHAMMAD NABEEL ARIF L1S07BSCS0019 MUHAMMAD

13

WRITE RELATIONAL SCHEMA IN TXT (UC4)

Actor action System ResponseUser will open the application and click on Relational model.

System will show a new window where there will be four options.

User will select TXT format System will open the notepad editor User will write the Relational schema in notepad editor.

System will display the text

User will click on the ‘Save’ option and give a file name

System will generate a file bearing the desired name

ActorsUsers

Pre-conditionsNA

Post-conditionsAfter the successful execution of this use-case , the user will have a Relational schema in TXT format .

Basic Flow

Page 14: D BXPERT : CASE T OOL 1 Project Advisor: Prof. Ishaq Raza Group Members: SHEIKH HASSAN IMTIAZ L1F06BSCS0024 MUHAMMAD NABEEL ARIF L1S07BSCS0019 MUHAMMAD

14

DRAW RELATIONAL MODEL (UC6)

Actor action System ResponseUser will open the application and click on Relational model.

System will show a new window where there will be four options.

User will select ‘Draw RM’ option System will open the drawing editor User will click on ‘Insert’ tab. System will display different options in

PageGroup.User will draw the RM diagram using drag and drop options from insert toolbars.

System will display the drawing

User will click on the ‘Save’ option and give a file name.

System will generate a file bearing the desired name

ActorsUsers

Pre-conditionsNA

Post-conditionsAfter the successful execution of this use-case , the user will have a Relational diagram

Basic Flow

Page 15: D BXPERT : CASE T OOL 1 Project Advisor: Prof. Ishaq Raza Group Members: SHEIKH HASSAN IMTIAZ L1F06BSCS0024 MUHAMMAD NABEEL ARIF L1S07BSCS0019 MUHAMMAD

15

CONVERT ER SCHEMA IN TXT INTO ER SCHEMA IN XML (UC8)

Actor action System ResponseUser will click on ‘Convert ’tab System will display different option in

Combo Box.

User will select ‘ER txt schema into ER xml schema’.

System will generate ER schema in XML format.

ActorsUsers

Pre-conditionsUC1 has executed i.e. user has the ER Schema in txt format ORUC7 has executed and user has opened ER Schema TXT file.

Post-conditionsAfter the successful execution of this use-case , the user will have ER schema in xml format.

Basic Flow

Page 16: D BXPERT : CASE T OOL 1 Project Advisor: Prof. Ishaq Raza Group Members: SHEIKH HASSAN IMTIAZ L1F06BSCS0024 MUHAMMAD NABEEL ARIF L1S07BSCS0019 MUHAMMAD

16

CONVERT ER SCHEMA IN TXT FORMAT INTO ER SCHEMA

DIAGRAM (UC9)

Actor action System ResponseUser will click on ‘Convert ’tab System will display different option in

Combo Box.

User will select ‘ER txt schema into ER schema Diagram’.

System will generate ER schema Diagram.

ActorsUsers

Pre-conditionsUC1 has executed i.e. user has the ER Schema in txt format ORUC7 has executed and user has opened ER Schema TXT file.

Post-conditionsAfter the successful execution of this use-case , the user will have ER Diagram.

Basic Flow

Page 17: D BXPERT : CASE T OOL 1 Project Advisor: Prof. Ishaq Raza Group Members: SHEIKH HASSAN IMTIAZ L1F06BSCS0024 MUHAMMAD NABEEL ARIF L1S07BSCS0019 MUHAMMAD

17

CONVERT ER SCHEMA IN XML FORMAT INTO ER SCHEMA DIAGRAM (UC11)

Actor action System ResponseUser will click on ‘Convert ’tab System will display different option in

Combo Box.

User will select ‘ER xml schema into ER schema Diagram’.

System will generate ER schema Diagram.

ActorsUsers

Pre-conditionsUC2 has executed i.e. user has the ER Schema in xml format ORUC7 has executed and user has opened ER Schema XML file.

Post-conditionsAfter the successful execution of this use-case , the user will have ER schema Diagram.

Basic Flow

Page 18: D BXPERT : CASE T OOL 1 Project Advisor: Prof. Ishaq Raza Group Members: SHEIKH HASSAN IMTIAZ L1F06BSCS0024 MUHAMMAD NABEEL ARIF L1S07BSCS0019 MUHAMMAD

18

CONVERT ER SCHEMA DIAGRAM INTO ER SCHEMA IN TXT FORMAT (UC12)

Actor action System Response

User will click on ‘Convert ’tab System will display different option in Combo Box.

User will select ‘ER schema Diagram into ER txt Schema’.

System will generate ER txt Schema

ActorsUsers

Pre-conditionsUC3 has executed i.e. user has the ER Schema in txt format ORUC7 has executed and user has opened ER Schema Diagram file.

Post-conditionsAfter the successful execution of this use-case , the user will have ER Schema in txt format.

Basic Flow

Page 19: D BXPERT : CASE T OOL 1 Project Advisor: Prof. Ishaq Raza Group Members: SHEIKH HASSAN IMTIAZ L1F06BSCS0024 MUHAMMAD NABEEL ARIF L1S07BSCS0019 MUHAMMAD

19

CONVERT RELATIONAL SCHEMA DIAGRAM INTO RELATIONAL

SCHEMA IN TXT (UC18)

Actor action System Response

User will click on ‘Convert ’tab System will display different option in Combo Box.

User will select ‘Relational Model into Relational txt Schema ’.

System will generate Relational schema in txt format.

ActorsUsers

Pre-conditionsUC6 has executed i.e. user has the Relational Schema Diagram. ORUC7 has executed and user has opened Relational Schema Diagram file.

Post-conditionsAfter the successful execution of this use-case , the user will have Relational schema in txt.

Basic Flow

Page 20: D BXPERT : CASE T OOL 1 Project Advisor: Prof. Ishaq Raza Group Members: SHEIKH HASSAN IMTIAZ L1F06BSCS0024 MUHAMMAD NABEEL ARIF L1S07BSCS0019 MUHAMMAD

20

FORWARD ENGINEERING (UC20)

Actor action System Response

User will select ‘Home’ tab. System will show different options.

User will click on ‘Forward Engineering’ button

System will generate Relational Schema.

ActorsUsers

Pre-conditionsUC1 or UC2 or UC3 has executed i.e. user has the ER Schema. ORUC7 has executed and user has opened ER Schema file.

Post-conditionsAfter the successful execution of this use-case , the user will have Relational Schema.

Basic Flow

Page 21: D BXPERT : CASE T OOL 1 Project Advisor: Prof. Ishaq Raza Group Members: SHEIKH HASSAN IMTIAZ L1F06BSCS0024 MUHAMMAD NABEEL ARIF L1S07BSCS0019 MUHAMMAD

21

REVERSE ENGINEERING (UC21)

Actor action System Response

User will select ‘Home’ tab. System will show different options.

User will click on ‘Reverse Engineering’ button

System will generate ER schema.

ActorsUsers

Pre-conditionsUC4 or UC5 or UC6 has executed i.e. user has the Relational Schema. ORUC7 has executed and user has opened Relational Schema file.

Post-conditionsAfter the successful execution of this use-case , the user will have ER schema.

Basic Flow

Page 22: D BXPERT : CASE T OOL 1 Project Advisor: Prof. Ishaq Raza Group Members: SHEIKH HASSAN IMTIAZ L1F06BSCS0024 MUHAMMAD NABEEL ARIF L1S07BSCS0019 MUHAMMAD

22

FIND TEXT (UC28)

Actor action System ResponseUser will press the Find text button. System will show a dialogue box

where text to be searched can be entered.

User will type the text to be searched in the text box and press Find.

System will show the first successful matched text on the file.

User will press the Find Next button. System will show the next successful matched text on the file.

ActorsUsers

Pre-conditionsThe user must have some file opened in notepad editor.

Post-conditionsAfter the successful execution of this use-case, the user will get to the first successful matched text on the file.

Basic Flow

Page 23: D BXPERT : CASE T OOL 1 Project Advisor: Prof. Ishaq Raza Group Members: SHEIKH HASSAN IMTIAZ L1F06BSCS0024 MUHAMMAD NABEEL ARIF L1S07BSCS0019 MUHAMMAD

23

Screen-Shorts from Current Work

Page 24: D BXPERT : CASE T OOL 1 Project Advisor: Prof. Ishaq Raza Group Members: SHEIKH HASSAN IMTIAZ L1F06BSCS0024 MUHAMMAD NABEEL ARIF L1S07BSCS0019 MUHAMMAD

24

Page 25: D BXPERT : CASE T OOL 1 Project Advisor: Prof. Ishaq Raza Group Members: SHEIKH HASSAN IMTIAZ L1F06BSCS0024 MUHAMMAD NABEEL ARIF L1S07BSCS0019 MUHAMMAD

25

Page 26: D BXPERT : CASE T OOL 1 Project Advisor: Prof. Ishaq Raza Group Members: SHEIKH HASSAN IMTIAZ L1F06BSCS0024 MUHAMMAD NABEEL ARIF L1S07BSCS0019 MUHAMMAD

26

Page 27: D BXPERT : CASE T OOL 1 Project Advisor: Prof. Ishaq Raza Group Members: SHEIKH HASSAN IMTIAZ L1F06BSCS0024 MUHAMMAD NABEEL ARIF L1S07BSCS0019 MUHAMMAD

27

Page 28: D BXPERT : CASE T OOL 1 Project Advisor: Prof. Ishaq Raza Group Members: SHEIKH HASSAN IMTIAZ L1F06BSCS0024 MUHAMMAD NABEEL ARIF L1S07BSCS0019 MUHAMMAD

28

THANK YOU