Computer Science 180
Web Design
Fall 2011, Siena College
Lecture 9: Web Servers
Date: Wednesday, October 5, 2011
Agenda
- Announcements
- Exam 1 Information
- Scheduled for lab time, Monday, October 10
- Will cover material up through the end of today's class meeting.
- Time will be reserved during our class meeting on Friday,
October 7 for review
- All topics covered in lectures or labs are eligible
- Format: closed book other than reference materials provided
- Exam 1 Topics and Sample Questions
- Formatted text and markup languages
- HTML tags and elements
- possible questions involve proper HTML document format,
knowing the basic HTML tags we have used regularly, drawing
what a page or part of a page will look like in a browser
given some HTML code, providing appropriate HTML given what
formatted text looks like in a browser, understanding the
advantages of the elements with more semantic meaning.
Focus will be on the elements we have used most rather than
the obscure ones.
- Styles
- possible questions involve the basic font style
properties and values, specifying color (including
understanding of each method of specifying RGB colors,
being able to give a name for an RGB color, giving
reasonable RGB values for a named color), methods of
specifying style properties and values (style=
attributes, style elements, CSS files), separation of
content from appearance
- Networks
- possible questions involve basic networking
terminology, protocols, packet switching, routing, name
service (the overall mechanism, not the specifics of how
one sets up a name server), what a URI means, web server
basics (e.g., how to take a URI and some information from a
server configuration to determine the path to the requested
file and vice versa).
- Standards: XHTML vs. HTML, validation
- Lecture assignment 8 recap
- Where did that spam come from?
- Client-server model
- Web servers
- Web server configuration example
Lecture Assignment 9
Due at the start of class, Friday, October 7.
Please submit answers to these questions
either as a hard copy (typeset or handwritten are OK) or by email to
jteresco AT siena.edu by the start of class. Please use a clear subject line
when submitting by email (e.g., CS 180 Lecture
Assignment 9, Joe Student). We will discuss these
questions at the start of class, so no late submissions are
accepted.
- Given what you learned about the setup of the web server that
provides our course web pages, what file on the web server
corresponds to the main course web page?
- Each of you has a URI on the course web server at hostmonster.
Given what your URI looks like, do you expect that hostmonster uses
a virtual hosts mechanism similar to the one used by the
www.teresco.org server to host the courses.teresco.org
pages? Why or why not?
Links