0% found this document useful (0 votes)
80 views

Design PDF

This document provides a design overview and detailed design for an online banking system. It includes: - An introduction describing the system as allowing users to create accounts and perform transactions with an easy-to-use interface. - An architecture section describing the main components of MySQL for the database, HTML for interfaces, and PHP to connect them. - Details of the relational schema including tables for accounts, customers, and transactions. - Sections on interfaces, external data access only using the MySQL database, and expected good performance on average hardware.

Uploaded by

Vamsi Krishna
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
80 views

Design PDF

This document provides a design overview and detailed design for an online banking system. It includes: - An introduction describing the system as allowing users to create accounts and perform transactions with an easy-to-use interface. - An architecture section describing the main components of MySQL for the database, HTML for interfaces, and PHP to connect them. - Details of the relational schema including tables for accounts, customers, and transactions. - Sections on interfaces, external data access only using the MySQL database, and expected good performance on average hardware.

Uploaded by

Vamsi Krishna
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

A Software Design Document:

Harsh Gupta
Student, Computer Science and Engineering
Indian Institute of Technology Mandi

E-mail: [email protected]

October 2015

The Online Banking System


Design Document
Revision History
Version

Date

Author(s)

Description

v1.0

10/12/15

Harsh Gupta

Initial version

V1.1

10/18/15

Harsh Gupta

Includes Bank Staff


Customer Interface

Interface

and

Table of Contents
1Introduction....................................................................................................................................1
1.1Design Overview....................................................................................................................1
1.2Intended Audience..................................................................................................................2
1.3References..............................................................................................................................2
2Detailed Design..............................................................................................................................2
2.1Architecture............................................................................................................................2
Components.......................................................................................................................2
Interfaces............................................................................................................................2
Relational Schema.............................................................................................................3
2.2Algorithms and Data Structures.............................................................................................3
2.3External Data..........................................................................................................................4
Databases...........................................................................................................................4
Files....................................................................................................................................4
2.4Performance...........................................................................................................................4

1 Introduction
The Online Bank System is a easy to use bank that lets you create multiple accounts. It is
able to perform transactions and also kept the history of all transactions.

1.1 Design Overview


The Online Bank System is based on Apache2. Apache is a freely available Web server that is
distributed under an "open source" license. Version 2.0 runs on most UNIX-based operating
systems (such as Linux, Solaris, Digital UNIX, and AIX), on other UNIX/POSIX-derived
systems (such as Rhapsody, BeOS, and BS2000/OSD), on AmigaOS, and on Windows 2000. It
has an easy-to-use Web interface for all users, including the bank staff and the general public.
The Online Bank System uses MySQL to handle queries efficiently.
1

1.2 Intended Audience


This document is intended for bank software operators, web developers , software managers,
coders and testers.

1.3 References
[1] http://php.net/
[2] https://www.youtube.com/watch?v=mpQts3ezPVg
[3] http://www.newthinktank.com/2014/09/php-mysql-tutorial/
[4] Chapter 12 Database Concepts and MySQL, Computer Science with C++ By Sumita Arora
[5] http://www.w3schools.com/

2 Detailed Design

Fig. 1

HTML is used to create user friendly interface


and My SQL is used to store the data in database
and to perform queries efficiently. PHP is used to
process MySQL with HTML.

2.1 Architecture
The basic architecture of components used in
Bank System is given in Fig.1
Components

MySQL is used as a RDBMS to store the data and process the data efficiently. The table
ACCOUNT is stored in MySQL.
All the GUIs (menu page, transaction page, view details page) used in Bank System are made in
HTML.
To perform the transaction, to display the details, we are using PHP to connect HTML and
MySQL.
Interfaces

The interface between the brower and all GUI is PHP. The internal database is defined using
MySQL.

Relational Schema

2.2 Algorithms and Data Structures


There are no significant algorithms developed for this product. The only important data structure
is a database which are held by MySQL.

2.3 External Data


Databases

Bank System has three tables:The Schema of Tables is given below:1. ACCOUNTS
Account Number :-

INT UNSIGNED NOT NULL AUTO INCREMENT PRIMARY KEY

Customer ID:-

INT UNSIGNED NOT NULL

Balance:-

DOUBLE UNSIGNED

TYPE :-

ENUM('S','C')

2. Customer
CustomerId:-

INT UNSIGNED NOT NULL PRIMARY KEY

First Name:-

VARCHAR()

NOT NULL

Last Name:-

VARCHAR()

NOT NULL

Email:-

VARCHAR()

NOT NULL

State:-

VARCHAR()

NOT NULL

Street:-

VARCHAR()

NOT NULL

City:-

VARCHAR()

NOT NULL

Zip:-

MEDIUMINT

NOT NULL UNSIGNED

Birth Date:-

DATE

NOT NULL

Phone number:-

VARCHAR()

NOT NULL

Sex:-

ENUM ('M', 'F') NOT NULL

3. Transactions
ID

INT UNSIGNED NOT NULL UNIQUE AUTO INCREMENT PRIMARY KEY

Type

ENUM('C', 'D') NOT NULL

fromaccount

INT NOT NULL

toaccount

INT NOT NULL

Time

TIMESTAMP

Files

Bank System does not use any internal files and It does not create any additional files.

2.4 Performance
The product will be fast on any machine with average specs as the application is light .

You might also like