Activity 01
Role-Play: The Full Request Journey
Assign students to roles: browser client, web server, application logic, and database. The browser student sends an HTTP request card (e.g., 'GET /user/42'). The server receives it, the application logic determines what query to run, the database student looks up the record, and the result flows back through the chain. The class introduces variations like a POST request creating a new record.
Explain the role of a backend server in a web application.
Facilitation TipDuring Role-Play: The Full Request Journey, assign each student a specific role (client, server, database) and provide props like printed requests or database records to make the journey tangible.
What to look forOn an index card, students should write: 1) One sentence explaining why a backend server is necessary for a dynamic website. 2) An example of a task performed by the backend that the user's browser cannot do directly.