PHP ?Online Contacts Directory Program Online Contacts Directory For this project you need to design and implement an online contacts directory that can be

PHP ?Online Contacts Directory Program Online Contacts Directory For this project you need to design and implement an online contacts directory that can be used to retrieve different types of contact information including phone number(s) and address data. This directory may prove beneficial as once it is available on the web, you can access this information from any net enabled device. In addition, as you may get new or updated information on a contact while away from your home computer, having the ability to add new contacts or update existing contacts wherever a net enabled is available may also prove beneficial. Similar applications to this are Google Contacts, iCloud Contacts, and Microsoft Office 365 Online Contacts Directory
For this assignment you need to design and implement an online contacts directory that can be used to
retrieve different types of contact information including phone number(s) and address data. This directory
may prove beneficial as once it is available on the web, you can access this information from any net
enabled device. In addition, as you may get new or updated information on a contact while away from
your home computer, having the ability to add new contacts or update existing contacts wherever a net
enabled is available may also prove beneficial. Similar applications to this are Google Contacts, iCloud
Contacts, and Microsoft Office 365.
Design Requirements
You should create an online contacts directory application that saves entries to a single text file. Include
standard contact directory fields in the text file such as first name, last name, email address, phone
number, street address, city, state, and zip code. You will want to plan how to save this data to the file for
easy retrieval. Hint: Your textbook may provide helpful insights.
As part of your application, one web page will serve as a main “directory,” where you can search and
retrieve records along with a document that allows you to add contacts. You should have another web
page that you can use to edit contacts. All pages should allow the user to return to the main “directory”.
Below is an example of the main “directory” output you should have before formatting:
???
Online Contacts Directory
Q Search Google or enter an address
? Reader
Online Contacts Directory
Search for a Contact
First Name Daniel
Last Name Garrison
Search
Add New Contact Entry
Whether a user is searching, adding a new entry, or updating an existing contact you should verify that
they have entered a value in each field. If the have not, then you should indicate this to them via server-
side scripting. When an entry has been successfully saved or updated then you should tell the user. If a
search, save, or update was not successful then you should indicate this to the user. You should also
alert the user if the text file containing the contacts does not exist.
On the next page is an example of one of the error outputs you should have before formatting:
OOO
Online Contacts Directory
+
Q Search Google or enter an address
? Reader
You must enter a value in each field. Click your browser’s Back button to return to the form.
Return to Directory
On each entry form, the state field must be set up using a drop-down list as shown in the
example diagram. In addition, the update page must pre-select the state previously saved along with pre-
filling all the other fields with the values previously saved.
Below is an example of the edit entry and add entry output you should have before formatting:
Online Contacts Directory
Q Search Google or enter an address
? Reader
First Name Daniel
Last Name Garrison
Email Address dgarriso@gmu.edu
Phone Number 856-555-1212
Address 12 West Ave
City Westover
State
Alabama
• Zip NJ
Update Entry
Return to Directory
???
Online Contacts Directory
+ Q Search Google or enter an address
? Reader
New Contact Entry
First Name Grace
Last Name Wu
Email Address gwu@gmu.edu
Phone Number 703-555-1212
Address 4400 University Dr
City Fairfax
State Virginia
• Zip 22030
Add Entry
a few moments as other updates are being performed. Constants should be used for values that do not
change, and variables for values that change during the course of execution. You should include Last
Modified Date information on your page. This should be provided dynamically by using the built-in
date () function within the getlastmod () function.
At the point of final submission, your application should be laid out in the Lab Content area of your web
site. When laying out your web page, you should retain the common navigation and structural
components (header and footer) of your website even though not shown in the image. This will require
you to incorporate the SSI file references in this lab assignment as you did on previous the lab
assignment. SSI files should not be moved but rather you should provide the path to their original file
location. The common navigation and structural components should present visual continuity across all
the web pages of your website and should not shift at all when going from web page to web page. In
addition, while the image does not demonstrate this, you need to include a working link on each page to
get back to your home page. Each page of the assignment should load into the Lab Content area only.
For the main “directory” page, you should use a file name that will automatically load when a user
specifies only the folder name in the URL. The file should be uploaded to your Lab Assignment 3
directory. Your XHTML file should be well-formed and created using a strict XHTML DTD. You can
create the web page using any text editor (Microsoft Notepad, RogSoft Notepad+, Adobe Homesite, etc)
that is not WYSIWYG capable (Adobe Dreamweaver, Microsoft Word, etc).
You should use XHTML for the content of all pages and CSS for the stylizing and positioning of each of
the pages. Using an external .css file, add formatting of your choice to make the output more
aesthetically pleasing. These styles should be implemented as part of the early submission points. While
you should continue to use the external CSS you created for your home page, you should not modify or
update the file. Your new CSS file should not conflict or modify the layout and positioning of earlier lab
assignments.
Approach
For the first submission point, create a simple XHTML page for all the pages of the online contact
directory. These pages contain no PHP however some of them will have forms that submit to a separate
.php script files. Create a text file with starting records that correspond to the order of the form fields for
contact names, addresses, etc.
After creating the non-PHP XHTML pages, you may want to start by determining, coding, and validating
the.php files using XHTML (and absent of any CSS). You can simply assign a record to an array for
early functional testing. As part of this, and after the first submission point, begin to populate these arrays
with the contents of the file instead. Add the ability to write to the file. Once working like the output given,
you can begin adding the CSS formatting. Finally, validate all the pages and correct any ill-formed tags
where necessary.
Submission
You will need to upload these web/script pages and CSS file to your Lab Assignment 3 directory within
your Zeus/Helios server space, while keeping the original SSI and CSS files in their original file location.
Verify that all the uploaded pages work in the browser, as this is what will be used for grading. Also for
each submission point, you must submit all the files you create to the appropriate Assignment drop box
on Blackboard.
1
Notables
Remember that the lab assignment must clearly display your name in the interface (if any) and be
commented with your name in all files.
Try to be consistent in the naming of your files as this will help you later on.
Feel free to use your book and notes for general information on these technologies.
If need be, for reference material on HTML, you may want to visit http://w3schools.com/html/ which
we discussed in class.
1
For reference material on CSS, you may want to visit http://w3schools.com/css/ which we discussed
in class.
For reference material on PHP, you may want to visit http://php.net which we discussed in class.
Websites other than those provided in this lab should not be utilized.
Just a reminder… this is individual work so while you can provide general assistance to other
students while in the lab class, you should not work together or give solutions. Assistance provided
to others while outside the lab class should only be through the use of the discussion forums.
a.
General Requirements (54 points)
Saves entries logically to a single text file [2]
b. Add and update forms contain first name, last name, email address, phone number, street address,
city, state, and zip [1] *
Contains a main “directory” page that successfully allows you to search and retrieve a contacts
information [7]
d. Contains an add contact page that successfully allows you to enter and write a new contact to the text
c.
file [5]
e.
f.
k.
m.
n.
o.
p.
Contains an update contact page that successfully overwrites the old entry in the text file with the new
information [6]
All pages allow the user to return to the main “directory” page [1] *
g. When searching, adding, or updating contact information, a server-side alert is given if all fields are
not populated [2]
h. The user is alerted when a new entry or update has been successfully saved [2]
i. When searching, adding, or updating contact information, an alert is given if not successful [2]
j. User is alerted if the directory text file does not exist [1]
When adding or updating, a fully populated drop-down list is used for the state field [2] *
I. When updating, all fields including the state are correctly pre-filled/pre-selected [4]
All pages are locked when writing [2]
The user is alerted to try again if lock was unsuccessful [1]
Constants used for values that do not change and variables used for values that do change [1]
Correct calculation, format, and display of emphasized Last Modified using the date () and
getlastmod() function in the 22:41 Oct 10, 2017 EST format [1] *
9. Common navigation and structural components are included using original SSI file locations [1] *
Working link to home page exists [1] *
Navigation and structural components are well aligned and do not shift when loading home page [1] *
Output includes content presented in screenshot [1]
File has a .php extension, utilizes PHP, and is created using a text editor rather than a WYSIWYG
capable editor [1]
Utilizes XHTML for content and only external.css sheet(s) for stylizing and positioning to create
output more aesthetically pleasing than screenshot given [2]
Uploaded to Blackboard and a Lab Assignment 3 directory in the IT207 directory on the student’s
Zeus/Helios account [1] *
Uses a filename that loads by default when selecting the home page lab assignment link and loads in
the Lab Content area of the home page [1] *
y. Created using a text editor rather than a WYSIWYG capable editor [1] *
Is well-formed and validated using the strict DTD [1]
aa. Layout and stylization is provided solely using a new, additional external CSS file [1] *
bb. Files are only incorporated after the first submission [2]
r.
S.
t.
u.
V.
w.
X.
Z.

Purchase answer to see full
attachment

Don't use plagiarized sources. Get Your Custom Essay on
PHP ?Online Contacts Directory Program Online Contacts Directory For this project you need to design and implement an online contacts directory that can be
Just from $13/Page
Order Essay
Homework On Time
Calculate the Price of your PAPER Now
Pages (550 words)
Approximate price: -

Why Choose Us

Top quality papers

We always make sure that writers follow all your instructions precisely. You can choose your academic level: high school, college/university or professional, and we will assign a writer who has a respective degree.

Professional academic writers

We have hired a team of professional writers experienced in academic and business writing. Most of them are native speakers and PhD holders able to take care of any assignment you need help with.

Free revisions

If you feel that we missed something, send the order for a free revision. You will have 10 days to send the order for revision after you receive the final paper. You can either do it on your own after signing in to your personal account or by contacting our support.

On-time delivery

All papers are always delivered on time. In case we need more time to master your paper, we may contact you regarding the deadline extension. In case you cannot provide us with more time, a 100% refund is guaranteed.

Original & confidential

We use several checkers to make sure that all papers you receive are plagiarism-free. Our editors carefully go through all in-text citations. We also promise full confidentiality in all our services.

24/7 Customer Support

Our support agents are available 24 hours a day 7 days a week and committed to providing you with the best customer experience. Get in touch whenever you need any assistance.

Try it now!

Calculate the price of your order

Total price:
$0.00

How it works?

Follow these simple steps to get your paper done

Place your order

Fill in the order form and provide all details of your assignment.

Proceed with the payment

Choose the payment system that suits you most.

Receive the final file

Once your paper is ready, we will email it to you.

Our Services

No need to work on your paper at night. Sleep tight, we will cover your back. We offer all kinds of writing services.

Essays

Essay Writing Service

You are welcome to choose your academic level and the type of your paper. Our academic experts will gladly help you with essays, case studies, research papers and other assignments.

Admissions

Admission help & business writing

You can be positive that we will be here 24/7 to help you get accepted to the Master’s program at the TOP-universities or help you get a well-paid position.

Reviews

Editing your paper

Our academic writers and editors will help you submit a well-structured and organized paper just on time. We will ensure that your final paper is of the highest quality and absolutely free of mistakes.

Reviews

Revising your paper

Our academic writers and editors will help you with unlimited number of revisions in case you need any customization of your academic papers