3 ms·
There is no single "right way". Instead, there are pros and cons to various solutions and your circumstances will value those pros/cons in a particular, persona
by genezeta 3y ago
There is no single "right way". Instead, there are pros and cons to various solutions and your circumstances will value those pros/cons in a particular, personal way. This will make a few of those options be more suitable to your needs.
Other than that, you mention a few things which you should not really care about. E.g. a CDN or "deploying in the cloud" doesn't really make much sense at this stage. And no, you should not concern yourself about "webassembly" for this at all. Probably also, analytics.
In any case I think the main problem is that it's not really clear to me whether your main goal is to a. build the thing, b. use the thing, or c. both. But you should consider that a. will take quite a bit of effort and time, and it can easily end up taking away your willingness to do b. On the other hand, if your goal is b. then there are already many solutions available without building them yourself.
- MaltoonYezi 3y agoThat might be me just overthinking, lol Yeah, the goal in this case is: b. use the thing Even though, I feel like it's not the only website, I'll have to realize, I'd still want to spend as little time as possible on the site at the beginning. For example, I could use a personal website template, replace with my information. Output it in different languages depending on user's location. A small node solution could be used: https://openjavascript.info/2023/01/23/serve-static-files-in-node-js-with-express/ https://openjavascript.info/2023/01/23/serve-static-files-in... https://www.npmjs.com/package/geoip-lite https://www.npmjs.com/package/geoip-lite and It'll be good enough for starters. Later, just use Netlify CMS in order to have a blog: https://www.youtube.com/watch?v=4wD00RT6d-g https://www.youtube.com/watch?v=4wD00RT6d-g
- genezeta 3y ago> and It'll be good enough for starters That is the key. Start with something simple. Yes, a template is a good idea. If you want to go just one step farther, a static site generator may be better. There are dozens (hundreds [0]) of them, from quite simple to more complex. Start with something simple where you write your content in Markdown and you can easily change to a different SSG if it turns out you don't like the one you chose. [0] https://staticsitegenerators.net/ https://staticsitegenerators.net/ (Note: that list is overwhelming; you don't need to go through it. Order by popularity and look at the top 3-5 at most. Hugo, Jekyll, Gatsby... Personally I'm using Zola [ https://www.getzola.org/ https://www.getzola.org/ ] for a couple of sites, but that's just me.)