Giter Club home page Giter Club logo

roxy's Introduction

Usage Highlights

  • Movies have 2 visibility/display options Current or Hidden
  • Coming Soon is calculated automatically based on release date
  • Add new movies with visibility Current
  • Hidden is for future movies with not enough info to display yet, or if you want to hide a past movie altogether
    But this is unnecessary as movies with no current showtimes aren't displayed

Notes

  • I use PHP to upload image files straight to a server. With a develop & live copy of the site, the images must be added (committed) to git from the live site (or already be on develop). Otherwise making changes to develop & pulling to live will remove any new images or changes from the live site.
  • I didn't implement the $databaseSuccess validation for php mysql forms on the admin edit.php and index.php pages in the magic/ folder. I felt it wasn't really needed.
  • W3 Schools Uploading images tutorial
  • I had problems with PHP not allowing Array constant
  • There's the potential to make tblShowtimes NOT have auto-increment primary keys, but it requires a lot of info to make a showtime unique. Currently you can add 2 "identical" showtimes for the same movie, with the same time, post date, expiration date & dimension. This is due to the auto-increment keys & no checks for duplicate times. However I didn't feel it was necessary, as they would soon see 2 identical times appear on the site.
  • There may still be some lingering LEFT JOIN's for tblPictures from when I allowed pictures to be optional. Now with the file uploads they're required, but the LEFT JOIN's don't seem to break anything (for now)
  • Some images still don't seem to upload even though they shouldn't be too big. I couldn't fix it with the .htaccess file as suggested on stack overflow post 1 or post 2

Potential Improvements

  • CSS mobile responsive, especially header.php on small screens
    Some transition issues in IE when page grows/shrinks
  • Jquery/ajax to validate date, update showtime expiration 6 days later when changing post date

roxy's People

Contributors

sleekpanther 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.