Web Technologies

Intro

Claudia Chiriță . 2026/2027

Admin info

What?

  • technologies for the development of
    client-based web apps
  • HTML + CSS + JavaScript
  • DOM, AJAX, Canvas & SVG
  • misc: frameworks, libraries, tools

How?

https://cs.unibuc.ro/~cechirita/twe

Marks?


 course-mark = mlab + mexa + 10 

 mlab = mark-lab  // <= 30 marks 
 mexa = mark-written-exam // <= 60 marks	

 mlab = mlab1 + mlab2 
 mlab1 = mark-lab-activity // <= 10 marks
 mlab2 = mark-project // <= 20 marks
 
 mlab >= 15 & mexa >= 30 // passing condition
          

Project

  • HTML + CSS + JavaScript
  • 2 parts
  • first part: HTML + CSS
  • detailed requirements on github

Online resources

https://developer.mozilla.org/
https://www.w3schools.com/
https://www.w3.org/standards

Questions?

http://wwwwwwwwwwww

Internet

interconnection of computer networks
network of networks

global system of interconnected computer networks that uses the TCP/IP protocol suite

Protocol

technical specification

set of rules and conventions that facilitates and controls the exchange of data between different devices

TCP/IP (Internet protocol suite)

protocol stack with 4 layers:

  • Link layer: MAC
  • Internet layer: IP (v4, v6)
  • Transport layer: TCP, UDP
  • Application layer: DNS, FTP, SSH, TLS/SSL, HTTP

TCP/IP (Internet protocol suite)

main protocols:

  • Transmission Control Protocol (TCP)
  • User Datagram Protocol (UDP)
  • Internet Protocol (IP)
    a device connected to the Internet is identified through an IP address
    (numerical label)

Internet

interconnection of computer networks
network of networks

offers services: www, email, voip, file sharing

World Wide Web

“ The Web is an abstract (imaginary) space of information.
On the Net, you find computers – on the Web, you find document, sounds, videos, ... information.
On the Net, the connections are cables between computers; on the Web, connections are hypertext links.”
Tim Berners-Lee

World Wide Web

a system of interconnected hypertext documents that can be accessed on the Internet

World Wide Web

The World Wide Web Consortium (W3C)
international community that develops open standards to ensure the long-term growth of the Web

World Wide Web Foundation
advance the open web as a public good and a basic right

HYPERTEXT

text (displayed on an electronic device) that contains references (hyperlinks) to data that can be accessed immediately

  • hyper - as in extension, generalization
    from gr. ὑπέρ (over, beyond)
  • overcoming the constraints of linear text

Sînt vechi, domnule!

the first web page

the history of the web

World Wide Web

fundamental technologies

  • HTML = Hypertext Markup Language
    language for creating web documents
  • URI = Uniform Resource Identifier
    a unique identifier for every web resource
  • HTTP = HyperText Transfer Protocol
    main way of requesting and receiving hypermedia web resources

URI

string of characters that identifies a resource
via name or location

  • URN = Uniform Resource Name
    name identification
    urn:ietf:rfc: 7230 or urn:isbn:9780241339053
  • URL = Uniform Resource Locator
    location identification
    https://datatracker.ietf.org/doc/html/rfc7230

URL

protocol:// host:port /location?query#fragment

https://www.youtube.com:443/watch?v=npqD602G90o&t=72s

PARSE IT!

FILE URL

link to a local file

file:///home/Documents/fmi/wp/tw/c1/index.html#/23

HTTP

HTTPS = HTTP + secure (port 443)
Transport Layer Security (TLS) encryption

HTTP (port 80)

why no HTTPS, http://mae.ro/ ?

client-server protocol

  • SERVER: program running on a computer that is connected to the Internet and supplies web resources

  • CLIENT: browser; program facilitating access to web resources

client-server protocol

#1: establishing an HTTP connection

#2: HTTP request

#3: HTTP response

HTTP methods

  • GET - requests a resource on the server
  • POST - sends data to the server and receives a response
  • HEAD - requests information on a resource
  • PUT - updates/uploads a resource on the server
  • DELETE - deletes a resource on the server

status codes

  • 103 Early Hints
  • 200 OK
  • 301 Moved Permanently
  • 400 Bad Request
  • 401 Unauthorized
  • 403 Forbidden
  • 404 Not Found
  • 500 Internal Server Error
  • 503 Service Unavailable

the history of HTTP

from HTTP/0.9 to HTTP/3

The state of HTTP in 2022

HTTP/3 in 2023

State of the web

markup languages

  • Standardised Generalised Markup Language (SGML)
    Charles Goldfarb, Ed Mosher, Ray Lorie, 1970, IBM
  • HyperText Markup Language (HTML)
    Tim Berners-Lee, 1989, CERN
  • Extensible Markup Language (XML)
    W3C, 1996
  • HTML4 (1997); XHTML(2000)
  • HTML5 (2012)

HTML + CSS alignment

HTML | CSS | JS

CSS in a separate file

JavaScript code in a separate file

HTML | CSS | JS

MM
“ Start with your content peanut, marked up in rich, semantic HTML. Coat that content with a layer of rich, creamy CSS. Finally, add JavaScript as the hard candy shell to make a wonderfully tasty treat (and keep it from melting in your hands).”
Aaron Gustafson, Understanding progressive enhancement

hyper bibliography

HTTP caching
HTTP cookies

The Garden Of Forking Paths, Jorge Luis Borges
New Media from Borges to HTML, Lev Manovich
Pale Fire, Vladimir Nabokov
Tim Berners-Lee wants to save the web
Decentralizing the web: the Solid Project


          
                          (\ /)   
                          ( . .)  
                          C(")(") 
              
                       any questions?