Live data from Hacker News

Reflex – Web apps in pure Python

github.com

141–150 of 152 posts

Re: Reflex – Web apps in pure Python

#141
post #126

Django + Unicorn has a similar goal except: - you still use html and a templating language for the views - it mostly looks like old ssr code but you can transparently call methods on the server (like meteorjs) - you get one of the best ORMs in existence with great relationship handling and generated admins https://www.django-unicorn.com/examples/search Not 1.0 yet but I'm using it in production and omgosh is it easy…

This is kind cool. Closer than the Reflex thing to what I think would be cool. I wonder if anybody has made any kind of Python/Django system that lets you just write the front-end stuff in React but handles all the state synchronization stuff between React and your Python server.

This is that, just using django templating language instead of JSX.

Re: Reflex – Web apps in pure Python

#142
post #31

Worth noting is that this framework has telemetry [1] enabled by default [2] which gathers and sends off various information about your system unless you explicitly disable it. [1] https://github.com/reflex-dev/reflex/blob/919f239168d789056d... [2] https://github.com/reflex-dev/reflex/blob/919f239168d789056d...

"Why iy iy iy, don't you uuuuuuse it?"

Seriously tho, when one sees the first word of a Python project with the description "Performant", or a project put Out There by someone with a handle not linked to a bio (even a fake bio)...

Anyway, software regs ARE coming because The Way of software developers has not been obscured from public view for some time now and the (relatively) recent ransomware of municipalities and hospitals resulting in deaths along with serious tensions among global powers have made it a priority. How ironic is it that Microsoft is best positioned to play the gatekeeper role? https://noguiltlife.com/wp-content/uploads/2023/01/scie-fi-m...

Re: Reflex – Web apps in pure Python

#143

Earlier quoted context omitted.

How about tracking licenses or subscriptions sold and show that to investors?

How do you do that with an OSS project that's on GitHub?

By switching to a proprietary license for your proprietary product.

If we call things by their names, it's not surprising at all and actually makes solving the situation much easier.

Re: Reflex – Web apps in pure Python

#144

Earlier quoted context omitted.

I'm not sure I understand what you mean because we can already use Flask or Django in serverless functions on Vercel.

Python on Vercel is in beta and it's not their core competency: https://vercel.com/docs/concepts/functions/serverless-functi... . Vercel is synonymous with Next.js and JavaScript, not Python. Flask and Django also don't have full integration with React like Next.js (Because it's all JS) and Reflex (Feature of the framework) do. The value prop is very clear to me. Next.js is extremely popular for good reason, I see a…

Thank you

Re: Reflex – Web apps in pure Python

#145

My major complain here is that, as far as being a web framework there is precious little information here about the framework. How does this framework scale with multiple requests? What concurrency strategy is it using (threads, processes, actors, etc?). Is this opinionated (it doesn't seem so but it also doesn't say it isn't either). How does this work with popular libraries x,y,z. The full docs have a little bit mo…

I don't really understand how "stateless" fits in here. As in it's HTTP-based? As in it doesn't need a database behind it? What does stateless mean in this case? In general, I think the readme's not bad. I think the example is eye-catching, and I can imagine this would be really nice to make a prototype with. Whether or not it would scale well etc, yes, it would be good to have some of that detail. But I can see a re…

stateless in web frameworks means that requests don't alter state of the code for a user. If you look at say JSP with traditional Spring, it tracks the state of each user on the website, which page they are on, which flags they have, etc.

Re: Reflex – Web apps in pure Python

#146
post #126

Django + Unicorn has a similar goal except: - you still use html and a templating language for the views - it mostly looks like old ssr code but you can transparently call methods on the server (like meteorjs) - you get one of the best ORMs in existence with great relationship handling and generated admins https://www.django-unicorn.com/examples/search Not 1.0 yet but I'm using it in production and omgosh is it easy…

This is awesome.

Also check out https://laravel-livewire.com (PHP) and https://hotwired.dev (backend agnostic; there are implementations for Rails and Flask) and https://htmx.org

Re: Reflex – Web apps in pure Python

#147
post #142
post #31

Worth noting is that this framework has telemetry [1] enabled by default [2] which gathers and sends off various information about your system unless you explicitly disable it. [1] https://github.com/reflex-dev/reflex/blob/919f239168d789056d... [2] https://github.com/reflex-dev/reflex/blob/919f239168d789056d...

"Why iy iy iy, don't you uuuuuuse it?" Seriously tho, when one sees the first word of a Python project with the description "Performant", or a project put Out There by someone with a handle not linked to a bio (even a fake bio)... Anyway, software regs ARE coming because The Way of software developers has not been obscured from public view for some time now and the (relatively) recent ransomware of municipalities and…

Oh alright, no more quoting Duran Duran lyrics ("The Reflex", 1984) on Hacker News, even if Nick Rhodes did mainstream audio samplers hah

Hacker News is for serious discussions only --wow, already up to 119 comments already at https://news.ycombinator.com/item?id=36967829

"My-iy-iy time don't loooose it."

Re: Reflex – Web apps in pure Python

#148
post #45

Earlier quoted context omitted.

Good luck with that! I think using python for anything beyond a simple script or PoC, should be taken as a red flag in development and immediately revise that decision of using it.

Tell that to Netflix, youtube, instagram, quora, Uber and others.

Those are all realy slow websites and it's clear why.

Re: Reflex – Web apps in pure Python

#149
post #48

Why wouldn't it say nowhere (README, the website) what does it actually do and how? It's all marketing bullshit such as: Get up and running in seconds! Build web apps in minutes. Deploy with a single command. Build anything, faster. Create your whole app in a single language. Don't worry about writing APIs to connect your frontend and backend. This kind of shit might catch a manager's eye, not a developer's one.

Dude its pretty clear what it does just from scrolling down the readme. “Its just like php” if that helps you, but you can also write frontend state management and dynamic behavior right there in the “template”, all in Python.

According to the Project Structure docs, it seems to compile down to JS in the end, which is information that's missing from the README.

Re: Reflex – Web apps in pure Python

#150
post #59

$5 million raised for hosting? I honestly fail to understand the ways of VC despite a decade of trying to understand them.

VC looking for an aquihire payout. I haven’t looked, but perhaps some of the team is ex-FAANG and the VC is counting on a purchase price > $5mil.

Do aquihires go for that kind of money? I expect these to be much much lower.
Post reply on HN