dr. venton kepuska donald l. troup. dynamic web calendar 1234 567891011 12131415161718...
TRANSCRIPT
ECE 3553 MULITFARIOUS
SYSTEMS
Dr. Venton Kepuska
Donald L. Troup
Dynamic Web Calendar
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30
Purposes
Personal Organization Scheduling Increased productivity Small buisnesses Flexibility
Technology
XHTML, Extensible Hyper Text Markup Language
PHP, Hypertext Preprocessor
MySQL Server DatabasesTables
Implementation
HTML pages:Login.htmlNewuser.html
Login.htmlSimple log in formChecks for valid accountsLink to Newuser.html
Implementation
Newuser.htmlFormGathers information to POST to
Newuser.phpRegister new user
○ Username○ Password
Implementation
PHP pages:Newuser.phpHomepage.phpAdd.phpCalendar.phpDelete.php
Implementation
Newuser.phpCreates a query to add a new user to the
system○ Username○ Password
Also creates a database table named after the username○ Contains date_id, month, day, year and
description fields for the table
Implementation
Homepage.phpPOST information sent from login.html to
verify a valid user using a rowCheckDisplays 3 options for the user to interact
with the calendar○ Add an Event○ Delete an Event○ View Calendar○ Also prints a table with all events registered
for that user
ImplementationVarious print statements set a form method
for each option and post to their corresponding pages○ Add.php○ Delete.php○ Calendar.php
Implementation
Add.phpPOST to user’s database table to insert a
date into relevant fieldsConfirmation of successful POST
Delete.phpPOST to user’s database removing data
from selected dateConfirmation of removal
Implementation Calendar.php
Longest file of the applicationContains all algorithms for successfully setting up
a calendar with days in correct spotsContains php function getdate() to pull data from
browser to help facilitate construction of the calendar
Uses Gaussian algorithm to determine the day of week for any particular date
Also uses a POST to get event dates from user’s table and apply style to calendar highlighting which days contain an event
Implementation
Conclusion
Very difficult coding for calendar Good base application available for
more development Employs most skills learned over the
semester Fun application