The Final Exam for this course will be on Monday, April 20th, 2009 from 3-5pm in SW103.

Check the link to the "Handouts and Lectures" page to see what the theory portion is on. The practical portion will cover: creating and populating a new PostGreSQL database table; creating an HTML form; processing the form including connecting to/changing the database table; and,3adding information to an flat text file.

This course gives an overview of the infrastructure required to make WWW applications work:

  • Connecting with HTTP
  • Editing documents with XHTML
  • Using Cascading Style Sheets
  • Server-side scripting with PHP
  • Server databases using PostgreSQL

Lab/test marks replied.
You will receive a email responding to the email submitted with a link to your lab page. A brief description will be given as to any marks that have been lost (if any). In addition to the link, try to include a brief description of the pages that have your work to be assessed (if you have several pages to siff through). The easier it is for your instructor to mark your work, the better.

Resources

Course Server: opentech.durhamc.on.ca/~pufferd/intn2201
All assignments will be uploaded and viewed or run from Opentech, the course server. This system runs OpenBSD, a free UNIX-like operating system, and the Apache web server. It also runs the other server-side software required for the course: the PHP script interpreter and the PostgreSQL database engine.

Reminders

XHTML 1.0 Transitional doctype tag
The XHTML 1.0 Transitional DTD includes everything in the strict DTD plus deprecated elements and attributes (most of which concern visual presentation). For documents that use this DTD, use this document type declaration.
Place the following at the top of all your course produce html files:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

Don't mail your HTML files with Campus Pipeline!
The Campus Pipeline email system will change the content of your HTML files when you email them to yourself. They add a big comment at the start of the file, then add a letter 'x' to the front of HTML tags like meta, script and so on. They do this to prevent malicious Javascript and other nastiness from being sent to your browser.
Unfortunately, it also means that your pages will NOT validate any more.
To get around this, upload your files to the opentech server directly with Secure iXplorer or PSCP.
Some extra links
Web Pages That Suck
Don't repeat other peoples' mistakes. I hope your pages never make it to the "Daily Sucker"
The Web Standards Organisation
Some more arguments about using proper Internet standards.
PHP tutorial on PHP.NET
Tutorial on the main PHP site
Get started with PHP
Another tutorial, this one on the commercial phpbuilder.com site.

Valid XHTML 1.0!

Valid XHTML 1.0 Transitional