User Tools

Site Tools


eg-259:cw2

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
eg-259:cw2 [2008/11/20 10:27] eechriseg-259:cw2 [2012/03/14 08:32] (current) eechris
Line 1: Line 1:
 ====== Coursework 2: Server-Side Programming ====== ====== Coursework 2: Server-Side Programming ======
  
-**Formally issued on**: Thursday 20th November2008.+**Formally issued on**: Wednesday 14th March2012.
  
 **Lecturer**: [[C.P.Jobling@Swansea.ac.uk|Dr Chris P. Jobling]]. **Lecturer**: [[C.P.Jobling@Swansea.ac.uk|Dr Chris P. Jobling]].
  
-**Due date**: Start of the final lecture on Thursday 11th December2008.+**Due date**: Start of the final teaching session on Thursday 26th April2012.
  
  
Line 13: Line 13:
 ===== The Exercise ===== ===== The Exercise =====
  
-  * Write a PHP document to generate a web form (in valid XHTML 1.1) that collects favourite popular songs, including the name of the songthe composer, and the performing artist or group. This form must call one PHP script when the form is submitted and another to request a current list of survey results+  * Write a PHP document to generate a web form (in valid HTML5) that collects your favourite films, including the title of the filmits director, and one or more of its stars, your rating (out of 5) and a mini review. This form must call one PHP script when the form is submitted and another to request a current list of favourited films
   * Write a PHP script that collects the data from the form of Exercise 1 and writes it to a file.    * Write a PHP script that collects the data from the form of Exercise 1 and writes it to a file. 
   * Write a PHP script that produces the current results of the survey of Exercise 1.    * Write a PHP script that produces the current results of the survey of Exercise 1. 
  
-//Hint//: As you have not done any PHP yet, mock up the application in XHTML first!+//Hint//: As you have not done any PHP yet, mock up the application in HTML first!
  
 ===== Submission Details ===== ===== Submission Details =====
  
-You should submit a copy of your PHP scripts packaged in a single zip file ''student_id.zip'' (Windows Compressed Folder) and sent to me via email. You may assume that I will test the scripts by installing the PHP scripts at server location ''/student_id/''. I would appreciate it if your zip file followed this convention. However, your scripts should use relative addressing and you should  +You should submit a copy of your PHP scripts packaged in a single zip file ''student_id.zip'' (Windows Compressed Folder) and sent to me via email. You may assume that I will test the scripts by installing the PHP scripts at server location ''/student_id/''. I would appreciate it if your zip file followed this convention. However, your scripts should use relative addressing and you should not assume anything about where your application will be installed. Avoid the use of absolute URIs in the ''action'' attribute in any forms and ''href'' attribute in any anchors. CSS styling and JavaScript is not required, but if provided, the files must be external and located in the same folder as the PHP files, or in suitably named subfolders (e.g. scripts, style, images, etc). Use relative addressing in the associated ''<img>'', ''<link>'' and ''<script>'' tags.
-not assume anything about where your application will be installed. Avoid the use of absolute URIs in the ''action'' attribute in any forms and ''href'' attribute in any anchors. CSS styling and JavaScript is not required, but if provided, the files must be external and located in the same folder as the PHP files, or in suitably named subfolders (e.g. scripts, style, images, etc). Use relative addressing in the associated ''<img>'', ''<link>'' and ''<script>'' tags.+
  
  
eg-259/cw2.1227176871.txt.gz · Last modified: 2011/01/14 12:27 (external edit)