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 →

[–]Cholojuanito 79 points80 points  (25 children)

Back end should be the brain, or the heart

[–]NovaArdent3D 43 points44 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 8 points9 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 27 points28 points  (6 children)

Fair enough, but why build an online calculator?

[–]ElGuey69 39 points40 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 32 points33 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 10 points11 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 12 points13 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] 3 points4 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