Note: While you have a little more time to work on this assignment, there will be additional assignments at the same time. Use your time wisely, and don't wait until the last minute to work on this.
Complete the student-course web site we started in class. The main
index.php
should contain the items below that users click
on to get information.
Each feature in your website should generate a nicely formatted table. Clicking on the heading for any column should allow the table to be sorted in ascending order on that column. Clicking on the same column again should cause the table to sort in descending order on that column. Every subsequent click should toggle the sorting order. This sorting functionality is achievable via PHP and SQL; there is no need to use JavaScript do this. (We will cover JavaScript next in class and see how this sort of sorting can be done dynamically.)
createdb.php
file linked from your
index.php
page that is capable of creating the needed
tables and inserting the data. A database named hw3
will
be provided for you.
In addition to the files required by the parts above (at least 2 PHP files [you definitely want more than that for a full grade!] and supporting resources), submit a text file named references.txt. In this file, provide a citation for each resource you used (excluding class notes, and assigned readings) to complete the assignment. For example, if you found a Stack Overflow answer helpful, provide a link to it. Additionally, provide a brief description of how the resource helped you. Your file should look something akin to:
uvaid: mst3k
http://www.w3schools.com/bootstrap/bootstrap_ref_comp_glyphs.asp
Helped me to use a glyphicon correctly.
Also provide a readme.txt file that includes your UVA computing ID and directions identifying which files are associated with each part of the assignment. Additionally respond to the following prompts:
Your readme should have a format similar to:
uvaid: mst3k
Homework 3
index.php -> this is the main PHP file
Additional resources include: view.php, model.php, ...
Answers to questions
Make a zip archive named with your UVA computing ID and "hw3" that
includes all of the required files (zip -r [zipfile.zip]
[directory_to_zip]
). Upload this to the submission
website.
Remember, you may upload your submission multiple times. Try this before the deadline so that there is time to recover from any technical difficulties.