The plan for today:
  1. Perl review
  2. Using Java applets
  3. Review of HTML
  4. Review of Apache installation
  5. Introducing Web Security
1. Perl Review *

Perl Data Structures Operations Perl Control Structures (non-repeating) More Control Structures (Repeating) Perl I/O Dealing with files Special variables and functions Perl shortcuts Perl builtin functions Perl Regular Expressions Basic use of REs

# Open some file for reading, could be STDIN
open(INFILE, "some/filename");

while($line = <INFILE>) {
  if ($line =~ /some_pattern/) {
    # ok, this line matches the pattern.
  else {
    # this line does not match the pattern
RE operators Types of matches Single Character Patterns Multipliers Exercises From Schwartz: Remembering what matched
Note: Materials from last year's A348 have been used in this Perl review.
2. Using Java applets (Chapter 12)

Java Basics

We also covered writing applets:

3. Review of Basic HTML (Chapter 5)

An HTML document consists of text interspersed with markup tags. Tags never appear in the printed text, but silently guide the browser behind the scenes. Tags are surrounded by left and right angle brackets and often, but not always, occur in pairs.

Escaping: &lt; is used to produce <

Basic HTML Tags

A complete HTML document always begins with the tag <HTML> and ends with the tag </HTML>. Within the document there are two sections: the head, bracketed by <HEAD> and </HEAD> (contains identifying and control information that isn't part fo the displayed text) and the body bracketed by <BODY> and </BODY> (the user readable text)


Advanced Tags


There's a similarity between frames and images and applets in some sense.

<FRAMESET ROWS="45%,45%,10%">
  <FRAME SRC="text.html" NAME="text">
  <FRAME SRC="figure1.gif" NAME="figure">

4. Review of Apache Installation

5. Introducing Web Security