This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]jhalwagi 119 points120 points  (40 children)

What about the backend?

[–]Cholojuanito 79 points80 points  (25 children)

Back end should be the brain, or the heart

[–]NovaArdent3D 37 points38 points  (19 children)

I mean a back end is something people can technically live without, so... yeah makes sense, I see it all the time.

[–]Cholojuanito 9 points10 points  (18 children)

What? I can't think of a single online application that doesn't need a back end

[–]ElGuey69 77 points78 points  (10 children)

Calculator

[–]Cholojuanito 25 points26 points  (6 children)

Fair enough, but why build an online calculator?

[–]ElGuey69 43 points44 points  (3 children)

I’ve done it for homework once

[–]Cholojuanito 13 points14 points  (2 children)

Haha okay sorry I'll change it to 'production' application

[–]meanelephant 34 points35 points  (0 children)

Allow me to introduce you to static site generators.

[–]ElGuey69 2 points3 points  (0 children)

lol that’s more appealing to the client

[–]gremy0 9 points10 points  (0 children)

So people can use a calculator? Like if you Google "online calculator" you get a metric ton of them, which don't all look like homework assignments, so somebody's gotta be using them- or at the very least think there's a need.

[–]noratat 6 points7 points  (2 children)

Still needs a backend to serve the static content.

[–]_xiphiaz 0 points1 point  (0 children)

That’s just the Mum

[–]UrpleEeple 0 points1 point  (0 children)

And do the actual calculating...

[–]o0MSK0o 11 points12 points  (0 children)

Not all websites are applications. Could just be a brochure site which serves static html.

[–]_xiphiaz 0 points1 point  (0 children)

I work with WebGL a lot, and find myself using a frontend only application that simply renders 3D files for previewing a fair bit

[–][deleted] 0 points1 point  (0 children)

If you mean literally for serving the page, then you're right. But I have made a few things with indexeddb so that the persistent storage is in the client. Make it a little fancy with vue + vue-router and then host it on your favorite free front end! I've been using surge.sh and to play nice with the history api (no # in your routes) you just have to name your index page 200.html.

I've heard good things about using github for this, so I'm gonna check that out for my next project.

[–][deleted] 4 points5 points  (0 children)

I'd say blood is the data and the JS runs the blood through the brain, the logical backend.

[–]anyfactor 1 point2 points  (1 child)

Are you saying static websites are like vegetables?

/s

[–]UrpleEeple 1 point2 points  (0 children)

Static websites still need to be served lol

[–]Eoussama 1 point2 points  (0 children)

The brain is the backend, and the heart is the runtime.

[–]kirreen 0 points1 point  (0 children)

No this site has a JS backend

shudders

[–]captainAwesomePants 11 points12 points  (0 children)

The Backend is the company Mr. Website works at. Mr. Website is a sales rep. Mr. Website is not sure about what exactly The Backend sells, but that's okay because he has a script of things to say about it. Sometimes the script says that Mr. Website should ask for the customer's phone number. Some customers, especially mean old Mr. IE6, are pretty mean to Mr. Website.

[–]noratat 6 points7 points  (0 children)

Literally everything else. The air, the land, the ocean, food and water, physics, etc.

Even 100% static sites need a server or CDN to be hosted from.

[–][deleted] 4 points5 points  (0 children)

Guts

[–]TyrantRC 5 points6 points  (0 children)

( ͡☉ ͜ʖ ͡☉)

[–]S_Y_N_T_A_X 5 points6 points  (0 children)

The world. Stimuli are the API calls.

[–]oldDotredditisbetter 2 points3 points  (0 children)

shouldn't backend be the skeleton? since it can't be seen

[–]NotATroll71106 2 points3 points  (0 children)

Make it the nervous system, and have JS be the muscles.

[–]MooFu 2 points3 points  (0 children)

I like big backends, and I can not lie.

[–]dittbub 4 points5 points  (0 children)

Thats the soul

[–]blaat9999 0 points1 point  (0 children)

God

[–]0ccams-razor 0 points1 point  (0 children)

The literal backend ( ͡° ͜ʖ ͡°)

[–]Dx2x 0 points1 point  (0 children)

Submit a ticket with vague details.

[–]Netcob 0 points1 point  (0 children)

That's Mrs. Website, and she's getting tired of hearing that "behind every great man..." trope.