Ephera@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 9 months agoSingle-Page Applicationlemmy.mlimagemessage-square117fedilinkarrow-up1522arrow-down131
arrow-up1491arrow-down1imageSingle-Page Applicationlemmy.mlEphera@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 9 months agomessage-square117fedilink
minus-squaregrue@lemmy.worldlinkfedilinkEnglisharrow-up10arrow-down14·9 months ago> implying there’s a “right way” to build an SPA.
minus-squareTherouxSonfeir@lemm.eelinkfedilinkarrow-up16arrow-down3·9 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-up8arrow-down9·edit-29 months agoWhat I’m saying is, there’s no right way to build a thing that is inherently wrong.
minus-squareTherouxSonfeir@lemm.eelinkfedilinkarrow-up7arrow-down1·edit-29 months agoYou could build it with no input sanitation. That’s wrong.
minus-squaregrue@lemmy.worldlinkfedilinkEnglisharrow-up7arrow-down11·9 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-squareTherouxSonfeir@lemm.eelinkfedilinkarrow-up16arrow-down1·9 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·9 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-squareTherouxSonfeir@lemm.eelinkfedilinkarrow-up1·9 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·9 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.