Movie Database System Report
Movie Database System Report
BELAGAVI - 590018
A MINI-PROJECT REPORT ON
“MOVIE DATABASE SYSTEM”
BACHELOR OF ENGINEERING
IN
INFORMATION SCIENCE & ENGINEERING
Submitted By:
POOJA K P [4VV18IS066]
POOJA N G [4VV18IS067]
RUCHITHA U [4VV18IS086]
2020-2021
DEPARTMENT OF INFORMATION SCIENCE AND ENGINEERING
VIDYAVARDHAKA COLLEGE OF ENGINEERING MYSURU-570002
Vidyavardhaka College of Engineering
Gokulam 3rd Stage,
Mysuru-570002
Department of Information Science and Engineering,
CERTIFICATE
This is to certify that the mini-project report entitled “MOVIE DATABASE SYSTEM” is a
bona fide work carried out by POOJA K P (4VV18IS066), POOJA N G (4VV18IS067)
,RUCHITHA U (4VV18IS086) students of 5th semester Information Science and Engineering,
Vidyavardhaka College of Engineering, Mysuru in partial fulfillment for the award of the
degree of Bachelor of Engineering in Information Science & Engineering of the
Visvesvaraya Technological University, Belagavi, during the academic year 2020-2021. It
is certified that all the suggestions and corrections indicated for the internal assessment have
been incorporated in the report deposited in the department library. The report has been
approved as it satisfies the requirements in respect of mini-project work prescribed for the said
degree.
1)
2)
ACKNOWLEDGEMENT
The Mini-project would not have been possible without the guidance, assistance and suggestions
of many individuals. I would like to express our deep sense of gratitude and indebtedness to each
and every one who has helped me to make this project a success.
We heartily thank our beloved Principal, Dr. B Sadashive Gowda for his whole hearted support
and for his kind permission to undergo the mini-project.
We wish to express our deepest gratitude to Dr. A B Rajendra, Head of Department, Information
Science and Engineering, VVCE, for his constant encouragement and inspiration in taking up
this mini-project.
In the end, we are anxious to offer our sincere thanks to our family members and friends for their
valuable suggestions and encouragement.
POOJA K P (4VV18IS066)
POOJA N G (4VV18IS067)
RUCHITHA U (4VV18IS086)
ABSTRACT
1 INTRODUCTION 1
2 REQUIREMENT SPECIFICATION 2
3 DATABASE DESIGN 5
3.3 Normalization 9
4 IMPLEMENTATION 10
4.2 Triggers. 14
7 BIBLIOGRAPHY 26
LIST OF FIGURES
3.2 ER Diagram 8
CHAPTER 1
INTRODUCTION
Development of movie database system helps in managing the database for storing and
retrieving required information about movies, celebrities, reviews and ratings. It has a friendly
user interface which makes the database management system easy for to use for common users.
The main purpose of our movie database system is to provide rating facility for the users. It is
an automatic system. The goal of our system is to help the user decide whether the movie or
the TV show is worth watching. This system provides user a platform to enquire about the
movies and provide rating facility.
Efficiency
It gives required information about the movies, reviews and other data in less time.
Security
The Movie Database System developed is very secure and cannot be hacked or accessed by
any stranger.
Facilities
It is very easy to access and retain the information about movies, shows and theaters.
Time
It takes time to store new information and to retrieve required information from the database
management system.
Flexibility
This database management is flexible as it can be easily modified when some changes in the
system is required.
CHAPTER 2
REQUIREMENT SPECIFICATION
After careful analysis the system has been identified to have the following modules:
1. Administrator module
2. User module
3. Guest user
1. . ADMINISTRATOR MODULE:
This module provides administrator related functionality. Administrator manages all
information and has access rights to add, delete, edit and view the data related to movies, shows,
bookings, messages etc.
• Movies—Admin will add and manage the movies and shows.
• Users- Admin views all Information of all users.
• Booking- Admin will responsible for manage booking.
• Dashboard- Here admin can view all count of booking, messages, shows and Users.
• Change password--- Admin can change own password.
2. USER MODULE:
• Register: User can register yourself for booking.
• Sign in: Here user can login with valid username and password.
• Forgot Password :User can recover his/her own password.
• Booking history: After login user can book any show that will be displayed in
Booking history. User can cancel his/her booking.
• Change Password: User can own Password.
3. GUEST MODULE:
Guest user can visit the website and view the all content of website. Guest users can also
Enquiry.
2.2 Hardware Requirements
• Intel Core
• 128 MB RAM
Server : WAMP
Department of ISE,VVCE
MOVIE DATABASE SYSTEM DBMS Laboratory with Mini-project
Department of ISE,VVCE
MOVIE DATABASE SYSTEM DBMS Laboratory with Mini-project
CHAPTER 3
DATABASE DESIGN
A relational database schema is the tables, columns and relationship that make up database.
Department of ISE
MOVIE DATABASE SYSTEM DBMS Laboratory with Mini-project
Department of ISE
MOVIE DATABASE SYSTEM DBMS Laboratory with Mini-project
Department of ISE
MOVIE DATABASE SYSTEM DBMS Laboratory with Mini-project
Department of ISE
MOVIE DATABASE SYSTEM DBMS Laboratory with Mini-project
3.3 NORMALISATION
The normal form of a relation refers to the highest normal form condition thatit meets, and
hence indicates the degree to which it has been normalized. Normalization of data can be
considered a process of analyzing the given relation schemas based on their FDs and primary
keys to achieve the desirable properties of
● minimizing redundancy.
It states that the domain of an attribute must include only atomic (simple, indivisible) values
and that the value of any attribute in a tuple must be a single value from the domain of that
attribute.
Department of ISE
MOVIE DATABASE SYSTEM DBMS Laboratory with Mini-project
CHAPTER 4
IMPLEMENTATION
ADMIN:
CREATE TABLE `admin` (
`a_id` int(4) NOT NULL,
`a_nm` varchar(50) NOT NULL,
`a_unm` varchar(6) NOT NULL,
`a_mno` varchar(12) NOT NULL,
`a_pwd` varchar(40) NOT NULL,
`a_email` varchar(60) NOT NULL
);
BOOKING:
CREATE TABLE `booking` (
`b_id` int(4) NOT NULL,
`b_bookid` varchar(100) NOT NULL,
`b_theatre` varchar(10) NOT NULL,
`b_unm` varchar(20) NOT NULL,
`b_show` varchar(20) NOT NULL,
Department of ISE,VVCE
MOVIE DATABASE SYSTEM DBMS Laboratory with Mini-project
CONTACT:
CREATE TABLE `contact` (
`co_id` int(4) NOT NULL,
`co_nm` varchar(20) NOT NULL,
`co_mno` varchar(12) NOT NULL,
`co_email` varchar(50) NOT NULL,
`co_msg` longtext NOT NULL,
`co_time` bigint(40) NOT NULL
);
MOVIES:
CREATE TABLE `movies` (
`m_id` int(4) NOT NULL,
`m_nm` varchar(40) NOT NULL,
`m_date` varchar(40) NOT NULL,
`m_cnm` varchar(200) NOT NULL,
`m_dnm` varchar(200) NOT NULL,
`m_des` longtext NOT NULL,
`m_banner` varchar(200) NOT NULL,
`m_shw` int(1) NOT NULL DEFAULT 0,
`m_status` int(11) NOT NULL DEFAULT 1
);
Department of ISE,VVCE
MOVIE DATABASE SYSTEM DBMS Laboratory with Mini-project
REGISTER:
CREATE TABLE `register` (
`r_id` int(4) NOT NULL,
`r_nm` varchar(30) NOT NULL,
`r_age` varchar(2) NOT NULL,
`r_gender` varchar(10) NOT NULL,
`r_mno` varchar(12) NOT NULL,
`r_email` varchar(40) NOT NULL,
`r_pwd` varchar(40) NOT NULL,
`r_time` bigint(40) NOT NULL,
`r_status` int(1) NOT NULL DEFAULT 1
);
SCREEN:
CREATE TABLE `screen` (
`s_id` int(4) NOT NULL,
`s_nm` varchar(20) NOT NULL,
`s_theatre` int(2) NOT NULL,
`s_seats` int(250) NOT NULL DEFAULT 49,
`s_time` int(40) NOT NULL,
`s_status` int(1) NOT NULL DEFAULT 1
);
SEAT:
CREATE TABLE `seat` (
`seat_id` int(5) NOT NULL,
`seat_row` varchar(5) NOT NULL,
`seat_col` int(5) NOT NULL,
`seat_show` int(5) NOT NULL DEFAULT 0,
`seat_uid` int(5) DEFAULT 0
);
Department of ISE,VVCE
MOVIE DATABASE SYSTEM DBMS Laboratory with Mini-project
SHOWS:
CREATE TABLE `shows` (
`show_id` int(4) NOT NULL,
`show_m` int(4) NOT NULL,
`show_t` int(4) NOT NULL,
`show_s` int(4) NOT NULL,
`show_time` varchar(200) NOT NULL,
`show_date` varchar(20) NOT NULL,
`show_price` int(4) NOT NULL,
`show_status` int(1) NOT NULL DEFAULT 1,
`show_seat` int(3) NOT NULL DEFAULT 48,
`show_unq` varchar(255) NOT NULL
);
THEATRE:
CREATE TABLE `theatre` (
`t_id` int(4) NOT NULL,
`t_nm` varchar(30) NOT NULL,
`t_city` varchar(30) NOT NULL,
`t_time` bigint(40) NOT NULL,
`t_status` int(1) NOT NULL DEFAULT 1
);
UPMOVIES:
CREATE TABLE `upmovies` (
`um_id` int(4) NOT NULL,
`um_nm` varchar(40) NOT NULL,
`um_date` varchar(40) NOT NULL,
`um_cnm` varchar(200) NOT NULL,
`um_dnm` varchar(30) NOT NULL,
`um_des` longtext NOT NULL,
`um_banner` varchar(200) NOT NULL,
`um_status` int(11) NOT NULL DEFAULT 1
Department of ISE,VVCE
MOVIE DATABASE SYSTEM DBMS Laboratory with Mini-project
);
4.2 TRIGGERS
A database trigger is procedural code that is automatically executed in response to certain
events on a particular table or view in a database. A trigger is a special kind of stored procedure
that automatically executes then an event occurs in the database server. A trigger is mostly used
for maintaining the integrity of the information on the database. There is atrigger implemented
in our project.
DELIMETER $S
CREATE TRIGGER trigger1
AFTER INSERT
ON table1
FOR EACH ROW
BEGIN
INSERT INTO tablename VALUES (“new action”);
END
$S
DELIMETER;
Department of ISE,VVCE
MOVIE DATABASE SYSTEM DBMS Laboratory with Mini-project
Department of ISE,VVCE
MOVIE DATABASE SYSTEM DBMS Laboratory with Mini-project
CHAPTER 5
SCREEN SHOTS
Department of ISE,VVCE
MOVIE DATABASE SYSTEM DBMS Laboratory with Mini-project
Department of ISE,VVCE
MOVIE DATABASE SYSTEM DBMS Laboratory with Mini-project
Department of ISE,VVCE
MOVIE DATABASE SYSTEM DBMS Laboratory with Mini-project
Department of ISE,VVCE
MOVIE DATABASE SYSTEM DBMS Laboratory with Mini-project
Department of ISE,VVCE
MOVIE DATABASE SYSTEM DBMS Laboratory with Mini-project
Department of ISE,VVCE
MOVIE DATABASE SYSTEM DBMS Laboratory with Mini-project
Department of ISE,VVCE
MOVIE DATABASE SYSTEM DBMS Laboratory with Mini-project
Department of ISE,VVCE
MOVIE DATABASE SYSTEM DBMS Laboratory with Mini-project
Department of ISE,VVCE
MOVIE DATABASE SYSTEM DBMS Laboratory with Mini-project
Department of ISE,VVCE
MOVIE DATABASE SYSTEM DBMS Laboratory with Mini-project
CHAPTER 6
Conclusions and Future Work
MDS is a web application developed as a handy one-stop destination for a user who is interested to see the
ratings, trailers, show times and streaming information of movies. It is successful in meeting the
application
requirements and there is a lot of scope for future development. However there are few challenges faced
and drawbacks in this application, which would be taken care of during the future work.
Future Work:
o In this project, the movies that are fetched belong to these categories only: In theaters, Upcoming,
DVD/Blu-ray. In future, PMDS would be developed to fetch the movies from more categories.
o Steps will be taken to improve the speed and performance of the application.
o A smart search engine based on tags, genre, and actors would be developed.
o In future, PMDS must be able to suggest the user based on their search history, ratings.
o A more professional GUI must be developed.
BIBILIOGRAPHY
[1]www.w3schools.com
[2] www.google.com
[3] www.Scribd.com
[4] in.php.net
[5] www.apache.org/
[6] www.mysql.com
Department of ISE,VVCE