[go: up one dir, main page]

0% found this document useful (0 votes)
336 views2 pages

NewProgramTest P3

The document provides instructions for Part 3 of a programming test using the Zoop framework. Candidates are to build a signup page that accepts form data, writes it to a text file, and displays a success message. The page should be added to the Zoop skeleton and use Smarty templates, CSS styling, and PHP functions as demonstrated previously. When complete, the candidate should email their code and a time tracking text file to the specified addresses.

Uploaded by

Sharkrit
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
336 views2 pages

NewProgramTest P3

The document provides instructions for Part 3 of a programming test using the Zoop framework. Candidates are to build a signup page that accepts form data, writes it to a text file, and displays a success message. The page should be added to the Zoop skeleton and use Smarty templates, CSS styling, and PHP functions as demonstrated previously. When complete, the candidate should email their code and a time tracking text file to the specified addresses.

Uploaded by

Sharkrit
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

ZNZNZ Programming Test – Part 3

1. The purpose of this programming test is for you to demonstrate your programming abilities and
your ability to use various website technologies. Obviously this test will not be comprehensive to
show all of your skills, but should allow you to demonstrate some of your skills.

2. For this part 3, we will extend what you did in Part 2. Your assignment is to build the page that is
show below.

3. Using the Zoop Skeleton that you have installed, create the ZNZNZ page shown below. Your page
does not have to look exactly like this page, but it should be fairly close. To build the page on the
Zoop Skeleton please use the following:
a. Create a new page called Signup. You will need to insert the code for the new page in a
function called pageSignup ( ) in the zone_default.php file.
b. Default page – the page you programmed for Part 1. Make a hotlink on the “Join Now” to go to
the signup page.
c. Signup Page: This page has a simple signup form as shown below. Accept the data from the
form and just write it out to a text file in a local file. Then just display the same page, but with
the message “You have Successfully joined ZNZNZ” To do this --> In the default.php file, you
will have to write a new function called postSignup ( ) to handle the posting of the form. In the
form use the following form heading <form method=”post” > and zoop will automatically
execute postSignup ( ) within default.php when the form is submitted.
d. As you did with Part 2 , use the Zoop Framework
i. Put your main PHP logic in the pageSignup ( ) function of default.php as shown in the
tutorial to display the GUI template.
ii. Use CSS style sheets to style your page. Put your style sheet in ../skeleton/public/resources/
css/yourStyleSheet.css as shown in the Zoop Skeleton example that you downloaded.
iii. Format your static page using Smarty templates as shown in the example. Put your template
in ../skeleton/templates/default/yourHTMLTemplate.tpl as shown in the Zoop Skeleton
example that you downloaded.

4. When your code is ready, send an email to Sharkrit Impat <sharkrit@msn.com> with CC to Dr.
Jackson <rbj2020@msn.com> . Attach a zip file that contains.
a. Your default.php
b. Your templates/default/--.tpl files,
c. Your public/resources/css/--.css files
d. Your public/resources/images/--.png files

5. Please also upload a file (yourname.txt) showing the amount of time you spent on each of the
following. Also in that file you may make any comments or suggestions that you may have.
Upload this file to your directory location when you upload the code.
a. Learning how Zoop works -- ________hours
b. Creating your graphics -- ___________hours
c. Creating the CSS sheets -- ____________hours
d. Creating the template pages -- ____________hours
e. Coding PHP5 -- __________hours
f. Testing and debugging -- ___________hours

You might also like