15
submitted 1 week ago* (last edited 1 week ago) by gnutard to c/[email protected]

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!

top 10 comments
sorted by: hot top controversial new old
[-] [email protected] 20 points 1 week ago

Uhh, I may not be the sharpest software developer in the shed, but I'm not sure I understand what you're asking for here. By the sound of it, you're looking to build and deploy an entire e-commerce website without any JavaScript at all, correct? Which makes me more than a little curious about what you're expecting to use instead.

[-] [email protected] 18 points 1 week 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.

[-] [email protected] 11 points 1 week 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.

[-] [email protected] 6 points 1 week ago* (last edited 1 week 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.

[-] [email protected] 2 points 1 week ago* (last edited 1 week 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.

[-] [email protected] 3 points 1 week ago* (last edited 1 week ago)

Well, I don't think thats what OP had in mind but there is WebAssembly as well.

[-] gnutard 3 points 1 week ago* (last edited 1 week ago)

I'm just looking to have my users not use JS to shop at my store. I'm not too familiar with web dev terminology.

[-] [email protected] 2 points 1 week ago

If you're willing to accept JavaScript I'd recommend a Ghost setup. Pretty good platform once it's set up and easy to selfhost. Not sure you'll find a platform without JS for your use case tbh.

[-] [email protected] 2 points 1 week ago

I thought ghost was for blogging only

[-] [email protected] 3 points 1 week ago

That's definitely its focus, but if you want a very simple store it does support payments: https://ghost.org/help/ecommerce/

this post was submitted on 26 Jun 2024
15 points (80.0% liked)

Selfhosted

37809 readers
516 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS