COAP:COAP-2100/week7: Difference between revisions

The educational technology and digital learning wiki
Jump to navigation Jump to search
Line 42: Line 42:


; Task
; Task
Create a PHP program that can process a quiz made with simple radio buttons. In addition it should include 1-2 text input fields that ask for a name
Create a PHP program that can process a simple quiz made with radio buttons. In addition, it should include 1-2 text input fields that ask for a name.


* You can reuse elements from the JavaScript (hw 6) exercise. You also could relate its topic to the term project.  
* You can reuse elements from the JavaScript (hw 6) exercise. You also could relate the topic of the quiz to the term project.  
* You may use questionnaire items from other sources, but do '''not plagiarize'''. If you reuse assets from another source, cite the source. Plagiarism is simply not accepted and will be sanctioned.
* You may use questionnaire items from other sources, but do '''not plagiarize'''. If you reuse assets from another source, cite the source. Plagiarism is simply not accepted and will be sanctioned.


Note: CS students familiar with HTML forms and PHP can use other HTML forms.
Note: CS students familiar with HTML forms and PHP can use other HTML forms but be warned that, for example,  processing checkboxes is more difficult.


; Tips
; Tips
* Validate your HTML code
* Validate your HTML code
* Use the server log files for finding PHP errors
* Use the server log files for finding PHP errors.
* At the beginning of your PHP code (not the HTML), you also can insert the following line:
error_reporting(E_ALL);


; Evaluation criteria
; Evaluation criteria
* Ergonomics and content (does the quiz "make sense" and is it interesting)
* Ergonomics and content (does the quiz "make sense" and is it interesting)
* User experience (does it look good)
* HTML and CSS code (is it valid)
* HTML and CSS code (is it valid)
* Style and presentation
* Style and presentation
Line 63: Line 66:


; Submission
; Submission
* Submit the file to the world classroom
* Submit the files (*.html, *.php and if needed *.css, pictures, etc.) to the world classroom


Category: COAP 2100
[[Category: COAP 2100]]

Revision as of 20:03, 20 February 2011

Week 7 COAP 2100

Topics Covered

  • Web server architectures
  • Running a webserver on your own PC
  • HTML5 for information ...
  • HTML forms tutorial (continued)
  • The concept of server-side scripting and web applications

Teaching materials

Classroom activities

Monday

What do we mean by the Internet (part II - web application architectures)
Using a web server
Processing forms with PHP (a taster)

Wednesday

Topics (TBA in detail)

  • XML
  • SVG
  • Document formats

Homework 7

Task

Create a PHP program that can process a simple quiz made with radio buttons. In addition, it should include 1-2 text input fields that ask for a name.

  • You can reuse elements from the JavaScript (hw 6) exercise. You also could relate the topic of the quiz to the term project.
  • You may use questionnaire items from other sources, but do not plagiarize. If you reuse assets from another source, cite the source. Plagiarism is simply not accepted and will be sanctioned.

Note: CS students familiar with HTML forms and PHP can use other HTML forms but be warned that, for example, processing checkboxes is more difficult.

Tips
  • Validate your HTML code
  • Use the server log files for finding PHP errors.
  • At the beginning of your PHP code (not the HTML), you also can insert the following line:
error_reporting(E_ALL);
Evaluation criteria
  • Ergonomics and content (does the quiz "make sense" and is it interesting)
  • User experience (does it look good)
  • HTML and CSS code (is it valid)
  • Style and presentation
  • PHP (is your code running, does it compute ok)
Due
  • Before Wednesday week 8 class
Submission
  • Submit the files (*.html, *.php and if needed *.css, pictures, etc.) to the world classroom