Download presentation
Presentation is loading. Please wait.
Published byEileen McDonald Modified over 9 years ago
1
Dr. Venton Kepuska Donald L. Troup
2
Dynamic Web Calendar 1234 567891011 12131415161718 19202122232425 2627282930
3
Purposes Personal Organization Scheduling Increased productivity Small buisnesses Flexibility
4
Technology XHTML, Extensible Hyper Text Markup Language PHP, Hypertext Preprocessor MySQL Server Databases Tables
5
Implementation HTML pages: Login.html Newuser.html Login.html Simple log in form Checks for valid accounts Link to Newuser.html
6
Implementation Newuser.html Form Gathers information to POST to Newuser.php Register new user ○ Username ○ Password
7
Implementation PHP pages: Newuser.php Homepage.php Add.php Calendar.php Delete.php
8
Implementation Newuser.php Creates 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
9
Implementation Homepage.php POST information sent from login.html to verify a valid user using a rowCheck Displays 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
10
Implementation Various print statements set a form method for each option and post to their corresponding pages ○ Add.php ○ Delete.php ○ Calendar.php
11
Implementation Add.php POST to user’s database table to insert a date into relevant fields Confirmation of successful POST Delete.php POST to user’s database removing data from selected date Confirmation of removal
12
Implementation Calendar.php Longest file of the application Contains all algorithms for successfully setting up a calendar with days in correct spots Contains 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
13
Implementation
14
Conclusion Very difficult coding for calendar Good base application available for more development Employs most skills learned over the semester Fun application
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.