The business customer or the visitor?
The visitor doesn’t exactly have a way to give feedback on whether they’d use a static page.
Stuff like file uploads, validated forms and drag and drop are just not worth the effort of providing them without JS.
Honestly many of today’s frameworks allow you to compile the same thing for the Web, for Java for Android, for Java for main desktop OS’es and whatever else.
Maybe if it can’t work like a hypertext page, it shouldn’t be one.
cupcakezealot@piefed.blahaj.zone 2 weeks ago
file uploads and forms are the easiest to do server side
XM34@feddit.org 2 weeks ago
Not if you want them to be at least halfway user friendly. Input field valudation is terrible when done completely server side, and several input elements like multiselect dropdowns, comboboxes and searchfields won’t work at all unless supported by client side JavaScript. And have you ever tried to do file previews and upload progress bars purly serverside?
The_Decryptor@aussie.zone 2 weeks ago
It depends on the type of input validation you’re doing, a bunch of it is built into the browser and you don’t need JS for it.
rottingleaf@lemmy.world 2 weeks ago
So - the situation is understood, but the question arises, what does this have in common with a global hypertext system for communication.
Maybe all this functionality should be removed into a kind of plugin, similarly to how it was done with Flash and Java applets and other ancient history. Maybe sandboxed, yes.
Maybe the parts of that kind of plugin relating to DOM, to execution, to interfaces should be standardized.
Maybe such a page should look more like a LabView control model or like a Hypercard application, than what there is now.
One huge benefit would be that Google goes out of business.
possiblylinux127@lemmy.zip 2 weeks ago
It depends on what you are doing