
This is my portfolio/landing page for this semester's CPT283 course at Greenville Technical College in Greenville, SC.
Build the Product Discount application This lab introduces $_POST arrays to receive and work with user input data.
Enhance the Future Value application This lab introduces input data validation, error messages, and the PHP date() function.
Enhance the Product Manager Application This lab introduces the process of connecting SQL database management with the PHP backed and HTML webpage code.
Enhance the Guitar Shop application This lab introduces the MVC pattern to organize code.
Trace with echo statements This lab practices using 'echo' statements to trace the execution of code.
Get input and display output This lab uses forms with a variety of controls to get and display data.
Enhance the Future Value application This lab demonstrates the use of drop-down boxes in web forms.
Use if and switch statements This lab uses if and switch statements with conditional expressions to calulate discount percentages.
Use loops This lab uses for loops to calculate numbers and to populate drop-down lists.
Write code that works with strings This lab normalizes, formats, and validates string data from user input..
Write code that works with numbers This lab normalizes, formats, and validates numeric data from user input.
Write code that works with dates This lab receives, formats, and calculates due dates as DateTime objects.
Work with arrays This lab uses array creation and manipulation to set, unset, modify, and rearrange a task list.
Modify the Shopping Cart application This lab uses $_SESSION variables and setcookie() to manage the user session.
Improve the Task List Manager application This lab uses session variables to story user data instead of hidden fields..
Modify the Shopping Cart application This lab uses a namespace. functions, and an array to operate the shopping cart.
Modify the Product Manager application This lab uses classes and objects to construct the Guitar Shop catalog from Lab 5.
Modify the Registration application This lab uses regular expressions to validate data from user input forms.
Improve the Product Manager application This lab implements a Validate class to validate user input.
SQL Database Design This lab creates UML charts for three databases.
Link to project index page.
Preliminary outline showing the MVC pattern planned, and the names of key pages and functions
Preliminary setup for the MySQL database
Connect database to a PHP program. This demonstrates the database connection and pulls test data for display.
Interface to add records. This uses a text input form to add a new vehicle record to the database.
Interface to edit/update records. This queries the database for current data, and then sends an update based on user input.
Navigation and Interface Enhancements: report
Interfaces to all database tables: report.
State of the project, next steps, and future plans.
Added admin login (cpt283/webapps) with PHP $_SESSION variables.
Added custom error messages when adding or editing data for vehicles, fuel, maintenance, and maintenance types.
Added a delete button for each record -- with confirmation, a success alert message, and a redirect.