01 / 08
The web is only handing files about
The last of chapter 12 at last. The top of the three rungs: do the contents come back.
1. ping is the machine alive? yes2. netstat is the door open? yes3. wget do the contents come back? <- todayFirst let us be plain about what the web is.
> The web is an arrangement for asking for a file and receiving it
That really is all.
you "may I have /index.html"them "here you are" (the contents)The files you have handled since chapter 1 are simply flowing along.
The asking side and the handing side have names.
the handing side the server (one who serves)the asking side the client (the customer)A browser is the customer. Today you do both.
httpd the one who hands out (the server)wget the one who asks (the client)The fun of it is that both are only commands. Nothing special.
the websites of the world do the same thingThe scale and the cleverness differ, but the core is "ask for a file and receive it". Run it with your own hands today and that core goes into you.