The goal of this project is to develop a photo-album application that uses cloud storage. More specifically, you will use the Dropbox API to create a photo album, in which you can upload, delete, and browse photographs.
This project must be done individually. No copying is permitted. Note: We will use a system for detecting software plagiarism, called Moss, which is an automatic system for determining the similarity of programs. That is, your program will be compared with the programs of the other students in class as well as with the programs submitted in previous years. This program will find similarities even if you rename variables, move code, change code structure, etc.
Note that, if you use a Search Engine to find similar programs on the web, we will find these programs too. So don't do it because you will get caught and you will get an F in the course (this is cheating). Don't look for code to use for your project on the web or from other students (current or past). Just do your project alone using the help given in this project description and from your instructor and GTA only.
You will develop this project on your PC/laptop using XAMPP and you will test it using using your Mozilla Firefox web browser. Download project8.zip and unarchive the files inside your web server document root directory. Note (11/30/2017): There is a new project8.zip file now that works correctly with the new Dropbox API.
This project must be done in PHP. Please look at Project 3 for links to PHP tutorials.
Your scripts must use the Dropbox API
to upload, delete, and retrieve photographs, and the PHP library
You will first need to create a Dropbox account and a Dropbox API app with both Files and datastores, which will have the App name: cse5335_xyz1234, where xyz1234 is your NetID.
Steps: go to My apps and push "Create app".
Select "Dropbox API" and "App folder", and name your app "cse5335_xyz1234", where xyz1234 is your NetID.
In the settings, add the URL https://localhost/project8/sample.php?auth_redirect=1 in the Redirect URIs part.
You also need to add album.php link too later. This page also gives you the App key and App secret (hidden).
Then, edit the file project8/sample.php and set the app_key and app_secret
to your Dropbox API key and secret.
You can test your setup on your web browser by using the URL address
Look at the code in sample.php; your album.php must have a similar authentication.
You will develop a trivial photo-album application on Dropbox. Your task is to modify your album.php script in your project8 directory to support the following operations:
Use the form below to submit your zipped project8 directory. You may submit your file as many times as you like, but only the most recently submitted file will be retained and evaluated.
Last modified: 11/28/2017 by Leonidas Fegaras