Program 3 Assignment: Putting it all together, making your own web site


Associated Lectures


Web site

You will be designing a small website.  This website will contain at least 2 pages in it.  It will also contain either a Java Applet or a small MySQL+PHP database application.  You can of course do both if you would like.

Graded Parts (16.67% of grade, can't get an A without this one folks!)


Applet

Elements which must be used (see lecture) (see demo)
  • basic applet functions (must use init, other basic applet functions are optional)
  • init (required) (examples: Simple.java, Graph.java, HelloWorld.java, Scribble.java, DogYears.java)
  • paint (optional) (examples: Simple.java, Graph.java, HelloWorld.java)
  • start (optional) (examples: Simple.java, Jaleks.java)
  • stop (optional) (examples: Simple.java)
  • destroy (optional) (examples: Simple.java)
  • write some text to the screen either using drawString or by creating a Label
  • drawString (examples: Simple.java, Graph.java, HelloWorld.java)
  • Label (examples: DogYears.java, Jaleks.java, Scribble.java )
  • respond to a button push (Applet.action method) or mousedown (Applet.mouseDown method)
  • button push (examples: DogYears.java, Jaleks.java, Scribble.java )
  • mouse down (examples: Simple.java, Scribble.java )
  • Related Websites
  • Projects in Java website
  • Java Reference

  • MySQL+PHP

    Requirements (see CGI and PHP lecture, see MySQL lecture, see MySQL+PHP lecture) (see demo)
  • Create a mysql table (see MySQL Review lecture)
  • Use HTML form and PHP to do a query on the table data (examples: see search.php3 and the print_sidebar function in html_util.php3)
  • (Optional) Use HTML form and PHP to add data to table or update data in some way (examples: see buy.php3 for use of insert command in mysql_query)
  • Related web sites
  • MySQL Home Page
  • PHP Home Page
  • HTML Forms Tutorial
  • PHP+MySQL Tutorial

  • mstrout@cs.ucsd.edu .... May 24, 2000