Post 1973036 by outkine@fosstodon.org
(DIR) More posts by outkine@fosstodon.org
(DIR) Post #1973036 by outkine@fosstodon.org
2018-12-14T03:48:06Z
0 likes, 0 repeats
Today I finally realized something I should have realized a long time ago: *the concept of a backend generating html is fundamentally incompatible with modern day sites*. All modern backends should just be apis, which seems like it leads to worse code but really there's just no other way.
(DIR) Post #1973037 by crushv@letsalllovela.in
2018-12-14T03:49:05.057833Z
1 likes, 0 repeats
@outkine how do you accommodate for stuff like OpenGraph meta tag fetching?
(DIR) Post #1973173 by p@freespeechextremist.com
2018-12-14T03:56:51.990625Z
1 likes, 3 repeats
@crushv @outkine HTML, as a hyptertext language, is actually better-suited than JSON for literally all of this. I agree that it should be APIs, but the APIs should be HTML: https://www.infoq.com/presentations/web-api-html
(DIR) Post #1973411 by djsumdog@hitchhiker.social
2018-12-14T04:10:33Z
3 likes, 3 repeats
@p @crushv @outkine Vue/React are essentially this concept. If you don't have Javascript enabled though, you get a blank page (unless you set a <noscript> message). I dunno, it might seem great, but I fucking hate it when sites give me a blank page for a blog post, with no dynamic content what so ever, because the author decided to write it all in React. Now everything is an electron app, which is just mindbogglingly terrible. What was once satire is now reality:https://www.destroyallsoftware.com/talks/the-birth-and-death-of-javascript
(DIR) Post #1973539 by p@freespeechextremist.com
2018-12-14T04:22:38.874253Z
0 likes, 0 repeats
@djsumdog @outkine @crushv It's horrifying, yeah.I went to a site in Thunderbird (where, for very good reason, I have JS disabled completely) and the site contained a <meta> tag to redirect to a "YOU HAVE TO ENABLE JS" page, so I couldn't even copy the link from the address bar. (w3m doesn't auto-redirect, luckily.) I think graceful degradation and any concept of security have gone by the wayside.It's also insanely slow! Especially on a phone. We'll all be forced to become Chuck Moore in twenty years' time if we don't tamp it down.
(DIR) Post #1998378 by outkine@fosstodon.org
2018-12-15T02:18:39Z
1 likes, 0 repeats
@crushv The meta tags wouldn't be rendered with something like vue - only the body would.