5 ms·
These frameworks are cute, and I understand the desire to avoid the modern SPA JavaScript build systems, but it always seems like so much more work than just wr
by red_hare 2y ago
These frameworks are cute, and I understand the desire to avoid the modern SPA JavaScript build systems, but it always seems like so much more work than just writing HTML.
I swear, HTML/CSS + Flask + HTMX gets you so far these days. Then, you can throw in some AlpineJS for any inter-element interaction you need and build a responsive SPA without almost any JavaScript.
- Sn3llius 2y agoRio Dev here. I can see where you're coming from. Seeing an experience web-dev work can be mindblowingly fast. But there's two sides to each story - there's tons of developers that are experts in their own fields but that aren't familiar with web technologies. That's where frameworks like Rio, streamlit, reflex, etc. come in. We've been getting a lot of reactions from people being surprised how quickly they can create Rio apps after just a few hours, when previously creating UIs was always a major roadblock for them. Seeing these reactions has been extremely rewarding.
- spankalee 2y agoAnd you don't even need build systems for modern SPAs. You can write web components in plain JS, load JS and CSS with standard module imports. Use bare import specifiers with import maps. Things have gotten much simpler.
- fkyoureadthedoc 2y agoAlpine is great for your blog, but it's not even a little bit tempting for real world professional projects. Looking back at every project I've worked on there's no shot I would ever select Alpine for any of them. These type of condescending comments really scream "I'm not even a web developer but here's my strong opinion as someone who only makes toy front ends to demo my data work"
- zem 2y agowould you use one of these python-to-web frameworks like rio though? I think gp was just saying alpine was a good alternative to that.
- fkyoureadthedoc 2y agoAlso 0 chance. Well maybe under some specific unrealistic constraints. But I am a fan of alternative approaches to the typical stuff just for the fun and learning aspect of it. I'd never come on here and be like "oh well that's cute, but it's useless, why can't we just x". For example I think Imba is pretty cool and I've used it for a couple throwaway personal projects just to give a spin, but I'd not use it at work.
- rmbyrro 2y agoAn undesired level of condescendence for a message against it, no? My first impression...
- pier25 2y agoBack in the day we did plenty of "real world professional projects" with jQuery. I don't see why you couldn't with Alpine. Yeah at some point you may need a more sophisticated solution but plenty of projects don't need React. This very forum you're using is just a very simple vanilla js file.
- ramesh31 2y ago>Back in the day we did plenty of "real world professional projects" with jQuery. And they were terribly unperformant, bug ridden, messes of spaghetti that I wouldn't wish on anyone in the year 2024. Things evolved past that for a reason.
- fkyoureadthedoc 2y ago> Back in the day we did plenty of "real world professional projects" with jQuery. I was there, it sucked
- robertoandred 2y agoFlask + HTMX + AlpineJS always seem like so much more work than just writing JavaScript.
- beretguy 2y agoAll of it is so much more work compared to PHP + HTML + CSS (and no JS).
- robertoandred 2y agoIs it? Why spend so much time learning PHP when you can just use JS?