Академический Документы
Профессиональный Документы
Культура Документы
CHAPTER 1
INTRODUCTION
1.1 Overview of the project
An online Tuition management system is a platform where both students can sign up and fill in
their respective details to find the best tutor. This is also a platform for tutors with good experience in
teaching to find students.
The database enables both students and teachers to sign in and fill in their details and submit it.This
is then accessible by the administrator only.After signing in with their unique name and password, the
students can access the webpage and get familiar with the offers and specifications of the management.
The website is simple to use and it is a user-friendly application.The role of the application is to
maintain data and process it whenever it is needed. It is a simple UI (user interface) system, there is a
requirement to maintain all the users detail records to achieve that there is a need to use a system which
will store and process all this data. The user should register or maintain his/her profile in order to access
the website.
The website consists of six tables with its specific attributes and the six tables are :
Admin
Quote
Ssign
Tsign
Sdetails
Tdetails
Each table as unique key attribute named as primary keys, a relationship between the tables/entities
are drawn using a foreign key and resolved into a tables/entities.
DBMS:
A database-management system (DBMS) is a computer-software application that interacts
with end-users, other applications, and the database itself to capture and analyze data. A general-
purpose DBMS allows the definition, creation, querying, update, and administration of database. A
database is not generally portable across different DBMSs, but different DBMSs can Inter-operate by
using standards such as SQL and ODBC or JDBC to allow a single application to work with more than
one DBMS.
The DBMS essentially serves as an interface between the database and end users or application
programs, ensuring the data is consistently organized and remains easily accessible. A DBMS provides
concurrency, security, data integrity, consistency, controls redundancy and data independence. In this
project the Relational DBMS (RDBMS) used in MySQL. It is open source software which uses SQL (
Structural Query Language ) which is a standard language for storing, manipulating and retrieving data
in databases.
JSP
It stands for Java Server Pages.
It is a server side technology.
It is used for creating web application.
It is used to create dynamic web content.
In this JSP tags are used to insert JAVA code into HTML pages.
It is an advanced version of Servlet Technology.
It is a Web based technology helps us to create dynamic and platform independent web pages.
In this, Java code can be inserted in HTML/ XML pages or both.
JSP is first converted into servlet by JSP container before processing the client’s request.
They are easy to maintain.
CHAPTER 2
DESIGN
SOFTWARE REQUIREMENTS
Operating System : Windows 10
Front end : HTML, JSP, CSS
Back end : MYSQL, ECLIPSE
2.4.1 E R DIAGRAM
This relationship diagram shows how the tables in the database are connected to each other and
how the controls flows from one table to another when some action triggered by the user. It also shows
the constraints on the database such as primary key constraints, foreign key constraints and procedures
and trigger. Entity Relationship Diagram also called as ER Diagram.
When documenting a system or process, looking at the system in multiple ways increases the
understanding of that system. ERD diagrams are commonly used in conjunction with a data flow
diagram to display the contents of a data store. They help us to visualize how data is connected in a
general way, and are particularly useful for constructing a relational database.
The database is normalized up to 3rd normal form. That is the tables in the database has multimedia
fields(attributes) and there will be one primary key in each table that uniquely identifies each tuple in
the table.
A schema diagram helps organize values in the database. It also gives an idea of what order the table
should be created in. the following diagram shows the schema diagram for the database.
The data which is stored in the database at a particular moment of time is called an instance of the
database.
The overall design of a database is called schema.
A database schema is the skeleton structure of the database. It represents the logical view of the entire
database.
A schema contains schema objects like table, foreign key, primary key, views, columns, data types,
stored procedure, etc.
A database schema can be represented by using the visual diagram. That diagram shows the database
objects and relationship with each other.
A schema diagram can display only some aspects of a schema like the name of record type, data type,
and constraints. Other aspects can't be specified through the schema diagram.
CHAPTER 3
IMPLEMENTATION
Back End
MYSQL: MySQL is an open-source relational database management system(RDBMS).Its name is a
combination of "My", the name of co-founder Michael Widenius's daughter,and "SQL", the
abbreviation for Structured Query Language. The MySQL development project has made its source
code available under the terms of the GNU General Public License, as well as under a variety
of proprietary agreements. MySQL was owned and sponsored by a single for-profit firm.
MySQL is written in C and C++. Its SQL parser is written in yacc, but it uses a home-brewed lexical
analyzer.MySQL works on many system platforms.It
including AIX, BSDi, FreeBSD, HPUX, eComStation, i5/OS, IRIX, Linux, macOS, Microsoft
Windows, NetBSD, Novell NetWare, OpenBSD, OpenSolaris, OS/2 Warp, QNX, Oracle ,
Solaris, Symbian, SunOS, SCO OpenServer, SCO UnixWare, Sanos and Tru64. A port of MySQL
to OpenVMS also exists.
ECLIPSE :
Eclipse is an IDE tool that helps us to develop software. An integrated development environment (IDE)
is a software application that provides comprehensive facilities to computer programmers for software
development. You can also write code in a text editor and compile and execute from command line; but
compared to a text editor, eclipse provides many additional useful features to make the development of
software easier and faster. IDE normally consists of a source code editor, build automation tools and a
debugger. Most modern IDEs like eclipse also offer intelligent code completion features.
Eclipse is mostly used to develop applications in Java, but by means of various plug-ins, Eclipse may
Fortran, Haskell, JavaScript, Lasso, Perl, PHP, Python, R, Ruby (including Ruby on Rails framework),
Scala, Clojure, Groovy, Scheme, and Erlang.
Eclipse contains a base workspace and an extensible plug-in system for customizing the development
environment. Eclipse is thus also a framework in addition to an IDE and can be extended to have more
features and functionalities through the use of plugins.
COMPONENT MODULES
Figure3.3:Teacher Details
Stored procedure:
A procedure (often called a stored procedure) is a subroutine like a subprogram in a regular computing
language, stored in database. There are many useful applications of SQL procedures within a database
or database application architecture. SQL procedures can be used to create simple scripts for quickly
querying transforming, updating data, generating basic reports, improve application performance,
modularizing applications, and improve overall database design, and database security.
The stored procedure is named as display_tmdetails.
The stored procedure used here with its output displayed below:
After creating the procedure ,it is executed by using the following code:
Use tuition
Delimiter //
CREATE DEFINER=’root’@localhost’ PROCEDURE ‘display_tmdetails’()
Begin
Select * from tdetails;
End //
Call display_tmdetails(); //
Trigger:
Triggers are stored programs, which are automatically executed or fired when some event
occurs. Triggers are written to be executed in response to any of the following events. A database
manipulation (DML) statement (DELETE, INSERT, or UPDATE). A database definition (DDL)
statement (CREATE, ALTER, or DROP).
The database is connected to the front end html using jsp, the code for database connection is shown
below:
Class.forName=(“com.mysql.jdba.Driver”);
Java.sql.Connection con =
DriverManager.getConnection(“jdbc:mysql://localhost:3306/lens”,”root”,”password”);
Statement st = con.createStatement();
ResultSet rs;
Dept. of CSE, SJBIT 2019-20 13
Tuition Database System
CHAPTER 4
TESTING
System Testing is carried out on the whole system in the context of either system requirement
specifications or functional requirement specifications or in the context of both. System testing tests the
design and behavior of the system and also the expectations of the customer. It is performed to test the
system beyond the bounds mentioned in the software requirements specification (SRS).
In system testing, integration testing passed components are taken as input. The goal of integration
testing is to detect any irregularity between the units that are integrated together. System testing detects
defects within both the integrated units and the whole system. The result of system testing is the
observed behavior of a component or a system when it is tested.
CHAPTER 5
SNAPSHOTS
Student signup page:
Student login page: This page allows the students to login using their name and password.This
will lead them to the index page having details about the website.The students will have to fill a details
form and submit after logging in.
Teacher login page: This page allows the teachers to login using their name and password.This will
lead them to the index page having details about the website.The students will have to fill a details form
and submit after logging in.
Student details page: This page takes in the details of the students.
The details entered and submitted by the students can only be accessed by the admin.
Teacher details page: This page takes in the details of the teachers.
The details entered and submitted by the teachers can only be accessed by the admin.
CHAPTER 6
CONCLUSION
Our project is only a humble venture to satisfy the needs to manage their project work.
Several user friendly coding also have adopted. This package shall prove to be a powerful package in
satisfying all the requirements of the orders database. The objective of a software planning is to provide
a framework that enables the manager to make reasonable estimates made within a limited time frame
at the beginning of the software project and should be updated regularly as the project progresses.
During our database management course we have learned about the basics of database design. This
project gave us the opportunity to try our new skills in practice. While doing this project we also gained
deeper understanding on the database design and how it can be implemented in real life situations. We
believe we can use our database designing skills also in other projects.
BIBLIOGRAPHY
[1]. Fundamentals of Database systems, RamezElmasri and Shamkant B.Navathe, 7 th edition,
2017, Pearson.
[2]. Database Management System, Ramakrishnan, Gehrke, 3 rd edition, 2017, McGraw Hill.
[3]. Silberschatz Korth and Sudarshan, Database System concepts, 6th edition, McGraw Hill,
2013.
http://www.tutorialspoint.com/mysql/
[4]. httpd.apache.org/docs/2.0/misc/tutorials.html
[5]. W3Schools
https://www.w3schools.com
[6]. Stack OverFlow
http://stackoverflow.com
[7]. My sql Tutorial
www.mysqltutorial.org