1.800.835.1228
Putting the Web to Work
HomeServicesClientsNewsAbout Us

Problem Set 2: Website Development in PHP or RoR

Requirements:

In this exercise, you will take the HTML/CSS markup included in the zip file (which you can download below), and build a functional website with 5 individual web pages.

You may use PHP or other scripting language. No database is needed for this exercise.

The common header and footer should be generated by an include file or a function. Please refer to New Circle PHP Development Guide.

Stylesheet and all images file are already included in the provided files.

  1. You will need to start from index.html and build nc_header(..) and nc_footer() functions in /php-functions.php so these two functions will generate the header and footer of the web pages
  2. Each page should have the corresponding navigation item highlighted (You may refer to the live website: http://www.andachicago.com)
  3. /index.php is already provided, which include how nc_header and nc_footer are called. You don't need to change /index.php. If your nc_header and nc_footer are defined correctly, the /index.php should work as is.
  4. Build /service/index.php and other pages in similar format as /index.php. Go ahead and pull content of each page from http://www.andachicago.com
  5. On the "Contact Us" page, please build a form similar to http://www.newcircleconsulting.com/about/contactUs.php. Required fields should be validated using Javascript. Upon form submission, an email should be sent to an email address and a thank you page is displayed.
Hints:

Pay attention to the details and treat your code as art.

Download:

Zip file [42KB] pset2.zip

PHP sample code is included in this Zip file. If you opt to use other programming languages, you will need to buid the pages with similar structure.

Deliverable:
  • /services/index.php
  • /clients/index.php
  • /about/index.php
  • /contact/index.php
  • /contact/thankyou.php

Compress all together, then submit.

Resources:

PHP documentation: http://www.php.net/docs.php

About NewCircle Consulting, Chicago-based web design and marketing support company, Chinese Translation, localization services
New Circle Blog

For current web technology discussion, reviews and ideas, please check out New Circle Blog.

Chicago Area Office: 4 E. Ogden Ave. #108, Westmont, Illinois 60559 :: 1.630.854.8867 :: info@newcircleconsulting.com
Home | Services | Clients | News | About Us | Contact Us