Giter VIP home page Giter VIP logo

film-rating-system's Introduction

CS143 Project 1 Spring 2017

1A

Here is the spec for Project 1A

Overview

  1. Create a few tables to contain information about movies and actors
  2. Load tables with (real) data that are provided by TA
  3. Run a few queries to get familiar with MySQL
  4. Create a php page that allows users to query your MySQL database using HTML forms
  5. Identify a few constraints that the tables should satisfy and enforce them for the tables

Files

  • create.sql
  • load.sql
  • queries.sql
  • query.php
  • violate.sql

1B

Here is the spec for Project 1B

Overview

Four input pages:
  1. Page I1: A page that lets users to add actor and/or director information. Here are some name examples: Chu-Cheng Hsieh, J'son Lee, etc.
  2. Page I2: A page that lets users to add movie information.
  3. Page I3: A page that lets users to add comments to movies.
  4. Page I4: A page that lets users to add "actor to movie" relation(s).
  5. Page I5: A page that lets users to add "director to movie" relation(s).
Two browsing pages:
  • Page B1: A page that shows actor information.
    • Show links to the movies that the actor was in.
  • Page B2: A page that shows movie information.
    • Show Title, Producer, MPAA Rating, Director, Genre of this movie.
    • Show links to the actors/actresses that were in this movie.
    • Show the average score of the movie based on user feedbacks.
    • Show all user comments.
    • Contain "Add Comment" button which links to Page I3 where users can add comments.
One search page:
  • Page S1: A page that lets users search for an actor/actress/movie through a keyword search interface. (For actor/actress, you should examine first/last name, and for movie, you should examine title.)
    • Your search page should support multi-word search, such as "Tom Hanks". For multi-word search, interpret space as "AND" relation. That is, return all items that contain both words, "Tom" and "Hanks". Since the search page is for actor/actress/movie, so if there was a movie named "I love Tom Hanks!", it should be returned. As for the output, you should sort them in a way that users could find an item easily.

Files

  • create.sql
  • load.sql
  • index.php
  • addActorDirector.php
  • addMovieActor.php
  • addMovieDirector.php
  • addMovieInfo.php
  • showActor.php
  • showMovie.php
  • search.php

film-rating-system's People

Contributors

appletreeisyellow avatar jingzizhang avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.