WHAT HAPPENS
Now look at the syntax
A focused excerpt matching this lab’s route; surrounding configuration and error handling are omitted.
PLATTEN WEB-APP LAB · START HERE
First see what the system does. Then read the syntax that makes it happen. Explore the web servers, application code and database already running in this lab.
01 / TRACE THE MECHANICS
WHAT HAPPENS
A focused excerpt matching this lab’s route; surrounding configuration and error handling are omitted.
02 / CHECK THE REAL RESPONSE
Choose a route, predict the result, then send the request.
No request sent yet.
Status, content type and elapsed time come from this browser request. They are not server-performance benchmarks. The display limits large responses.
Start at the top; return to the full app after each layer.
The URL chooses a path. Nginx can return a file, pass PHP work to FastCGI, or proxy HTTP to another service. Not every request touches a database.
Inspect a static response →Practice variables, forms, loops and escaped output in the visual dojo. Its animations are browser simulations. Compare them with a real server calculation here.
Practice PHP →Here, Nginx proxies to Apache, which runs embedded PHP. The PHP-FPM route uses a separate PHP worker. These are two arrangements in this lab, not requirements for every deployment.
Compare Apache and FPM →An endpoint matches a route and returns a result. The health endpoint probes SQL Server with a 3-second timeout and reports the open reservation ledger depth. Try the address-translation lesson for input validation in C#.
Explore the C# calculation →Learn filtering and joins, then inspect the inventory returned by the real C# API. The SQL dojos use disposable browser data and simulated plans; inventory reads the lab’s SQL Server.
Start SQL basics →Roll Rush renders HTML in PHP using results from the C# API. Inventory lives in SQL Server; the tree diagram is a teaching model. Its reservation and reset actions change shared lab state.
Open Roll Rush →CHECK YOUR UNDERSTANDING
No. Nginx routes normal PHP pages to PHP-FPM. The separate /apache/ route goes to Apache. Roll Rush’s PHP code calls the C# service directly on the internal network.
A static health string stays green even when the database is down. This handler runs a 3-second bounded SELECT COUNT(*) FROM dbo.Reservations WHERE UndoneAtUtc IS NULL probe so this request reports a database failure instead of a successful health response.
No. A browser can send arbitrary input. Server validation and authorization decide what is accepted. Production writes also need appropriate access controls, concurrency rules and recovery; a classroom simulation is not proof of those controls.
No. It is a C# teaching model. Inventory queries use SQL Server, but the tree’s four-record splits and page layout are simulated to make the mechanics visible.
Route descriptions reflect this lab’s configuration. The drawings explain the architecture; they are not distributed tracing or CPU/RAM instrumentation.