ONLINE MOVIE TICKET BOOKING SYSTEM
PRESENTED BY:-
 SUBHODEEP GHOSH (30201017005)
 SUBHASISH CHAKRABORTY (30201017006)
 SIDDHARTA BOSE (30201017007)
 DEBDULAL MAITY (30201017018)
 AVINANDAN GANGULY (30201017019)
BENGAL INSTITUTE OF TECHNOLOGY(MCA)
2ND YEAR, 4TH SEMESTER
SOFTWARE ENGINEERING & TQM(MCA- 401)
CONTENTS
 PROJECT OVERVIEW
 SOFTWARE & HARDWARE CONFIGURATION
• PROCEDURAL DESIGN
 DATABASE DESIGN
 ARCHITECTURAL DESIGN
 INTERFACE DESIGN
 COST BENEFIT ANALYSIS USING COCOMO & FPA
 TESTING
 FUTURE SCOPE
 CONCLUSION
PROJECT OVERVIEW
• The purpose of the online movie ticket booking system is to automate
the manual system of buying tickets from physical counters. The
required software and hardware specifications are readily available
and very efficient to work with.
The objectives are –
• Manipulate the data about movies, shows, screenings and the cities
and theatres where they are being released and screened.
• Manage data of users and buyers who bought tickets to facilitate
bookings in the future.
• The online movie booking system has two external entities interacting
with the system – user and administrator.
• The system collects details about the users who are interacting with
the system to make the process of booking a movie ticket faster.
• The administrator can keep track of the screenings of movies taking
place and also the movies themselves. The user can look for tickets
for a movie and purchase them, after logging in.
SOFTWARE & HARDWARE REQUIREMENTS
Hardware Specification:
• RAM – 4GB
• Hard Disk – 1TB
• Processor – Intel core i5
Software Specification:
• Operating System – Windows 10
• Code editor – Atom
• Languages used HTML,CSS(front-
end),php,MySQL(backend)
• Server – Apache, MySQL Server
• Software used – xampp, Atom
Hardware Requirements:
• RAM – 1GB
• Hard Disk – 256MB
Software Requirements:
• Operating System - Any
• Browser - Any
PROCEDURAL DESIGN
CONTEXT DIAGRAM
PROCEDURAL DESIGN (CONTD.)
1-LEVEL DATA FLOW DIAGRAM
DATABASE DESIGN
TABLE DESCRIPTION
USER TABLE
THEATRE TABLE
SCREENING
TABLE
DATABASE DESIGN(CONTD.)
TABLE DESCRIPTION
RESERVED
TABLE
MOVIE TABLE
DATABASE DESIGN(CONTD.)
TABLE DESCRIPTION
CITIES
TABLE
AUDITORIUM
TABLE
ADMIN TABLE
DATABASE DESIGN(CONTD.)
ENTITY
RELATIONSHIP
DIAGRAM
ARCHITECTURAL DESIGN
USE-CASE
DIAGRAM
INTERFACE DESIGN
Index page
INTERFACE DESIGN
Login page
INTERFACE DESIGN
Signup page
INTERFACE DESIGN
Profile page
INTERFACE DESIGN
Booking page
INTERFACE DESIGN
Purchase page
INTERFACE DESIGN
Confirmation page
INTERFACE DESIGN
Admin signup and
login pages
INTERFACE DESIGN
Admin area page
INTERFACE DESIGN
Movie add and
delete pages
INTERFACE DESIGN
Add location and
add theatre pages
INTERFACE DESIGN
Add auditorium and
add screening pages
COST BENEFIT ANALYSIS
FUNCTION POINT ANALYSIS
According to the formula,
FP = UFP*TCF
From the Data Flow Diagram,
no. of inputs=7
no. of outputs=6
no. of inquiries=2
no. of files=2
no. of interfaces=1
 UFP=7*4 + 6*5 + 2*4 + 2*10 + 1*10
= 96
 TCF= (0.65 + 0.01*42) = 1.07
FP = 96*1.07 = 102.72
COST BENEFIT ANALYSIS(CONTD.)
COCOMO (CONSTRUCTIVE COST ESTIMATION MODEL)
The multiplier values based on the factors are below:-
The EAF value for the project based on these factors is, 1.05.
The project size is 2.4KLOC which is < 50KLOC, hence
project falls under organic type.
So, Effort, E = 3.2 × (2.4)1.05 × 1.05 PM = 8.42 PM.
 Development time, D = 2.5 × (8.42)0.38 Months = 5.6 Months.
 Average staff size = E/D persons = 1.5 persons.
TESTING
TESTING USING TEST-CASES
Test Template –
Module Name: Login Page
Test Date: 05-05-2019
Case-Study:-
Sr.
no
Input
Parameters
Datatype Expected
output
Actual
output
Remarks
1. Username Varchar user name user name Passed
2. Password Varchar password password Passed
VALIDATION USING CONTROL FLOW GRAPH
The code after numbering the executable line:
<?php
1. if(isset($_POST['login-submit'])){
2. require 'config.php';
3. $mailuid = $_POST['mailuid'];
4. $pass = $_POST['pw'];
5. if(empty($mailuid) || empty($pass)){
6. header('location:login.php?error=emptyfields');
exit();
}
7. else{
8. $sql = "SELECT * FROM users WHERE uname=?";
9. $stmt = mysqli_stmt_init($conn);
10. if(!mysqli_stmt_prepare($stmt,$sql)){
11. header('location:login.php?error=sqlerror');
exit();
}
12. else{
13. mysqli_stmt_bind_param($stmt,"s",$mailuid);
14. mysqli_stmt_execute($stmt);
15. $res = mysqli_stmt_get_result($stmt);
16. if($row = mysqli_fetch_assoc($res)){
17. $pwdCompare = password_verify($pass,$row['pwduser']);
18. if($pwdCompare==false){
19. header('location:login.php?error=wrong_password');
exit();
}
20. else if($pwdCompare==true){
21. session_start();
$_SESSION['lastActivity'] = time();
$_SESSION['userid'] = $row['uid'];
$_SESSION['username'] = $row['uname'];
22. if(isset($_POST['uri'])){
23. header('location:'.$_POST['uri']);
}
exit();
}
24. else{
25. header('location:login.php?error=wrong_password');
exit();
}
}
26. else{
27. header('location:login.php?error=nousers');
exit();
}
}
}
}
28. else{
29. header('location:login.php');
30. exit();
}
?>
CONTROL
FLOW
GRAPH
The cyclomatic complexity,
V(G) = E – N + 2 = 35 – 30 + 2 = 7.
V(G) = P + 1 = 6 + 1 = 7.
V(G) = R + 1 = 6 + 1 = 7.
FUTURE SCOPE
• This project we have carried out was a learning
curve for us in development of such systems. In the
future we shall add more features and functionalities
maintaining software engineering principles
• Add searching function to allow users to search
movies, or theatres, or locations
• Allow users to rate movies after watching them in
the theatre
• Allow users to add comments and subsequent
replies to comments to facilitate word of mouth
• Different dynamic interfaces for different mobile
devices of different sizes
CONCLUSION
• This project has been developed successfully and the performance
of the system has been found satisfactory. Use of this interface
helps customer in having immediate information about running
movies and reserve their seat without wasting their precious time.
User friendly Interface also for the admin to add and delete movie
information.
Thus, we may conclude that:-
• This project is basically made for providing the customer anytime
and anywhere service for booking cinema tickets and providing
information about the movies and their schedule online.
• Admins can use this project to insert and delete data such as
movie description, movie schedule which will update the related
webpage and will be accessible by the customers.
• This system is basically aimed to provide complete information of
the movie and schedule to the customer, according to which he can
book the tickets.
Movie Ticket Booking Website Project Presentation

Movie Ticket Booking Website Project Presentation

  • 1.
    ONLINE MOVIE TICKETBOOKING SYSTEM PRESENTED BY:-  SUBHODEEP GHOSH (30201017005)  SUBHASISH CHAKRABORTY (30201017006)  SIDDHARTA BOSE (30201017007)  DEBDULAL MAITY (30201017018)  AVINANDAN GANGULY (30201017019) BENGAL INSTITUTE OF TECHNOLOGY(MCA) 2ND YEAR, 4TH SEMESTER SOFTWARE ENGINEERING & TQM(MCA- 401)
  • 2.
    CONTENTS  PROJECT OVERVIEW SOFTWARE & HARDWARE CONFIGURATION • PROCEDURAL DESIGN  DATABASE DESIGN  ARCHITECTURAL DESIGN  INTERFACE DESIGN  COST BENEFIT ANALYSIS USING COCOMO & FPA  TESTING  FUTURE SCOPE  CONCLUSION
  • 3.
    PROJECT OVERVIEW • Thepurpose of the online movie ticket booking system is to automate the manual system of buying tickets from physical counters. The required software and hardware specifications are readily available and very efficient to work with. The objectives are – • Manipulate the data about movies, shows, screenings and the cities and theatres where they are being released and screened. • Manage data of users and buyers who bought tickets to facilitate bookings in the future. • The online movie booking system has two external entities interacting with the system – user and administrator. • The system collects details about the users who are interacting with the system to make the process of booking a movie ticket faster. • The administrator can keep track of the screenings of movies taking place and also the movies themselves. The user can look for tickets for a movie and purchase them, after logging in.
  • 4.
    SOFTWARE & HARDWAREREQUIREMENTS Hardware Specification: • RAM – 4GB • Hard Disk – 1TB • Processor – Intel core i5 Software Specification: • Operating System – Windows 10 • Code editor – Atom • Languages used HTML,CSS(front- end),php,MySQL(backend) • Server – Apache, MySQL Server • Software used – xampp, Atom Hardware Requirements: • RAM – 1GB • Hard Disk – 256MB Software Requirements: • Operating System - Any • Browser - Any
  • 5.
  • 6.
  • 7.
    DATABASE DESIGN TABLE DESCRIPTION USERTABLE THEATRE TABLE SCREENING TABLE
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.
  • 18.
  • 19.
  • 20.
  • 21.
  • 22.
  • 23.
    INTERFACE DESIGN Add locationand add theatre pages
  • 24.
    INTERFACE DESIGN Add auditoriumand add screening pages
  • 25.
    COST BENEFIT ANALYSIS FUNCTIONPOINT ANALYSIS According to the formula, FP = UFP*TCF From the Data Flow Diagram, no. of inputs=7 no. of outputs=6 no. of inquiries=2 no. of files=2 no. of interfaces=1  UFP=7*4 + 6*5 + 2*4 + 2*10 + 1*10 = 96  TCF= (0.65 + 0.01*42) = 1.07 FP = 96*1.07 = 102.72
  • 26.
    COST BENEFIT ANALYSIS(CONTD.) COCOMO(CONSTRUCTIVE COST ESTIMATION MODEL) The multiplier values based on the factors are below:-
  • 27.
    The EAF valuefor the project based on these factors is, 1.05. The project size is 2.4KLOC which is < 50KLOC, hence project falls under organic type. So, Effort, E = 3.2 × (2.4)1.05 × 1.05 PM = 8.42 PM.  Development time, D = 2.5 × (8.42)0.38 Months = 5.6 Months.  Average staff size = E/D persons = 1.5 persons.
  • 28.
    TESTING TESTING USING TEST-CASES TestTemplate – Module Name: Login Page Test Date: 05-05-2019 Case-Study:- Sr. no Input Parameters Datatype Expected output Actual output Remarks 1. Username Varchar user name user name Passed 2. Password Varchar password password Passed
  • 29.
    VALIDATION USING CONTROLFLOW GRAPH The code after numbering the executable line: <?php 1. if(isset($_POST['login-submit'])){ 2. require 'config.php'; 3. $mailuid = $_POST['mailuid']; 4. $pass = $_POST['pw']; 5. if(empty($mailuid) || empty($pass)){ 6. header('location:login.php?error=emptyfields'); exit(); } 7. else{ 8. $sql = "SELECT * FROM users WHERE uname=?"; 9. $stmt = mysqli_stmt_init($conn); 10. if(!mysqli_stmt_prepare($stmt,$sql)){ 11. header('location:login.php?error=sqlerror'); exit(); }
  • 30.
    12. else{ 13. mysqli_stmt_bind_param($stmt,"s",$mailuid); 14.mysqli_stmt_execute($stmt); 15. $res = mysqli_stmt_get_result($stmt); 16. if($row = mysqli_fetch_assoc($res)){ 17. $pwdCompare = password_verify($pass,$row['pwduser']); 18. if($pwdCompare==false){ 19. header('location:login.php?error=wrong_password'); exit(); } 20. else if($pwdCompare==true){ 21. session_start(); $_SESSION['lastActivity'] = time(); $_SESSION['userid'] = $row['uid']; $_SESSION['username'] = $row['uname']; 22. if(isset($_POST['uri'])){ 23. header('location:'.$_POST['uri']); } exit(); } 24. else{ 25. header('location:login.php?error=wrong_password'); exit();
  • 31.
    } } 26. else{ 27. header('location:login.php?error=nousers'); exit(); } } } } 28.else{ 29. header('location:login.php'); 30. exit(); } ?>
  • 32.
  • 33.
    The cyclomatic complexity, V(G)= E – N + 2 = 35 – 30 + 2 = 7. V(G) = P + 1 = 6 + 1 = 7. V(G) = R + 1 = 6 + 1 = 7.
  • 34.
    FUTURE SCOPE • Thisproject we have carried out was a learning curve for us in development of such systems. In the future we shall add more features and functionalities maintaining software engineering principles • Add searching function to allow users to search movies, or theatres, or locations • Allow users to rate movies after watching them in the theatre • Allow users to add comments and subsequent replies to comments to facilitate word of mouth • Different dynamic interfaces for different mobile devices of different sizes
  • 35.
    CONCLUSION • This projecthas been developed successfully and the performance of the system has been found satisfactory. Use of this interface helps customer in having immediate information about running movies and reserve their seat without wasting their precious time. User friendly Interface also for the admin to add and delete movie information. Thus, we may conclude that:- • This project is basically made for providing the customer anytime and anywhere service for booking cinema tickets and providing information about the movies and their schedule online. • Admins can use this project to insert and delete data such as movie description, movie schedule which will update the related webpage and will be accessible by the customers. • This system is basically aimed to provide complete information of the movie and schedule to the customer, according to which he can book the tickets.