Live data from Hacker News

Hyperflask – Full stack Flask and Htmx framework

hyperflask.dev

91–100 of 160 posts

Re: Hyperflask – Full stack Flask and Htmx framework

#91
post #17

Hello, author of hyperflask here. I'm happy to finally announce this project as I've been working on it for quite some time. I made an announcement post here: https://hyperflask.dev/blog/2025/10/14/launch-annoncement/ I love to hear feedback!

Why sqlorm and not sqlalchemy? I've been out of the Python dev space for a long time (maybe it shows), but I thought everyone used SQLAlchemy, and I never heard off sqlorm.

I loathe sqlalchemy

Re: Hyperflask – Full stack Flask and Htmx framework

#92

Some interesting concepts: - Components: https://hyperflask.dev/guides/components/ - Bundling view and controller in the same file: https://hyperflask.dev/guides/interactive-apps/ I think these may be footguns though. Components for example are just a regular macros under the hood. Why not use macros then? I'm also curious about the choice of Flask. I started with a similar approach for /dev/push [1], but ended up mo…

> Bundling view and controller in the same file

It reminds me of how PHP development used to be back in the day. That's not meant as a bad thing, I always liked how simple it made the development process for the right size project.

Re: Hyperflask – Full stack Flask and Htmx framework

#93

Earlier quoted context omitted.

yo, i'm the htmx guy this looks awesome!

Love your work. I wanted what it does in like 2007... always felt like extending HTML more was the way it should have gone, instead of the JS hell we spent over a decade in instead. Your work makes me feel like I'm not an idiot, and that my ideas were somewhat valid!

I feel you. Same here... :care:

Re: Hyperflask – Full stack Flask and Htmx framework

#94

Earlier quoted context omitted.

You mean I should be storing the state of a popup menu in my database?

Correct. That's literally what happens with the scroll position, and share modal in this demo (QR code is generated on the fly on the backend): https://checkboxes.andersmurphy.com

300ms of latency to click a checkbox is a horrible experience, though.

Re: Hyperflask – Full stack Flask and Htmx framework

#96

Earlier quoted context omitted.

Why sqlorm and not sqlalchemy? I've been out of the Python dev space for a long time (maybe it shows), but I thought everyone used SQLAlchemy, and I never heard off sqlorm.

I loathe sqlalchemy

Why?

Re: Hyperflask – Full stack Flask and Htmx framework

#97
post #67

Earlier quoted context omitted.

alright, everyone - let's send 10Tbps to SQLify to test the performance of emixam's new framework

I would be glad having some users on this project but that would definitely kill it !

haha no worries, it's a great site, though! congrats!

Re: Hyperflask – Full stack Flask and Htmx framework

#98
post #87

Earlier quoted context omitted.

Why sqlorm and not sqlalchemy? I've been out of the Python dev space for a long time (maybe it shows), but I thought everyone used SQLAlchemy, and I never heard off sqlorm.

sqlorm is a new orm developed as part of hyperflask. I use sqlalchemy daily, it's an amazing library, but I wanted something more lightweight and straightforward for this project. I find the unit of work pattern cumbersome

Considered peewee?

Re: Hyperflask – Full stack Flask and Htmx framework

#99
post #4

Curious choice of backend python. Indeed Flask is a famous python framework but it seems it has been completely overshadowed by FastAPI. I would suggest "HyperFastAPI"

After using both Flask and FastAPI extensively I can attest that Flask is the better technology. Flask is extremely stable and has solid organization around them via Pallets. This is a great benefit as they are keeping the ecosystem moving forward and stable. https://palletsprojects.com/ Versus FastAPI which is lead by a single maintainer which you can search back on HN about opinions on how he's led things. Flask al…

Flask is old. It's mature, nothing left to add, little if anything remains to fix because nothing is really broken. OTOH its static typing story is pretty weak, and this is likely unfixable by design. Its use of one-letter global objects also feels a bit weird.

It's the "choose boring technology" poster child, of sorts: get things done reliable, without using any design younger than 15 years ago.

Post reply on HN