News for hackers. Stuff that matters.
Re:Write code for the web - Apple doesn't care about you, Mr... by sodapopcan on Sunday February 04, 2024 @01:52PM (#39253147)
Keep your business logic on the server and use whatever language you want. I stick to vanilla JS and only use it for DOM manipulations. I try and leverage CSS for simple manipulations when I can. I don't go out of my way to, but it can do a lot these days.
Re:Write code for the web - Apple doesn't care about you, Mr... by aabbcc1241 on Saturday February 10, 2024 @01:54PM (#39329122)
Keeping this mindset, I encourage you try liveview in any language of your choice [1]. This approach allows you to handle business logics on the server, and update the screen in browser from the server as well.

[1] https://github.com/liveviews/liveviews

Re:Write code for the web - Apple doesn't care about you, Mr... by sodapopcan on Saturday February 10, 2024 @03:30PM (#39329915)
Ha, I’ve been a Phoenix LiveView zealot from almost day one, thank you much ;) <3