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

REPORT DBMS updated new_241029_072633

Uploaded by

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

REPORT DBMS updated new_241029_072633

Uploaded by

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

Mini Project Report

On
ENTERTAINMENT GUIDE

Submitted in partial fulfillment of the requirement


of IA2 DBMS (ET 312)
Bachelor of Technology in Electronics and Telecommunication Engineering

Prepared By:

Name Roll No
Santosh Erram 506
Shreeshail Giddale 507
Sairaj Gunjal 508

Submitted to:
Department of Electronics and Telecommunication Engineering
Under the guidance of:
Prof. Aboli A. Khedkar

Pillai College of Engineering


New Panvel – 410 206
University of Mumbai
Academic Year
(2024-2025)
DEPARTMENT OF ELECTRONICS AND TELECOMMUNICATION
ENGINEERING
Pillai College of Engineering
New Panvel – 410 206

CERTIFICATE
This is to certify that the requirements for the B. Tech Semester V IAII DBMS (ET 312) entitled
‘ENTERTAINMENT GUIDE’ have been successfully completed by the following students:
Santosh Erram 506
Shreeshail Giddale 507
Sairaj Gunjal 508

in partial fulfillment of Bachelor of Technology of University of Mumbai in the Department of


Electronics and Telecommunication Engineering, Pillai College of Engineering, New Panvel –
410 206 during the Academic Year 2024 – 2025.

Supervisor
(Ms. Aboli A. Khedkar)

Head of Department Principal


Dr. Avinash R. Vaidya Dr. Sandeep M. Joshi

Internal Examiner External Examiner


Table of Contents

Acknowledgement……………………………………………………………………............ i

Abstract..................................................................................................................................... ii

List of Figures............................................................................................................................ iii


List of Tables………………………………………………………………………………… iv

Summary……………………………………………………………………………………... v

1. Introduction...................................................................................................................... 1-3

1.1 Fundamentals....................................................................................................... 1

1.2 Objectives............................................................................................................ 2

1.3 Scope................................................................................................................... 2-3

1.4 Outline………………………………................................................................. 3

2. Software 4-9
Implementaion....................................................................................................
2.1 Overview…………………..……………............................................................ 4

2.2 E-R Diagram………………………………………………................................ 4

2.3 Front End………………………………………………………………………. 5-6

2.4 RDBMS Design….…………….......................................................................... 6-8

2.5 Analysis….…………….........................................................................…. 9

3. Conclusion....................................................................................................................... 10

4. References…………………………………………………………………………………..11
Acknowledgement

We would like to express our heartfelt gratitude to our esteemed teacher, Prof.Aboli Khedkar Mam, for her
invaluable guidance and support throughout the course of this project. Her insights and encouragement inspired us
to explore the diverse facets of entertainment and present them in an engaging manner.

We also extend our thanks to our teammates for their collaborative spirit and creativity, which were instrumental in
bringing this project to life. Together, we navigated challenges and celebrated successes, making this experience
both enriching and enjoyable.

i
Abstract

The Entertainment Guide is a dynamic movie rating website developed using PHP and SQL, structured to provide
comprehensive details and ratings for various movies. Built on a robust relational database, the system includes
features to manage data on movies, actors, directors, genres, and production companies. The platform enables users
to explore movie details, view cast and crew information, and access genre-based recommendations. The one-to-
many database relationships ensure efficient data organization, supporting advanced queries, ratings, and seamless
data retrieval for an enhanced user experience.
The Entertainment Guide project is basically a Movie Database project typically involves creating a relational
database to manage information about films, directors, actors, and genres available.

ii
List of Figures
Figure No Title Page No

Figure 2.2 4
Entity-Relationship(ER) Diagram
5
Figure 2.3.1 Homepage
Figure 2.3.2 Actor data search 6

Figure 2.3.3 Director data search 6

iii
List of Tables

Table No Title
Page
No

Table 2.4.1 Actor 6


Table 2.4.2 Director 7

Table 2.4.3 Genre 7

Table 2.4.4 Production Companies 7

Table 2.4.5 Movie 8

iv
Summary

The "Entertainment Guide" is a movie rating website developed using PHP and SQL, designed to provide users
with a platform to explore, rate, and review films. It features user registration and authentication for personalized
experiences, a comprehensive movie database with detailed information, and a rating system that allows users to
contribute to aggregate scores. Users can submit reviews, fostering a community of film enthusiasts, while search
and filter options enhance usability. An admin panel enables management of movie entries and user activity. This
project showcases our understanding of database management systems and web development, combining both
backend and frontend skills to create an engaging user experience.

v
1.Introduction
A movie rating website serves as a central platform for users to browse through a comprehensive collection of films
with associated ratings and reviews. Such websites are a powerful resource for moviegoers, as they provide insights
into movies from user feedback and rating systems. This project will explore building a similar platform with PHP
and SQL, enabling users to view movie ratings, explore categories, and navigate through an organized interface.

1.1 Fundamentals
1. PHP (Hypertext Preprocessor):

Role in the Project: PHP is crucial as the server-side scripting language that interacts with the database and sends
requested data to the frontend. It processes user requests like searching or filtering movies, retrieves data from the
database, and renders it on the webpage.
Dynamic Content Generation: PHP allows for dynamic page generation. For example, it can display different
content based on user input, such as viewing movies in specific genres or sorting by ratings.Security: PHP handles
server-side validation and authentication. Measures like SQL injection prevention, input validation, and session
management ensure that data integrity and user privacy are maintained.

2. SQL (Structured Query Language):

Data Storage and Retrieval: SQL manages the data for movies, genres, ratings, and reviews. Commands like
SELECT, INSERT, UPDATE, and DELETE allow efficient data management.
Data Relationships: SQL is used to create relational database structures, establishing connections between tables
through primary and foreign keys. For example, each movie can be linked to multiple genres, and each rating to a
specific movie.
Optimized Queries: SQL indexing and query optimization ensure that the website performs efficiently, especially
as the database grows with more movies and ratings.

3. Database Management System:


Relational Structure: MySQL or another RDBMS stores data in a structured manner. For instance, tables are created
for movies, genres, and ratings, allowing organized data retrieval.
Normalization: To reduce redundancy, the database uses normalization principles. For example, genres are stored
in a separate table and linked via foreign keys, preventing repetitive data across the movie records.

1
1.2 Objectives

The primary objective of the movie management system is to create a structured database that efficiently organizes
movie-related data for easy retrieval and management. This includes storing essential movie details—such as titles,
release years, companies, and ratings—as well as tracking detailed cast and crew information, specifically focusing
on actors and directors. By implementing many-to-many relationships where needed, such as between movies and
actors, the system ensures that movie data is accurately represented and accessible. Additionally, associating each
movie with a genre facilitates genre-based search and browsing, enhancing user experience and making it easier for
users to locate movies based on their preferences.

1.3 Scope

Movie Information Management

• Store essential attributes: movie title, release year, production company, and rating.
• Support search and retrieval by title, year, or rating for user convenience.

Actor and Crew Database

• Track actors’ full names, genders, and roles within each movie.
• Enable many-to-many relationships between movies and actors, allowing actors to appear in multiple films
and for each film to have a unique cast.
• Record directors' details and link them to multiple films, managing director-to-movie relationships
accurately.

Genre Classification

• Assign each movie a specific genre (e.g., Drama, Comedy, Action).


• Allow users to filter and browse movies by genre, aiding in content organization and searchability.

User Reviews and Ratings

• Allow users to submit reviews, including comments and star ratings, for individual movies.
• Store review details like reviewer name, submission date, and feedback text, supporting multiple
reviews per movie.
• Aggregate ratings per movie to display an average user rating for easy
reference.

2
Sales and Performance Metrics

• Track ticket sales data, including the number of tickets sold and total revenue for each movie.
• Record revenue trends and update metrics in real-time to support movie performance analysis.

Data Analysis and Reporting Tools

• Generate reports on popular movies based on sales, ratings, and user reviews.
• Enable analysis of sales trends, genre popularity, and actor or director contributions.

1.4 Outline

The Movie Management System is a comprehensive web-based application designed to streamline the process of
managing a vast collection of movies. Developed using SQL, PHP, and a robust DBMS, this system allows users
to easily navigate through various features, including searching for movies, viewing detailed information, and
submitting reviews and ratings. The application incorporates a user-friendly interface that facilitates smooth
interaction, ensuring that both movie enthusiasts and casual viewers can access and manage content efficiently. The
backend database is meticulously structured to handle user information, movie details, and user-generated content,
providing a solid foundation for reliable performance and scalability.

In addition to its core functionalities, the Movie Management System supports user authentication, enabling
personalized experiences through user profiles and saved preferences. The system’s architecture follows the Model-
View-Controller (MVC) design pattern, enhancing maintainability and separation of concerns. Future enhancements
may include advanced search capabilities, an admin panel for managing content, and integration with third-party
movie databases. This project not only demonstrates proficiency in web development technologies but also provides
valuable insights into database management and user interface design, making it an excellent tool for movie lovers
and a practical solution for movie data organization.

3
2.Software Implementation
2.1 Overview
The Movie Database software implementation centers around PHP for backend processing and MySQL as the
database management system. PHP manages data retrieval, user authentication, and logic handling, allowing users
to interact dynamically with the database. MySQL stores all movie-related data, user details, reviews, and ratings
in structured tables, efficiently handling relationships between entities. This setup enables users to seamlessly
search, view, rate, and review movies, while PHP scripts ensure smooth data transactions between the database and
the user interface for a responsive experience.

2.2 E-R Diagram

Fig 2.2.1

Entity:- Directors , Actors ,Production companies ,Genres

Attributes:-
director_id,lead_actor_id,genre_name,genre_id,production_id,company_name,actor_id,actor_name,movie_id,mov
ie_title,runtime,availability,release_year

Relationship:- produced by, belongs to which genres

4
2.3 Front End
The Frontend contains Homepage in which search engine for Movies , Actors ,Directors and
Genres.

Fig 2.3.1 Homepage

Fig 2.3.2 Actor data search

5
Fig2.3.3 Directors data search

2.4 RDBMS Design:It consists of 5 Tables : Actors, Directors, Genres, Production Companies ,Movies
1.Actor Table

id Actor Name
1 Leonardo Dicaprio
2 Kate Winslet
3 Tom Hanks
4 Meryl Streep
5 Denzel Washington

Table 2.4.1
Actors_Table _Schema = (id, Actor name)
2.Directors Table

id Directors Table

1 James Cameron

2 Christopher Nohan

3 Steven Spielberg

6
4 Quentin Tarantino

5 Martin Scorsese

Table 2.4.2
Directors_Table_Schema=(id, Director name)
3.Genres Table
id Genre Name
1 Drama

2 Action
3 Thriller
4 Comedy
5 Sci-fi
Table 2.4.3
Genres_Table_Schema=(id, Genre Name)
4.Production Companies Table
id Company_name
1 20th Century Fox

2 Warner Bros
3 Universal Pictures
4 Paramount Picutres
5 Columbia Picutres
Table 2.4.4
Production Companies_Table_Schema=(id, Company Name)
5.Movie Table
id title release_year runtime avail
1 Titanic 1997 195 avail
2 Inception 2010 148 avail
3 Forrest Gump 1994 142 avail
4 Pulp fiction 1994 154 avail
5 The Martian 2015 144 avail
Table 2.4.5
MovieTable_Schema=(id, title, release_year,runtime,Avail)

7
Relationship:
Actor(1) has Movie(M)
Directors has Movies(1 to M)
Movies belongs to Genres(1 to M) and Production Companies produced by Movies (1 to M)

2.5 Analysis :
This project aims to centralize and streamline movie information, creating a user-friendly platform where users can search,
view, and manage movie details based on criteria like genre, cast, and release year. The platform is developed using PHP and
MySQL, emphasizing an accessible interface that encourages user interaction through ratings and reviews. Key features
include a comprehensive search function, detailed movie pages with essential information, and a recommendation engine that
personalizes suggestions based on user preferences. The project's future scope includes adding advanced filtering options, like
searching by director or language, and integrating social media to enhance community engagement. The project highlights
potential for expansion, envisioning upgrades such as a mobile app and refined recommendation algorithms to establish itself
as a comprehensive entertainment guide.
Query Questions
1)How can I retrieve all movies produced by a specific production company, for example, ‘Warner Bros’?”

Output:

SELECT Movies. title, Movies. release_year

FROM Movies

JOIN Production Companies ON Movies.production _company _id = ProductionCompanies.id


WHERE Production Companies.company_ name = 'Warner Bros';
2) How can I find all movies directed by a specific director, like 'Christopher Nolan'?"
Output:-
SELECT Movies.title, Movies.release_year
FROM Movies
JOIN Directors ON Movies.director_id = Directors.id
WHERE Directors.name = 'Christopher Nolan';
3) "How can I list all movies that belong to the genre 'Action'?"
Output:
SELECT Movies.title, Movies.release_year
FROM Movies
JOIN Genres ON Movies.genre_id = Genres.id

8
4) “How can I retrieve all movies where ‘Leonardo DiCaprio’ was the lead actor?”
Output:
SELECT Movies.title, Movies.release_year
FROM Movies
JOIN Actors ON Movies .lead_ actor_ id = Actors.id
WHERE Actors.name = 'Leonardo DiCaprio';

3.Conclusion

In conclusion, the Movie Management System serves as an innovative solution for efficiently managing and
exploring a diverse range of films. By leveraging the power of SQL, PHP, and a structured DBMS, the application
successfully delivers a user-friendly experience that empowers users to discover, review, and engage with their
favorite movies. Through careful design and implementation, the system ensures robust performance, security, and
scalability, catering to the needs of both casual viewers and movie enthusiasts alike.

Looking ahead, the potential for future enhancements presents exciting opportunities to expand the system’s
capabilities. Features such as advanced search filters, administrative controls, and integration with external
databases can further enrich user experiences and maintain the application’s relevance in an ever-evolving digital
landscape. This project not only highlights technical proficiency in web development but also reflects a deep
understanding of user needs and industry standards, ultimately fostering a passion for continuous improvement and
innovation in software development.

9
References :-

1.Ramakrishnan, R., & Gehrke, J. (2002). Database Management Systems. McGraw-Hill. This text provides

foundational principles for relational databases, covering SQL queries, relational algebra, and database integrity.

2. Date, C. J. (2003). An Introduction to Database Systems. Pearson. An essential reference for learning relational
models, schema design, and concepts relevant to the project.

3. MySQL 8.0 Reference Manual. MySQL Documentation. Provides official details on MySQL database
functionalities, SQL syntax, RDBMS features used in managing movie data.

4. Silberschatz, A., Korth, H. F., & Sudarshan, S. (2010). Database System Concepts. McGraw-Hill. A resource for
understanding the components of DBMS and the operations involved in database applications, like those seen in the
project.

10
11

You might also like