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 project7.zip and unarchive the files inside your web server document root directory.
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.
Then, edit the file project7/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 project7 directory to support the following operations:
Use the form below to submit your zipped project7 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: 04/17/2016 by Leonidas Fegaras