Chapter 1
Web Evolution, Standards and Architecture
Bachelors Program in Computer Applications
Advanced Web Technologies
•
Bachelor
Web Evolution, Standards and Architecture
Introduction
The World Wide Web is a distributed information system in which documents, applications, media, and services are identified by addresses and exchanged through standardized protocols. Although the Web is often confused with the Internet, the two are not identical. The Internet is the global network infrastructure that connects computers and networks; the Web is one service that operates over that infrastructure, primarily using HTTP or HTTPS.
For developers, understanding the Web as an engineered system is more important than memorizing isolated technologies. A web page displayed in a browser is the result of several coordinated activities: a user enters a URL, a domain name is resolved through DNS, a secure connection may be established, an HTTP request is transmitted, a server processes the request, a response is returned, and a browser parses and renders the result. Each stage depends on standards, architecture, and operational decisions.
This chapter introduces the historical development of the Web, the role of standards organizations, URLs and DNS, HTTP and HTTPS, browsers and rendering engines, web servers, client–server architecture, and the contemporary web ecosystem.
Learning Objectives
After completing this chapter, a student should be able to:
Describe major stages in the evolution of the Web.
Explain the purpose of W3C and related web standards.
Interpret the components of a URL and describe DNS resolution.
Explain HTTP request–response processing and the function of HTTPS.
Distinguish browsers, rendering engines, web servers, and application servers.
Analyze client–server, three-tier, and contemporary distributed architectures.
Relate web standards and architecture to accessibility, security, performance, and professional practice.
1. From the Internet to the World Wide Web
The Web emerged from earlier developments in computing and networking. Packet-switched networks, the Internet Protocol Suite, personal computers, and hypertext systems created the technical environment in which the Web could develop. In 1989, Tim Berners-Lee proposed a system at CERN for linking and sharing information among researchers. The initial Web combined three central ideas:
HTML, a markup language for structuring hypertext documents;
HTTP, a protocol for transferring resources; and
URI/URL addressing, a method for identifying resources.
The first web browser was also an editor, and the first web server was developed at CERN. The Web became publicly available in the early 1990s, and graphical browsers such as Mosaic accelerated adoption by making images and hyperlinks accessible to a broad audience.
Stages of Web Evolution
The labels Web 1.0, Web 2.0, and Web 3.0 are useful descriptive terms rather than universally precise technical standards.
Early websites commonly consisted of files served directly from a server. Later, server-side programs generated pages from databases. Web 2.0 introduced participation: users could publish, comment, collaborate, and communicate. Modern sites frequently behave like software applications rather than collections of documents. They may use JavaScript frameworks, background network requests, real-time protocols, content delivery networks, cloud platforms, and managed databases.
The evolution has not been purely technological. It has also involved changes in business models, privacy expectations, regulation, accessibility, and patterns of social interaction. The same infrastructure that enables global communication can also amplify misinformation, surveillance, fraud, and exclusion. Therefore, web development requires both technical competence and social responsibility.
2. Standards and Governance
Web standards are agreed technical specifications that promote interoperability. Interoperability means that software from different vendors can communicate and interpret resources consistently. Standards reduce dependence on a single product and make it possible for a page created by one organization to be accessed through browsers and devices made by others.
The Role of the W3C
The World Wide Web Consortium (W3C) develops recommendations for many web technologies. Its work includes HTML-related technologies, CSS, accessibility guidance, internationalization, privacy considerations, and web APIs. W3C recommendations are produced through a process involving member organizations, technical experts, public review, and implementation feedback.
A W3C recommendation is not automatically a law, nor does it guarantee that every browser implements every feature identically. Its value lies in documented technical consensus and conformance criteria. Developers should distinguish between:
a formal standard or recommendation;
a browser-specific or experimental feature;
a de facto convention widely used despite limited formal standardization; and
a framework feature supplied by a software library.
Other organizations are also essential. The Internet Engineering Task Force (IETF) develops Internet protocols such as HTTP, TLS, and DNS-related specifications. WHATWG maintains the living HTML standard and associated web-platform specifications. ECMA International standardizes ECMAScript, the language specification underlying JavaScript. The ISO and national regulators may also influence security, accessibility, data protection, and information-management practice.
Why Standards Matter
Standards support:
Interoperability: different browsers and servers can communicate.
Accessibility: assistive technologies can interpret semantic structure.
Maintainability: code follows documented behavior rather than proprietary assumptions.
Security: protocols and implementation practices can be reviewed systematically.
Longevity: standards-based resources are more likely to remain usable as platforms change.
Conformance is not identical to quality. A technically conforming page may still be confusing, slow, inaccessible in practice, or unsafe because of poor application design. Standards are necessary foundations, not substitutes for testing and professional judgment.
3. Resource Identification: URLs, URIs, and Their Components
A Uniform Resource Identifier (URI) identifies a resource. A URL is a URI that identifies a resource by describing how to locate or access it. In everyday web development, the terms are often used interchangeably, although URI is the broader concept.
Identifies a transport endpoint; omitted when the default is used
Path
/courses/web/index.html
Identifies a resource or route on the host
Query
unit=1&mode=full
Supplies parameters to the resource or application
Fragment
objectives
Identifies a portion of the returned resource
The fragment is normally interpreted by the user agent and is not sent to the server as part of the HTTP request. URL encoding is important because certain characters have reserved meanings. For example, spaces are generally encoded rather than inserted literally, and query parameters should be encoded according to the rules of the relevant application.
A URL should not be treated as a security credential. A familiar-looking domain can contain a deceptive subdomain, and a URL beginning with HTTPS does not prove that the content is trustworthy. HTTPS protects the connection to the authenticated host; it does not guarantee that the organization or message is honest.
4. DNS: Translating Names into Network Addresses
Humans prefer names such as www.example.com, whereas network communication ultimately requires an IP address. The Domain Name System (DNS) is a distributed hierarchical naming system that maps domain names to records. Common records include:
A: maps a name to an IPv4 address;
AAAA: maps a name to an IPv6 address;
CNAME: provides an alias to another name;
MX: identifies mail-exchange servers;
TXT: stores text used for verification and policy information;
NS: identifies authoritative name servers.
A typical lookup may involve a browser cache, operating-system cache, local resolver, root name servers, top-level-domain servers, and authoritative name servers. DNS responses have a time to live (TTL), which indicates how long a result may be cached. Caching reduces lookup traffic and latency, but it means that a DNS change may not become visible everywhere immediately.
DNS is a naming system, not a complete security mechanism. DNS Security Extensions (DNSSEC) can provide authenticity for DNS data through digital signatures, but DNSSEC does not encrypt ordinary DNS queries. Encrypted DNS methods, such as DNS over HTTPS or DNS over TLS, address confidentiality between the client and its resolver, subject to their deployment and trust model.
5. HTTP and HTTPS
HTTP is an application-layer protocol used for transferring web resources. It follows a request–response model. A client sends a request containing a method, target, headers, and sometimes a body. The server returns a response containing a status code, headers, and sometimes a body.
Important HTTP methods include:
Method
Typical purpose
General property
GET
Retrieve a representation
Intended to be safe and cacheable when appropriate
POST
Submit data or request processing
May create a resource or cause an action
PUT
Create or replace a known resource
Idempotent by intended semantics
PATCH
Partially modify a resource
Semantics depend on the defined operation
DELETE
Remove a resource
Idempotent by intended semantics
HEAD
Retrieve headers without the usual response body
Useful for metadata checks
A method is safe when it is intended not to change server state as a consequence of the request. It is idempotent when repeating the same request has the same intended effect as making it once. These are semantic properties, not guarantees that a network failure or badly implemented server will behave correctly.
Status codes are grouped into classes:
1xx: informational;
2xx: successful, such as 200 OK and 201 Created;
3xx: redirection, such as 301 or 304;
4xx: client-related error, such as 400, 401, 403, or 404;
5xx: server-related error, such as 500 or 503.
HTTP headers carry metadata. Examples include Content-Type, Content-Length, Cache-Control, Cookie, Authorization, Location, and security headers. The body may contain HTML, JSON, an image, a stylesheet, JavaScript, or another representation.
HTTPS and TLS
HTTPS is HTTP transported through TLS (Transport Layer Security). TLS provides three major security properties:
Confidentiality: outsiders should not read protected traffic.
Integrity: unauthorized alteration should be detectable.
Authentication: a certificate helps the client verify the server’s domain identity.
During a TLS handshake, the client and server negotiate cryptographic parameters, authenticate the server using a certificate chain, and establish session keys. HTTPS does not eliminate all risks. It cannot prevent a vulnerable application, compromised server, malicious browser extension, phishing domain, or abusive authorized user. Secure development also requires input validation, authorization, safe session management, appropriate cookie attributes, and careful handling of secrets.
6. Request–Response Processing
When a user requests a page, the visible result is produced through a sequence of operations:
The browser parses the entered URL.
It checks relevant caches and resolves the host through DNS if necessary.
It establishes a transport connection, commonly TCP or an HTTP/3-compatible QUIC connection.
For HTTPS, it performs a TLS handshake.
It sends an HTTP request.
A web server, reverse proxy, or load balancer receives the request.
Application code may authenticate the user, validate input, access databases, and construct a response.
The response travels back through the network.
The browser parses and renders the response.
Additional resources are requested, and scripts may update the page.
Web request and response flow between browser, DNS, server and database
Figure: Web request and response flow between browser, DNS, server and database
Figure: Simplified sequence of name resolution, HTTP communication, and application data processing.
The sequence is conceptually linear but can be optimized. Persistent connections, multiplexing, compression, caching, preloading, and content delivery networks reduce delay. A page may also be generated in different ways:
Server-side rendering: HTML is generated on the server and sent to the browser.
Client-side rendering: JavaScript obtains data and constructs much of the interface in the browser.
Static generation: pages are generated before deployment and served as files.
Hybrid rendering: different routes or parts of an application use different strategies.
7. Browsers and Rendering Engines
A browser is a software application that retrieves, interprets, and displays web resources. Its major subsystems commonly include networking, storage, security isolation, JavaScript execution, document parsing, layout, painting, and compositing.
The browser converts HTML into a Document Object Model (DOM), a tree-like representation of document structure. It parses CSS into rules and constructs style information. The rendering engine then calculates layout, paints visual elements, and composites layers for display. JavaScript can inspect and modify the DOM, respond to events, communicate with servers, and access selected browser APIs.
A simplified rendering sequence is:
Parse HTML and build the DOM.
Discover linked stylesheets and other resources.
Parse CSS and calculate styles.
Construct layout information.
Paint text, borders, images, and backgrounds.
Composite layers and present pixels.
The exact implementation differs among engines. Chromium-based browsers use Blink, Firefox uses Gecko, and Safari uses WebKit. JavaScript engines are separate but closely integrated components; for example, V8, SpiderMonkey, and JavaScriptCore are associated with major browsers.
Browser security relies on mechanisms such as the same-origin policy, permission controls, sandboxing, certificate validation, and content security policies. The same-origin policy restricts how a document or script from one origin interacts with resources from another. Cross-Origin Resource Sharing (CORS) provides controlled exceptions through HTTP headers.
8. Web Servers, Application Servers, and Proxies
A web server accepts network connections and serves resources or forwards requests. Nginx, Apache HTTP Server, and Microsoft IIS are common examples. A web server can serve static files, terminate TLS, compress responses, enforce routing rules, and act as a reverse proxy.
An application server executes business logic. It may handle authentication, validation, transactions, database access, and generation of HTML or JSON. In modern systems, the distinction between web server and application server may be implemented by separate products or combined within one runtime.
A reverse proxy receives requests on behalf of internal services. It can provide load balancing, caching, TLS termination, rate limiting, and access control. A content delivery network (CDN) places cached resources at geographically distributed edge locations, reducing the distance between users and content.
Operational quality is often discussed using availability, latency, throughput, and scalability. Availability is commonly represented as the proportion of time a service is operational, but a meaningful measurement must define what counts as operational and how it is observed. Performance should be measured with real user data and representative workloads rather than inferred only from laboratory tests.
9. Client–Server and Layered Architectures
In a client–server architecture, clients request services and servers provide them. A client may be a browser, mobile application, or another program. A server may provide files, APIs, authentication, or data processing.
A common three-tier architecture separates:
Presentation tier: user interface and interaction;
Application tier: business rules and request processing;
Data tier: databases and durable storage.
Separation improves maintainability and allows independent scaling, but it introduces network boundaries and operational complexity. A monolithic application packages many functions together. A modular monolith may preserve one deployable unit while maintaining internal separation. Microservices divide capabilities into independently deployable services, potentially improving team autonomy and selective scaling but increasing problems of distributed transactions, monitoring, versioning, and network failure.
Modern web ecosystems also include REST-style APIs, GraphQL, WebSockets, server-sent events, service workers, progressive web applications, identity providers, payment gateways, analytics systems, container platforms, and cloud-managed infrastructure. These components form an ecosystem rather than a single architecture. Each addition creates dependencies, failure modes, privacy implications, and governance responsibilities.
10. Applied Case: Designing a University Course Portal
Background
This illustrative case concerns a university that wants a portal through which students can view courses, download materials, submit assignments, and receive feedback.
Problem
The existing system consists of static pages and email-based submission. Students cannot reliably determine whether an assignment was received, and staff must manually combine records. The university also requires mobile access, accessibility, authentication, and protection of academic records.
Analysis
The portal needs public course information, authenticated student functions, staff functions, file storage, and a database. Public pages may be cached, but personal submissions and grades require authorization and careful access control. A URL alone must not be treated as proof that a student is allowed to retrieve a file.
Approach and Solution
A three-tier design is selected. A CDN serves static assets such as stylesheets and images. A reverse proxy provides HTTPS termination, request routing, and rate limiting. The application layer exposes web pages and an API. The data tier stores users, courses, submissions, and grades. Uploaded files are stored separately with controlled, time-limited access.
The browser communicates through HTTPS. DNS directs the portal name to the public entry point. Authentication uses secure sessions or a standards-based identity provider. Cookies are marked Secure and HttpOnly where appropriate, and a suitable SameSite policy is selected. Authorization checks are performed on the server for every protected operation. The interface uses semantic HTML, keyboard-accessible controls, meaningful labels, and sufficient contrast.
Outcome
Students receive immediate submission status, staff obtain centralized records, and public course material loads efficiently through caching. Monitoring records response times, errors, failed logins, and storage events without collecting unnecessary personal data.
Learning Points
The case demonstrates that a web solution is not merely a collection of pages. It combines standards, DNS, secure transport, browser behavior, server processing, data management, accessibility, and governance. It also shows why caching and authorization must be designed together: public content can often be cached broadly, while private content requires restrictive controls.
11. Challenges, Ethics, and Best Practices
Web professionals must address several limitations and risks:
Interoperability differences: test on representative browsers and devices.
Performance variability: account for slow networks, low-powered devices, and large media.
Privacy: collect only necessary data, explain its use, protect it, and observe applicable privacy law.
Accessibility: follow WCAG guidance and test with keyboard navigation and assistive technologies.
Digital exclusion: consider language, bandwidth, disability, device ownership, and geographical constraints.
Supply-chain dependence: inventory libraries, monitor vulnerabilities, and control updates.
Dark patterns: do not manipulate users into unwanted consent, purchases, or disclosure.
Professional best practices include using semantic HTML, responsive layouts, progressive enhancement, HTTPS everywhere, validated input, server-side authorization, secure headers, dependency management, automated testing, observability, backups, documented APIs, and clear error handling. Developers should consult current specifications because web standards evolve continuously.
12. Contemporary Developments
The contemporary Web is increasingly distributed and application-oriented. HTTP/2 and HTTP/3 improve multiplexing and transport behavior; edge computing moves selected processing closer to users; service workers support offline and installable experiences; and WebAssembly enables selected high-performance workloads in browsers. These technologies are useful when their cost and complexity are justified.
Artificial intelligence is becoming part of web search, content production, personalization, accessibility tools, and developer workflows. However, AI-generated content and code require human review. Risks include inaccurate information, discriminatory outcomes, leakage of confidential data, opaque decisions, copyright disputes, and insecure generated code. AI should therefore be governed by validation, privacy controls, provenance practices, and accountability rather than treated as an unquestioned replacement for expertise.
Chapter Summary
The Web evolved from a hypertext information system into a global platform for documents, applications, communication, and services. Its operation depends on coordinated standards and protocols. URLs identify resources; DNS maps names to network addresses; HTTP transfers requests and responses; HTTPS adds TLS-based confidentiality, integrity, and authentication; and browsers parse, execute, lay out, and render content.
Web servers, reverse proxies, application servers, databases, CDNs, and APIs cooperate within client–server and layered architectures. Architectural choices affect scalability, security, maintainability, accessibility, and cost. Standards from organizations such as W3C, IETF, WHATWG, and ECMA promote interoperability, but conformance must be supplemented by testing and professional judgment. Contemporary development must also consider privacy, digital inclusion, ethical design, supply-chain risk, and responsible use of AI.
Key Terms
URI: A Uniform Resource Identifier that identifies a resource.
URL: A URI that identifies a resource and indicates how it may be located or accessed.
DNS: The distributed Domain Name System that maps names to network records.
HTTP: The Hypertext Transfer Protocol used for web request–response communication.
HTTPS: HTTP protected by Transport Layer Security.
TLS: A protocol providing confidentiality, integrity, and authentication for network communication.
Browser: Client software that retrieves, interprets, and displays web resources.
Rendering engine: Browser subsystem that parses documents, calculates layout, paints, and composites output.
Web server: Software that serves resources or forwards HTTP requests.
Reverse proxy: An intermediary that receives requests for internal servers or services.
CDN: A geographically distributed network that serves cached content near users.
DOM: The Document Object Model representing a document as an accessible object structure.
Origin: The security identity formed from scheme, host, and port.
API: An Application Programming Interface through which software components communicate.
Client–server architecture: A model in which clients request services supplied by servers.
Three-tier architecture: Separation into presentation, application, and data tiers.
Caching: Storing data temporarily to reduce latency and repeated processing.
W3C: The World Wide Web Consortium, which develops many web recommendations.
Accessibility: Designing technology so people with diverse abilities can use it.
CORS: Cross-Origin Resource Sharing, a controlled mechanism for cross-origin web requests.
Review Questions
Short Answer Questions
Distinguish the Internet from the World Wide Web.
What purposes do HTML, HTTP, and URL addressing serve?
Identify the main components of a URL.
What is the difference between HTTP and HTTPS?
What is the role of a rendering engine in a browser?
Long Answer Questions
Explain the major stages in the evolution of the Web and relate them to changing user roles.
Discuss the roles of W3C, IETF, WHATWG, and ECMA International in web technology.
Describe the complete processing sequence from entering a URL to displaying a web page.
Compare monolithic, three-tier, and microservice-oriented architectures.
Explain how accessibility, security, privacy, and performance should influence web design.
Analytical / Application Questions
A university portal serves public course pages and private student grades. Identify which resources may be broadly cached and which require restrictive caching and authorization. Justify your choices.
A user reports that a domain name resolves correctly but the page cannot be displayed. Analyze at least four possible failure points in the DNS, transport, TLS, HTTP, server, and browser sequence.
Design a high-level architecture for an online assignment system. Specify the browser, DNS, HTTPS endpoint, application layer, data storage, authentication, and monitoring responsibilities.
Multiple Choice Questions with Answers
Question 1
Which combination forms the foundation of the original Web concept?
A. HTML, HTTP, and URL addressing
B. DNS, SMTP, and SQL
C. CSS, FTP, and Bluetooth
D. Java, XML, and IPv6
Correct Answer: A. HTML, HTTP, and URL addressing
Question 2
What is the primary purpose of DNS?
A. To encrypt HTTP response bodies
B. To map domain names to network records
C. To render HTML into pixels
D. To store browser cookies
Correct Answer: B. To map domain names to network records
Question 3
Which URL component is normally interpreted by the browser and not sent to the server in the HTTP request?
A. Scheme
B. Host
C. Fragment
D. Path
Correct Answer: C. Fragment
Question 4
Which HTTP method is generally intended to retrieve a representation without changing server state?
A. GET
B. POST
C. DELETE
D. PATCH
Correct Answer: A. GET
Question 5
Which property is provided by TLS when HTTPS is correctly implemented?
A. Guaranteed accuracy of website content
B. Confidentiality of protected traffic
C. Automatic authorization of every user
D. Permanent storage of web pages
Correct Answer: B. Confidentiality of protected traffic
Question 6
What does a 404 HTTP status generally indicate?
A. The request succeeded and created a resource
B. The server is temporarily unavailable
C. The requested resource was not found
D. The client must complete a TLS handshake
Correct Answer: C. The requested resource was not found
Question 7
Which browser component constructs layout and paints document content for display?
A. Rendering engine
B. DNS resolver
C. Mail transfer agent
D. Database driver
Correct Answer: A. Rendering engine
Question 8
In a three-tier architecture, business rules normally belong to which tier?
A. Presentation tier
B. Application tier
C. Data tier
D. Network cabling tier
Correct Answer: B. Application tier
Question 9
What is the main function of a reverse proxy?
A. To replace all browser JavaScript
B. To receive requests on behalf of internal services
C. To convert domain names into HTML
D. To act as a user’s keyboard
Correct Answer: B. To receive requests on behalf of internal services
Question 10
Which statement best describes web standards?
A. They guarantee that every website is secure
B. They are agreed specifications that support interoperability
C. They apply only to one browser vendor
D. They eliminate the need for testing
Correct Answer: B. They are agreed specifications that support interoperability