Skip to content

A web front-end for a movies database of two related tables, 'Movie' and 'Actor'; I used php, html, css, javascript and sql to develop and design the interface.

Notifications You must be signed in to change notification settings

Tanaya-27/movie-data-front-end

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 

Repository files navigation

Front-end for a movie database

A web front-end for a movies database of two related tables, 'Movie' and 'Actor'; I used php, html, css, javascript and sql to develop and design the interface.

This is a skeleton front-end with the usernames/passwords/hosts replaced with a placeholder, but demonstrations can be seen below.

The Purpose:

Having previously set up a database to hold information about film – including a Movie and an Actor table – a suitable website is necessary to navigate and update the data:

Movie(mvID, actId, mvTitle, mvPrice, mvYear, mvGenre)
Actor(actID, actName)

image

In the tables ‘Movie’ and ‘Actor’, the primary keys are mvID and actID respectively. actID is also a foreign key in the movies table, representing a one-to-many relationship between them (since one actor can appear in many movies, while in this case each movie can have at most one actor). The database, as declared above, might hold a large number of records (many of which will be linked) and so suitable functionality to search, add, and delete records without the need to type SQL statements each time will make the database overall more manageable.

Features

  • HTML to create the webpage itself

  • CSS to handle the style and layout (including font, background, colour cheme, images) of the webpages

  • JavaScript for form validation as well as a "hide bar" function

  • PHP to collect inputs from the html form and connect to the database1 with them, performing various database operations with SQL

Footnotes

  1. Specific database details and passwords have been replaced with placeholders for this demonstration of the project, which is therefore a skeleton front-end - the system works with a mysql database with the above descriptions.

About

A web front-end for a movies database of two related tables, 'Movie' and 'Actor'; I used php, html, css, javascript and sql to develop and design the interface.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published