Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Which web framework would you recommend?


I've preferred Python-based web frameworks lately. Django has been my primary go-to, but I'm starting to use FastAPI more for very simple web projects that I want up and running in literally 10 minutes (including deployment over ngrok).

I also subscribe to the HATEOAS principle and really like the idea of separating the visual and business logic layers so that I can mix-and-match technologies based on the problem domain. The glue layer I'm using is HTMX - it can be dropped in anywhere, allowing you to pair any templating language for the front-end with any general-purpose language on the back-end.

As an aside, I have a personal definition of "vibe-coding", which is when the language/framework is so good, that it pretty much gets out of the way and lets you solve the actual problem at hand, instead of wrestling with a language/framework/way of life/whatever. That's what Django/Python, HTMX, some Alpine.js and Tailwind (just the classes) have done for me


Interesting. I'll try something like HTMX + daisyUI when I get the chance, though I would prefer a programming language that has a type system (for the back-end).


Try pinggy.io for hosting once ;)


Not OP but literally Rails




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: