Hello,

I’m trying to setup an online computer store via YunoHost installed on my VPS. I’m okay with payments to be handled via a third party payment processor (who preferrably also has no JS, but I understand that is probably unlikely). I also have my domain up and running, so I’m ready to test whatever I can get.

TIA!

  • cmnybo@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    18
    ·
    5 days ago

    It sounds like he wants everything done server side like they did in the mid 90’s. It’s certainly possible, but it won’t result in a very good user experience. The whole page would have to reload to change anything on it.

    • undefined@links.hackliberty.org
      link
      fedilink
      English
      arrow-up
      6
      ·
      edit-2
      4 days ago

      To me it sounds like they want to host a store on Tor or i2p considering it’s typically recommended to disable JavaScript while browsing those networks due to security concerns.

    • lemmyvore@feddit.nl
      link
      fedilink
      English
      arrow-up
      12
      arrow-down
      1
      ·
      5 days ago

      That’s how Amazon works.

      If you think all the stores in the internet now are PWA’s you are sadly mistaken. MVC web apps are pretty well suited for things like shops and they never went away. There are entire languages and frameworks like PHP, Python, Java that actively support that style of app. It also lends itself really well to caching.

      I wouldn’t say it’s completely JavaScript free though. Client side JS is still extremely useful and attempting to make a store with zero JS might be a bit tough.

    • Deckweiss@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      5 days ago

      With a Blazor (serverside mode) project you could have that with a nice user experience. Blazor has a tiny js which initializes something, otherwiss it renders the site on the server and sends the component updates to the browser, so the whole site does not need to reload, only the relevant components (which is kind of interesting).

      Maybe there is some blazor serverside e-commerce project out there, I wouldn’t personally recommend it though.