Ephera@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 7 months agoSingle-Page Applicationlemmy.mlimagemessage-square118fedilinkarrow-up1512arrow-down131
arrow-up1481arrow-down1imageSingle-Page Applicationlemmy.mlEphera@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 7 months agomessage-square118fedilink
minus-squaregrue@lemmy.worldlinkfedilinkEnglisharrow-up10arrow-down14·7 months ago> implying there’s a “right way” to build an SPA.
minus-squaretsonfeir@lemm.eelinkfedilinkarrow-up16arrow-down3·7 months agoThere 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-up7arrow-down9·edit-27 months agoWhat I’m saying is, there’s no right way to build a thing that is inherently wrong.
minus-squaretsonfeir@lemm.eelinkfedilinkarrow-up7arrow-down1·edit-27 months agoYou could build it with no input sanitation. That’s wrong.
minus-squaregrue@lemmy.worldlinkfedilinkEnglisharrow-up7arrow-down11·7 months agoEven 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·7 months agoI 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·7 months agoNot 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·7 months agoWhat 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·7 months agoThere’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.