Web Development

Dr Derek Bridge
School of Computer Science & Information Technology
University College Cork

Lecture Objectives

  • learn how the module will be taught & examined
  • learn what a client-server architecture is
  • learn what a communications protocol, such as HTTP, is

Derek Bridge

Senior Lecturer in Computer Science
+
Artificial Intelligence researcher

Web Development I and II

Module codes: CS1115/CS5002 Web Development I
CS1116/CS5018 Web Development II
Credit weighting: 5 credits each

Module Objectives

you will acquire competence in web development

you will build a portfolio of projects

you will develop as a critical thinker/problem-solver and as an independent learner

Module Delivery

The following is correct as of August 2023 but may be subject to change.

On-campus lectures Tuesdays @ 12 noon, WGB 107
Thursdays @ 3pm, WGB G05
On-campus lab Two lab sessions — students attend the one to which they are assigned. Details TBA.
Private study At least 3 hrs per week

"Is there a book?"

"What about software?"

Assessment: Web Development I

Examination: 1.5 hr in-person 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 World Wide Web

aka
The WWW
aka
The Web

The inventor

Sir Tim Berners-Lee

by Paul Clarke (licenced under CC BY-SA)

WWW = hypertext + the Internet

Hypertext

A hyperlink

The Internet

A network of networks

Tim Berners-Lee's Web

The WWW was originally for scientists.

Evolution of the Web

Technologies

Client-server

The web has machines running client software and machines running server software.

Resources

Servers host many different kinds of resources.

Uniform Resource Locators (URL)

Every resource on the web has a unique address.

which server which resource on that server
www.example.org /animals/wombats.html

Communications Protocols

the rules of communication in computer networking

HyperText Transfer Protocol

HTTP is the protocol for web requests and responses.

The Internet Engineering Task Force (IETF) recently published HTTP/3.0.

HTTP GET Request

HTTP requests come in three parts.

Request methods:
GET, POST, HEAD, PUT, DELETE,
CONNECT, OPTIONS, TRACE, PATCH

HTTP Response

HTTP responses come in three parts.

HTTP Response Status Codes

2XX Success e.g. 200 OK
3XX Redirection e.g. 301 Moved Permanently
4XX Client error e.g. 400 Bad Request
e.g. 403 Forbidden
e.g. 404 Not Found
5XX Server error e.g. 500 Internal Server Error

G'luck!