Level 2
1 day < 1 min
LeaderboardGuest · Log in
Key point 2 of 8 · Web and Software Development
Estimated reading time: 4 min

How the Web Communicates

Web applications split their logic between two environments that run different code for different reasons. Client-side programming executes in the user's browser — HTML, CSS, and JavaScript delivered to and run on the visitor's own device — and is responsible for rendering the interface and reacting immediately to interaction without waiting on a network round trip. Server-side programming runs on a remote machine the developer controls, handling tasks that should not, or cannot, be exposed to the client: querying a database, enforcing business rules, verifying a password, or protecting data that a user should never be able to read directly from their browser's memory. Most real applications are a negotiation between the two: enough logic on the client to feel responsive, enough on the server to remain secure, consistent, and authoritative over the data that matters.

Food for thought

Why do you think "How the Web Communicates" was significant in this period?