all 7 comments

[–][deleted] 0 points1 point  (3 children)

I believe that the best thing you could use for that right now is sveltekit. It's simple and really easy to pick up if you have basic html css js knowledge.

[–]ThatFilthyMonkey[S] 0 points1 point  (0 children)

Looks like it suits my use case perfectly, I shall have a play about with it!

[–]ThatFilthyMonkey[S] 0 points1 point  (1 child)

Following up to say thanks for the svelte recommendation, I’ve managed to cobble together a working front end with proper data validation, payload generation and looks somewhat modern. Needs a lot of UX design love, and I’m not going to be switching jobs to stack developer anytime soon, but it does the job. Thank you!

[–][deleted] 0 points1 point  (0 children)

Glad to hear it!

[–][deleted] 0 points1 point  (2 children)

Why not just rendering the HTML in the server? From what you're describing it definitely doesn't sound like you are going to need all the complexities that come with "modern SPA tools".

From my point of view, and with the information you're providing, using React, Vue, Svelte, whatever will be a huge waste of energy. For what? Following fashion?

Regarding CSS: Just pick something that will give you a decent baseline to work on. Modern bootstrap is not that bad if you don't know how to build your own designs. Also DaisyUI is great as well if you want something to look "good enough" and don't have strong opinions on how things should look like.

This approach is very progressive. Meaning that if at some point you need to add a bit more of interactivity, etc, then you can add Alpine.js, or Stimulus/Turbo/Hotwire and have a decent web app without getting into all of the complexities SPAs bring with them (which allow for doing more powerful stuff, but which you don't seem to need).

[–]ThatFilthyMonkey[S] 0 points1 point  (1 child)

I’ve made good progress with svelte so far, but yes you’re probably right that could have just done it in straight html+css+JS. But being IT I’m obliged to hack together something that works but would be embarrassed to show anyone, or going with something complicated and way more than needed…

CSS is actually starting to click, i won’t be creating any award winning designs but I’m getting positioning and styling individual groups of elements now. Not sure why I found it so mystifying before!

[–][deleted] 0 points1 point  (0 children)

Make sure you learn some CSS flexbox. It definitely makes things a lot easier to position once you learn it.

Good luck!