Online Movie Ticket Booking System: 1. Requirement Gathering/Analysis
Online Movie Ticket Booking System: 1. Requirement Gathering/Analysis
1. Requirement Gathering/Analysis:
Customer (C. ID, C. Name. C.phone no, C. Email)
Employees (E. ID, E. Name, E. phone no, E. Address, E. Email)
Theater (T.name, T.id, T.location)
Tickets (Ticket no, Seat no, Show id, Show date, Price, Hall no)
Show (S.id, St_timing, End timing, S_Language)
2. Conceptual design:
Customer
Employee
Show
Tickets
3. Logical design:
Customer Employee
C. ID :
C. Name: E. ID
C. phone no: E. Name
C. Email: E. phone no
E. Address
E. Email
Tickets Show
S.id
Ticket no St_timing
Seat no End timing
Show id S_Language
Show date
Price
Hall no
4. Schema Refinement
Customer Employee
C. ID : num
C. Name: text E. ID: num
C. phone no: num E. Name: text
C. Email: text E. phone no: num
E. Address: text
E. Email: text
Tickets Show
S.id: num
Ticket no: num St_timing: num
Seat no: num End timing: num
Show id: num S_Language: text
Show date: num
Price: num
Hall no: text
6. Security design:
Read and write Read only Read
only
Employee
Customer
C. ID : num E. ID: num
C. Name: text E. Name: text
C. phone no: num E. phone no: num
C. Email: text E. Address: text
E. Email: text
Tickets Show
S.id: num
Ticket no: num St_timing: num
Seat no: num End timing: num
Show id: num S_Language: text
Show date: num
Price: num
Hall no: text
7. Data Population:
Static:
Customer(C-ID)
Employees (E-ID)
Theater (T-ID)
Ticket (Ticket no)
Show (s_ id)
Movie (M_id)
Dynamic:
Customer (F-Name, L-Name, C.phone no, C. Email)
Employees (F-Name, L-Name, E. phone no, E. Address, E. Email)
Theater (T.name, T.location)
Tickets (Seat no, Show date, Price, Hall no)
Show (St_timing, End timing, S_Language)
Movie (M.id, M.name, M.rating, M.genre, Cbfc_rating)
Normalization (1NF, 2NF, 3NF):
CUSTOMER: (1NF, 2NF)
C-ID F-Name L-Name phone no Address Email
CUSTOMER: (3NF)
C-ID Contact Address Email
Employees :( 3NF)
C-ID Contact Address Email
Theatre: (3NF)
T.id T.location
7890 Defense
6785 Sadar
Tickets: (3NF)
Seat no Show date Hall no
123 12-4-18 4
234 2-5-18 3
Show: (1NF, 2NF)
St_timing End timing S_Language
12 3 English
9 12 English
Show: (3NF)
St_timing End timing
12 3
9 12
Movie :( 1NF)
M.id M.name M.rating M.genre Cbfc_rating
234 Reborn 4/5 Sci-fi 10/10
445 Source code 4/5 Sci-fi 8/10