• 16 Posts
  • 48 Comments
Joined 1 year ago
cake
Cake day: June 10th, 2023

help-circle









  • I think i missunderstood you I thought you were arguing for modern web frameworks. Nothing wrong with replacing elments with js and not sending it as a request to a server I would do the same for stuff that doesn’t need data from the server. If you are really worried about latency you could throw your code in a cloudflare worker but I don’t think it matters that much average loading time of websites on desktop is 2.5 seconds . So it doesn’t really matter if the server is on the other site of the world latency will not be the biggest factor.




  • If you know HTML and Python already I would recommend going for something like jinja2 + flask or fastapi and try some htmx stuff no need to use everything you can just refresh the site at the beginning. This should be pretty beginner friendly. It really depends on what you want to do. I don’t know much about Hugo or Publii. If you want to make an interactive website and not just a blog or static website I would advise you against using either of the two. If you want to get a job in frontend webdev I would advise you to learn javascript (https://javascript.info/) and some framwork like react also learn tailwind or css.


  • I understand you but for me it’s the opposite I am not bound to using js for everything and can just return html from the server like I want. Also everything else still works I can write js if I want to. Htmx gives me more words I can use in html not less. Also I can manage the state via the url and the server. In other frameworks I often had the problem that I was writing the same logic twice in backend and frontend.