News for hackers. Stuff that matters.
Re:Breaking up with JavaScript front ends by kaba0 on Sunday December 11, 2022 @03:37AM (#33941386)
Things change. Just because it was originally made for documents doesn’t mean that it hasn’t undergone such huge changes that it can literally drive FPS games at 60fps without a sweat. And I say that as someone who really doesn’t like many of the underlying abstractions, imo CSS+HTML are just thoroughly badly designed, none of them would be whole without the other resulting in extreme close coupling (layouting for example cannot be done without the other).

Also, should I really download a random exe to order a pizza? Plus, especially because the protocol is stateless a web app makes so much more sense (then replicating the state at the backend side).

Re:Breaking up with JavaScript front ends by traverseda on Sunday December 11, 2022 @08:22AM (#33942915)
Ordering a pizza can be done with static pages and some forms.

You want to make photoshop or a CAD program? That is an app. You want to order a pizza? Just use html and forms, maybe javascript to reload the progress page once per minute. (You don't need websockets or SSE or anything to check pizza progress)

Re:Breaking up with JavaScript front ends by xupybd on Sunday December 11, 2022 @07:04PM (#33949070)
The browser is a sandbox. It requires no install or approval from IT to install a web page. You don't have to go through and app store.

It has huge value as a delivery platform.

Re:Breaking up with JavaScript front ends by xupybd on Sunday December 11, 2022 @11:29PM (#33950878)
Gah, it's too late for an edit. That should read "an app store".

Sorry.

Re:Breaking up with JavaScript front ends by dormento on Monday December 12, 2022 @12:29PM (#33957462)
> maybe javascript to reload the progress page once per minute

Not even that, as there is meta refresh :)

Re:Breaking up with JavaScript front ends by SturgeonsLaw on Sunday December 11, 2022 @10:30PM (#33950537)
> Also, should I really download a random exe to order a pizza?

That's where mobile seems to be heading, McDonalds would like you to download their app to order a burger