POTD 5: Database Interfacing

Due 21-Mar-2024 23-Mar-2024, 12pm/noon EST

Purpose: Hands-on experience with database interfacing, using PHP and PDO to manipulate the database

Please note: This exercise focuses on making a web application interact with a database. For the fundamental concepts of web development, please refer to CS 4640 (Web Programming Language).

You may work individually or with your project team member(s). In this activity, you will be exposed to simple web programming. This activity provides an overview of database programming, a very brief introduction to HTML, CSS, and PHP; as well as web deployment. Please note: our focus is on the database part, not the web programming part.

The intention of this activity to help you get started with your project (if you plan to develop a web app using PHP). If you are already familiar with HTML, CSS, and PHP, feel free to use this activity to refresh your memory or simply do it for fun. If you do not plan to develop a PHP project, you may do this activity using any language of your choice.

Overall, you will

  1. Understand how database programming works in general (overview)
  2. Understand how web programming works in general. (Here is a very brief intro)
  3. Prepare your database
  4. Write a small web program to interact with your database

For this POTD, there are three options. Complete at least one option.


You may use a template (template.zip) as a starting point or create a PHP program from scratch. You will implement a PHP program to:

Example screen is shown below

sample maintenance request screen for potd5


Optional:

You may modify your interface the way you like. Get creative. Feel free to add additional elements you feel should be included and have fun!


To deploy and test your program



Grading rubric

[Total: 10 points]: Done (or provide evidence of your attempt, full or reasonable effort)

[20-Mar, updated]
(-2.5 points) for 24 hours late (submitted after 21-Mar-2024 12pm EST, by 22-Mar-2024 12pm EST)
(-5 points) for 48 hours late (submitted after 22-Mar-2024 12pm EST, by 23-Mar-2024 12pm EST)

(-2.5 points) for 24 hours late (submitted after 23-Mar-2024 12pm EST, by 24-Mar-2024 12pm EST)
(-5 points) for 48 hours late (submitted after 24-Mar-2024 12pm EST, by 25-Mar-2024 12pm EST)


Submission



Copyright © 2024 Upsorn Praphamontripong
Released under the Creative Commons License CC-BY-NC-SA 4.0 license.
Last updated 2024-03-15 18:23