Verified Jobs Live
Full Stack Web Development Easy Level ~3 min read

What responsibilities belong to the browser, application server, and database?

Interactive Practice Mode
Formulate your thoughts or take notes before revealing the model solution.
Model Answer & Deep-Dive Explanation

The browser presents the interface, gathers input, and can validate it for immediate feedback. The server authenticates requests, enforces authorization and business rules, and coordinates operations. The database stores data and enforces suitable integrity constraints. Browser checks cannot be trusted because requests can bypass the interface. For example, the browser may show an order total, but the server must calculate authoritative prices and permissions. Clear boundaries improve testing and prevent sensitive credentials or business rules from being exposed in client code.