DEV Community

Discussion on: Explaining Like I'm Five: Connecting Front and Backend Systems

Collapse
 
valeriavg profile image
Valeria

I don't remember where I saw it as it was really long ago, but the best comparison of front-end/backend is to a store.
As a customer you see shiny and light storefront, with all the things on the display. Storefront is the front-end. But every store has much more things hidden behind the personnel-only doors: a storage room, an office where they plan and manage things, a cleaning supply closet etc. Everything in the back is the back-end. Front and back-end communicate between themselves in the same way workers do in the store: front workers make a request to the back (e.g. scream from the top of their lungs). Back-end workers look for that thing that front wants for a bit and bring it to the front.

Collapse
 
akiramakes profile image
Akira

Thats fantastic. I especially appreciate the screaming at the top of their lungs. I'm going to think of that every time I write a fetch() request from now on :D