Ephera@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 2 年前Single-Page Applicationlemmy.mlimagemessage-square117fedilinkarrow-up1515arrow-down132
arrow-up1483arrow-down1imageSingle-Page Applicationlemmy.mlEphera@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 2 年前message-square117fedilink
minus-squaregrue@lemmy.worldlinkfedilinkEnglisharrow-up10arrow-down14·2 年前> implying there’s a “right way” to build an SPA.
minus-squaretsonfeir@lemm.eelinkfedilinkarrow-up16arrow-down3·2 年前There are a lot of standard practices like… using a router to load the content of your SPA according to the url.
minus-squaregrue@lemmy.worldlinkfedilinkEnglisharrow-up8arrow-down9·edit-22 年前What I’m saying is, there’s no right way to build a thing that is inherently wrong.
minus-squaretsonfeir@lemm.eelinkfedilinkarrow-up7arrow-down1·edit-22 年前You could build it with no input sanitation. That’s wrong.
minus-squaregrue@lemmy.worldlinkfedilinkEnglisharrow-up6arrow-down11·2 年前Even a perfectly-built SPA is a thing that should’ve been a different kind of program (a native app or even something like Java Web Start) instead.
minus-squaretsonfeir@lemm.eelinkfedilinkarrow-up16arrow-down1·2 年前I strongly disagree, but I respect your opinion which was no doubt formed by different experiences with web technologies than I’ve had.
minus-squareintensely_human@lemm.eelinkfedilinkarrow-up1·2 年前Not that it’s inherently good or bad, but the heavier web apps get the more a browser represents a sort of virtualization environment that only runs one stack. I think that’s interesting.
minus-squaretsonfeir@lemm.eelinkfedilinkarrow-up1·2 年前What do you mean only runs one stack? Like front end framework? That would be the point. But it can communicate with any backend.
minus-squareandrew@lemmy.stuart.funlinkfedilinkEnglisharrow-up4·2 年前There’s no one right way. Saying there are wrong ways doesn’t imply the existence of one right way, though.
> implying there’s a “right way” to build an SPA.
There are a lot of standard practices like… using a router to load the content of your SPA according to the url.
What I’m saying is, there’s no right way to build a thing that is inherently wrong.
You could build it with no input sanitation. That’s wrong.
Even a perfectly-built SPA is a thing that should’ve been a different kind of program (a native app or even something like Java Web Start) instead.
I strongly disagree, but I respect your opinion which was no doubt formed by different experiences with web technologies than I’ve had.
Not that it’s inherently good or bad, but the heavier web apps get the more a browser represents a sort of virtualization environment that only runs one stack. I think that’s interesting.
What do you mean only runs one stack? Like front end framework? That would be the point. But it can communicate with any backend.
There’s no one right way. Saying there are wrong ways doesn’t imply the existence of one right way, though.