Professional Documents
Culture Documents
Design PDF
Design PDF
Harsh Gupta
Student, Computer Science and Engineering
Indian Institute of Technology Mandi
E-mail: harsh_gupta@students.iitmandi.ac.in
October 2015
Date
Author(s)
Description
v1.0
10/12/15
Harsh Gupta
Initial version
V1.1
10/18/15
Harsh Gupta
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.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
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
Bank System has three tables:The Schema of Tables is given below:1. ACCOUNTS
Account Number :-
Customer ID:-
Balance:-
DOUBLE UNSIGNED
TYPE :-
ENUM('S','C')
2. Customer
CustomerId:-
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
Birth Date:-
DATE
NOT NULL
Phone number:-
VARCHAR()
NOT NULL
Sex:-
3. Transactions
ID
Type
fromaccount
toaccount
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 .