ICS 325
Project: 2
Concept: Create
a Data Collection and Manipulation Site
Due:
Points: 50 points
Initial Project Plan Due September 14
Goals:
§
Create
a data entry screen that collects some data and user information.
§
Re-display
the data using a php script.
§
Store
all data to a flat text file.
§
Create
a password protected php script for viewing all the data previously collected.
§
Send
email via a php script
§
Use
php control structures such as if, while, for, foreach, etc.
§
Link
the project to your home page
§
Combine
PHP, XHTML, CSS and JavaScript scripts
§
Be
creative
Requirements:
1. User Interface (you may build on the user
interface you developed for project #1 or you may start something new):
Data Entry Screen:
§
User
name and age should be collected as well other data of your choice
§
At
a minimum the following list of form input fields must be used:
-
Selection
Box
-
Text
Box
-
Radio
Button
-
Check
Box
-
Submit
Button
§
All
fields must be clearly labeled on the screen
§
After
the user clicks on Submit, this data should be attractively re-displayed on the
screen in a different format. Use a php
script to do this.
§
Include
a Mail My Information link or button which will mail the current user’s
information to his or her email address.
Note: In order to do this, you
must allow the user to enter their email address.
Display All Customer Information Screen:
§
Include
a View All Customer Information button or link which, when clicked, moves the
user to a password protected customer information page. That is, after successful password entry a
list of all customer information previously collected should be displayed on
the screen. The customer information should be read from the customer data file. It should be displayed alphabetically by
customer’s last name.
§
Display
the total number of users whose information is stored in the file.
§
Display
the average age of the users.
General User Interface Comments:
§
The
web pages should be attractive and professional looking
§
The
project must be accessible through the link “Project 2” under your class home
page.
§
You
are encourage to use require() or include() to accomplish a consistent look and
feel throughout your website.
2. Implementation:
3. Other
requirements:
§
The
project should be accessed through the link “Project2” from your class home
page.
§
No
html files can be used with this project – all pages must be implemented using
php scripts.
§
Minimum
3 screens (2 or 3 php scripts)
§
No
Frames. Formatting (web design) should
be implemented using tables and forms
§
Use
JavaScript to verify that the data is in its correct form. That is, required fields are checked to make
sure they are not empty; numeric fields are checked to make sure they include
only digits, etc.
§
Add
comments to every file including name, date of creation, brief description of
purpose of the script
§
Use
functions as appropriate.
§
Implement
and use at least four style rules (CSS).
§
Put
the style rules in a separate CSS file.
§
Your
pages should all have the same look and feel.
Hand in:
Project Report Format
1. Cover
Page
2. Table of
Contents
3. Introduction
4. Project
Plan – first draft of project plan due NEXT WEEK
5. Program
Design
6. Test
Plan
7. Conclusion
8. Bibliography
– list of references and resources you used (books, articles, or websites)
9. Appendix