0% found this document useful (0 votes)
16 views37 pages

5 - System Design

Chapter 5 of the document outlines the system design for a project, including system architecture, data flow diagrams, and a data dictionary detailing various tables such as Admin_login, feedback_table, and product_table. It also includes use case diagrams for different user roles and sample code for user registration. Additionally, screenshots of the user interface for visitors and admins are provided to illustrate the system's functionality.

Uploaded by

bhavyshah3691
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views37 pages

5 - System Design

Chapter 5 of the document outlines the system design for a project, including system architecture, data flow diagrams, and a data dictionary detailing various tables such as Admin_login, feedback_table, and product_table. It also includes use case diagrams for different user roles and sample code for user registration. Additionally, screenshots of the user interface for visitors and admins are provided to illustrate the system's functionality.

Uploaded by

bhavyshah3691
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 37

PROJECT ID-17 Chapter 5: System Design

System design

5.1 SYSTEM ARCHITECTURE DESIGN:


5.1.1 E-R Diagram:

Figure 5.1: E – R Diagram

SMT. S. J. VARMORA BBA & BCA MAHILA COLLEGE 14


PROJECT ID-17 Chapter 5: System Design

5.1.2 Use case Diagram:


a) Registered User:

Figure 5.2: Use case Diagram for Register


SMT. S. J. VARMORA BBA & BCA MAHILA COLLEGE 15
PROJECT ID-17 Chapter 5: System Design

b) Admin:

Figure 5.3: Use case Diagram for admin

SMT. S. J. VARMORA BBA & BCA MAHILA COLLEGE 16


PROJECT ID-17 Chapter 5: System Design

a) Visitor:

Figure 5.4: Use case Diagram for Visitor

SMT. S. J. VARMORA BBA & BCA MAHILA COLLEGE 17


PROJECT ID-17 Chapter 5: System Design

5.1.3 Data Flow Diagram:


a) Context Diagram:

Figure 5.5: Context Diagram

SMT. S. J. VARMORA BBA & BCA MAHILA COLLEGE 18


PROJECT ID-17 Chapter 5: System Design

b) 1evel 1 Data Flow Diagram

figure 5.6: 1 - Level Data Flow Diagram

SMT. S. J. VARMORA BBA & BCA MAHILA COLLEGE 19


PROJECT ID-17 Chapter 5: System Design

5.2 DATA DICTIONARY


Table Name: Admin_login
Description: This table contains the Admin Details.

SR. No FIELD NAME DATA TYPE SIZE CONSTRAINT DETAIL

1 Admin_id int 10 Primary Key Primary Key

2 Admin_name Varchar 50 - -

3 Admin_email Varchar 50 - -

4 Admin_password Varchar 50 - -

Table Name: feedback_table


Description: This table contains user’s feedback.

SR. No FIELD NAME DATA TYPE SIZE CONSTRAINT DESCRIPTION

1 fd_id Int 50 Primary Key Primary key

2 fdt_msg varchar 200

3 fd_date varchar 50 - -

4 user_id varchar 50 - -

5 rating varchar 15

SMT. S. J. VARMORA BBA & BCA MAHILA COLLEGE 20


PROJECT ID-17 Chapter 5: System Design

Table Name: gym_brand


Description: This table contains details about different brand.

SR. No FIELD NAME DATA TYPE SIZE CONSTRAINT DESCRIPTION

1 gb_id Int 15 Primary Key Primary key

2 gb_name varchar 50 - -

3 gb_description varchar 300 -

4 gb_logo varchar 200

Table Name: gym_category


Description: This table contains the information about category.

SR. No FIELD NAME DATA TYPE SIZE CONSTRAINT DESCRIPTION

1 gc_id Int 100 Primary Key Primary key

2 gc_name varchar 50 - -

3 gc_description varchar 150 -

4 gc_logo varchar 200

Table Name: order_master


Description: This table contains information about sub order.

SR. No FIELD NAME DATA TYPE SIZE CONSTRAINTS DESCRIPTION

1 order_id Int 15 Primary Key Primary key

2 user_id varchar 15 - -

3 gp_id varchar 15 -

SMT. S. J. VARMORA BBA & BCA MAHILA COLLEGE 21


PROJECT ID-17 Chapter 5: System Design

4 order_qut varchar 50

5 total_amount varchar 50

6 Order_date varchar 50

Table Name: product_table


Description: This table contains details about product.

SR. No FIELD NAME DATA TYPE SIZE CONSTRAINT DESCRIPTION

1 gp_id Int 50 Primary key Primary key

2 gp_name Varchar 50 - -

3 gc_id Varchar 50 - -

4 gb_id Varchar 100 - -

5 gp_description Varchar 150 - -

6 Gp_price Varchar 50 -

7 Gp_warranty Varchar 50

8 Gp_photo Varchar 200

Table Name: user_master


Description: This table contains details about user.

SR. No FIELD NAME DATA TYPE SIZE CONSTRAINT DESCRIPTION

1 user_id Int 15 Primary key Primary key

2 User_name varchar 50 - -

3 User_address Varchar 150 -

SMT. S. J. VARMORA BBA & BCA MAHILA COLLEGE 22


PROJECT ID-17 Chapter 5: System Design

4 User_city varchar 50 -

5 User_state Varchar 50 -

6 User_pincode Varchar 10 -

7 User_email Varchar 50 -

8 User_password Varchar 50 - -

9 User_mobile varchar 15 - -

Table Name: cart_master


Description: This table contains details about cart.

SR. No FIELD NAME DATA TYPE SIZE CONSTRAINT DESCRIPTION

1 cart_id Int 50 Primary Key Primary key

2 user_id Int 50

3 gp_id Int 50 - -

4 order_qut Int 50 - -

5 total_amount Int 50

5.3 Sample Code

SMT. S. J. VARMORA BBA & BCA MAHILA COLLEGE 23


PROJECT ID-17 Chapter 5: System Design

<?php

include("connect.php");

$user_name=$_POST['user_name'];

$user_address=$_POST['user_address'];

$user_city=$_POST['user_city'];

$user_state=$_POST['user_state'];

$user_pincode=$_POST['user_pincode'];

$user_email=$_POST['user_email'];

$user_password=$_POST['user_password'];

$user_mobile=$_POST['user_mobile'];

$q="insert into
user_master(user_name,user_address,user_city,user_state,user_pincode,user_email,user_pass
word,user_mobile) values
('$user_name','$user_address','$user_city','$user_state','$user_pincode','$user_email','$user_p
assword','$user_mobile')";

mysqli_query($cn,$q);

echo "Record Inserted...";

?>

SMT. S. J. VARMORA BBA & BCA MAHILA COLLEGE 24


PROJECT ID-17 Chapter 5: System Design

5.4 SCREENSHOT

VISITOR

1) Home Page

This is a visitor side home page.

SMT. S. J. VARMORA BBA & BCA MAHILA COLLEGE 25


PROJECT ID-17 Chapter 5: System Design

2) About Us

This page is a shows about us.

SMT. S. J. VARMORA BBA & BCA MAHILA COLLEGE 26


PROJECT ID-17 Chapter 5: System Design

3) Contact us

Using this page, user can easily contact to us.

SMT. S. J. VARMORA BBA & BCA MAHILA COLLEGE 27


PROJECT ID-17 Chapter 5: System Design

8) View category

This page is show the category of gym.

SMT. S. J. VARMORA BBA & BCA MAHILA COLLEGE 28


PROJECT ID-17 Chapter 5: System Design

10) Brand view

This page is show the brand of gym.

11) Product detail

Visitor user can see the details of product.

SMT. S. J. VARMORA BBA & BCA MAHILA COLLEGE 29


PROJECT ID-17 Chapter 5: System Design

12) Contact us

Using this user can contact with us.

SMT. S. J. VARMORA BBA & BCA MAHILA COLLEGE 30


PROJECT ID-17 Chapter 5: System Design

13) Log in

This is for login.

SMT. S. J. VARMORA BBA & BCA MAHILA COLLEGE 31


PROJECT ID-17 Chapter 5: System Design

Register

1) Home

This page shows the home of register side.

SMT. S. J. VARMORA BBA & BCA MAHILA COLLEGE 32


PROJECT ID-17 Chapter 5: System Design

2) About us

This is a admin side About us.

SMT. S. J. VARMORA BBA & BCA MAHILA COLLEGE 33


PROJECT ID-17 Chapter 5: System Design

3) Gym category

This is register side gym category.

4) Gym brand

SMT. S. J. VARMORA BBA & BCA MAHILA COLLEGE 34


PROJECT ID-17 Chapter 5: System Design

This is register side gym brand.

5) Gym product

This is register side gym brand.

SMT. S. J. VARMORA BBA & BCA MAHILA COLLEGE 35


PROJECT ID-17 Chapter 5: System Design

6) Contact us

SMT. S. J. VARMORA BBA & BCA MAHILA COLLEGE 36


PROJECT ID-17 Chapter 5: System Design

This is a register side contact us.

SMT. S. J. VARMORA BBA & BCA MAHILA COLLEGE 37


PROJECT ID-17 Chapter 5: System Design

7) Product detail

This is a registration for register user.

8) Cart view

This is a cart view for register user.

SMT. S. J. VARMORA BBA & BCA MAHILA COLLEGE 38


PROJECT ID-17 Chapter 5: System Design

9) Thank you page

We thank them to make order .

10) View order

Register user can see their order.

SMT. S. J. VARMORA BBA & BCA MAHILA COLLEGE 39


PROJECT ID-17 Chapter 5: System Design

11) Log in

This is a for log in.

SMT. S. J. VARMORA BBA & BCA MAHILA COLLEGE 40


PROJECT ID-17 Chapter 5: System Design

ADMIN

1) Dashboard

This is admin side dashboard..

SMT. S. J. VARMORA BBA & BCA MAHILA COLLEGE 41


PROJECT ID-17 Chapter 5: System Design

2) Add category

This is a page to add category.

SMT. S. J. VARMORA BBA & BCA MAHILA COLLEGE 42


PROJECT ID-17 Chapter 5: System Design

3) Category table

This page is a show inserted category.

SMT. S. J. VARMORA BBA & BCA MAHILA COLLEGE 43


PROJECT ID-17 Chapter 5: System Design

4) Add brand

This is a page to add category.

SMT. S. J. VARMORA BBA & BCA MAHILA COLLEGE 44


PROJECT ID-17 Chapter 5: System Design

5) Brand table

This page is a show inserted brand..

SMT. S. J. VARMORA BBA & BCA MAHILA COLLEGE 45


PROJECT ID-17 Chapter 5: System Design

6) Add product

This is a page to add product.

SMT. S. J. VARMORA BBA & BCA MAHILA COLLEGE 46


PROJECT ID-17 Chapter 5: System Design

7) Product table

This page is a show inserted product.

SMT. S. J. VARMORA BBA & BCA MAHILA COLLEGE 47


PROJECT ID-17 Chapter 5: System Design

8) Order table

This is display the order list.

9) Feedback table

This is display the feedback list.

SMT. S. J. VARMORA BBA & BCA MAHILA COLLEGE 48


PROJECT ID-17 Chapter 5: System Design

10) User table

This is display the list of users.

11) Log out

This is use to log out from this page.

SMT. S. J. VARMORA BBA & BCA MAHILA COLLEGE 49


PROJECT ID-17 Chapter 5: System Design

SMT. S. J. VARMORA BBA & BCA MAHILA COLLEGE 50

You might also like