Quiz Entry - updated: 2026.06.20
What is client-side generation in a dynamic web application?
The application logic runs as JavaScript inside the user's browser, so the page can react and update itself without going back to the server for a new page.
In the client-side model, the server's main job up front is to ship the whole application — HTML, CSS, and a JavaScript program — to the browser once. From then on, that JavaScript runs locally and drives the experience. Take "find tourist attractions near me":
- Browser loads the complete web application from the server.
- The JavaScript program starts running in the browser.
- When you click "Search":
- JavaScript reads device APIs in the browser (e.g. the GPS / Geolocation API for your current position).
- JavaScript fetches just the data it needs from the server in the background (AJAX /
fetch). - JavaScript updates the visible page itself, with no full reload.
Advantages:
- Faster interaction — most actions stay in the browser, so no page reload.
- Offline capability — parts can keep working even without the server.
- Reactive UI — the user gets immediate feedback.
Key idea: only the actual search travels to the server; getting your GPS location and redrawing the screen happen entirely on the client.