CS1115/CS5002

Web Development 1

Dr Derek Bridge

School of Computer Science & Information Technology

University College Cork

Administrivia: The lecturer

Derek Bridge: Room G-61, Western Gateway Building
d stop bridge amphora cs plip ucc plop ie
www.cs.ucc.ie/dbridge.html

 

Administrivia: Module delivery

Credit weighting: 5 credit module
Lectures: 2 × 1 hr per week
Labs: 1 × 2 hr per week
Private study: At least 2 hrs per week
Course web site: www.cs.ucc.ie/~dgb/courses/wd1.html
Contains copies of some of the slides
N.B. Slides, not notes!

Administrivia: Assessment

Examination: 1.5 hr written exam (75% of the marks)
Continuous assessment: Web site project (25% of the marks)
How to fail: Skip lectures & labs; avoid private study; cram the night before the exam; expect the exam to be a memory test
How to pass: Attend lectures & labs; take notes; organize your notes; tackle the lab activities properly; expect a problem-solving exam

Plagiarism

  1. Plagiarism is presenting someone else’s work as your own. It is a violation of UCC Policy and there are strict and severe penalties.
  2. You must read and comply with the UCC Policy on Plagiarism www.ucc.ie/en/exams/procedures-regulations/
  3. The Policy applies to all work submitted, including software.
  4. You can expect that your work will be checked for evidence of plagiarism or collusion.
  5. In some circumstances it may be acceptable to reuse a small amount of work by others, but only if you provide explicit acknowledgement and justification.
  6. If in doubt ask your module lecturer prior to submission. Better safe than sorry!

The risk of complacency

Ancient Chinese Proverb

You can't learn something if you think you already know it.

Quick quiz

Sir Tim Berners-Lee was the inventor of the World Wide Web, back in Xmas 1990.
Who is this?
What did he do?
And when?

Quick quiz

CERN's Large Hadron Collider looks like the inside of an enormous hair dryer.
What is this?
What is its connection to Web Development 1?

Quick quiz

UCC - the location of the first Irish web server and only the ninth in the world, back in 1991.
Where is this?
What is its connection to Web Development 1?

What the web was for — originally

Originally, the web allowed scientists to easily access documents across the Internet.
WWW = hypertext + the Internet

Servers and clients

Web requests and responses

Web client hardware, running Web client software such as a Web browser, sends an HTTP GET request to a Web server. The Web server hardware is running Web server software, and it sends back an HTTP response.

 

  1. Knock, knock
  2. Who's there?
  3. Adolph
  4. Adolph who?
  5. Adolph ball hit me in dhe mouth

Protocols

HTTP requests

An HTTP GET request comprises a request line, some headers (which are mostly optional), and an empty body.

HTTP responses

An HTTP response comprises a status line, some headers (which are mostly optional), and a body that typically contains the resource that the client requested.

HTTP response status codes

1XX: Informational:
e.g. 100 Continue
2XX: Success:
e.g. 200 OK, 206 Partial Content
3XX: Redirection:
e.g. 301 Moved Permanently
4XX: Client error:
e.g. 400 Bad Request, 403 Forbidden, 404 Not Found
5XX: Server error:
e.g. 500 Internal Server Error, 503 Service Unavailable

Web standards

 

www.thewildernessdowntown.com