Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
rutee071130470dI read "good anal orgies"' and it went downhill from there. Now "backend" means a different thing. I'm so sorry.
Oktokolo76270dThe frontend is the waiter and the backend is the cook. The menu is the UI.
User selects meal from the menu presented by the waiter. The waiter then tells the cook which meal has to be made. The cook creates the meal and the waiter takes it and presents it to the user. The user normally doesn't interact directly with the cook.
In general, the frontend is a translating proxy between the user and the backend.
The latter contains the business logic and maintains the persistent state of the system,
while the former ideally doesn't own any long-lived state but contains all the presentation logic and provides the UI.
bahua1285670dAn analogy would only serve to obscure a simple concept. Backend is dealing with storage and data, especially databases. Frontend is presenting HTML, nowadays mostly with an interpreted language to generate it.
Trying to analogize this is just mystifying it.
theuser484370dThe meal analogy is excellent, although I would use it for someone just starting out with programming, or CS or what have you. For O'l plumber Joe, I would move the waiter into the backend and simply say the food is the frontend and you would consume it with a tool. be it your hand or a door knob. If they ask about frontend (which is they have), I would not start throwing in UX and UI and all this stuff, frontend would simply be the UI and nothing more.
Also, the meal analogy does have one minor issue. What if, in the late 1950's, there is an nosy old hag complaining directly to the chef about a hair in her soup and the chef comes out and presents his immaculate bald dome? and also his shaved arms and beard, and lack of eyebrows. He is basically faultless.
theuser484370d@sweetnothings Oh I gotcha, then its all good. I will try out a slightly simplified meal analogy on plumber joe's.
go with a car analogy, how all the machinery that actually makes it run is filthy and oily and noisy, but it's all hidden under the cover of the interior and exterior plates of the vehicle.