Web development: front end and back end
Front end runs in the browser (HTML, CSS, JavaScript); back end runs on servers (APIs, databases).
Edited by Alex C, EduAlx · Sources cited below
Explanation
Front-end frameworks (React, Vue, Svelte) build interactive interfaces. Back ends use Node.js, Python (Django, Flask, FastAPI), Java or Go, exposing REST or GraphQL APIs. Responsive design adapts to screen size. Static sites can be hosted on CDNs; dynamic ones need servers or serverless functions.
Example
Code
# app.py (Flask)
from flask import Flask, jsonify
app = Flask(__name__)
@app.get('/api/hello')
def hello():
return jsonify(message='Hello from the server')
How it works, step by step
- Browser loads HTML, CSS and JS
- JS calls an API
- Server validates the request and queries the database
- Server returns JSON
- Browser updates the page
Open the interactive page with diagrams →
People behind it
- Tim Berners-Lee (b. 1955), Computer science, UK: Invented the World Wide Web at CERN (1989); founded the W3C. Turing Award 2016.
- Brendan Eich
- Roy Fielding
References
- R. T. Fielding, Architectural Styles and the Design of Network-based Software Architectures, PhD thesis, UC Irvine, 2000.
Textbooks
- Computer Networking: A Top-Down Approach, James F. Kurose, Keith W. Ross (Pearson, 8th ed. 2020). Leading networking text.
Related topics
World Wide Web, HTTP and HTMLSearch engines and PageRankHash functions and digital signaturesComputer vision and convolutional neural networksComputer security fundamentals (CIA triad)Natural language processingDistributed systems: CAP theorem and consensusReinforcement learningCloud computingDecision trees and ensemble methods