Live data from Hacker News

Reflex – Web apps in pure Python

github.com

61–70 of 152 posts

Re: Reflex – Web apps in pure Python

#61
post #56
post #47

Earlier quoted context omitted.

Where did you find this information?

F12 o Ctrl+U on most browsers

Most browsers are mobile so that won't work :)

I was hoping there is some technical explanation how the compilation step works (especially what do they do to event handlers) but their documentation is very light on details.

Re: Reflex – Web apps in pure Python

#62
I love this style of web development. I'll go to lengths to avoid doing anything {Java,Type}Script when building web applications. My last favorite was Seaside w/ Smalltalk – not quite the same thing as this project though (Seaside works mostly server side).

Re: Reflex – Web apps in pure Python

#63

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…

Their github repo README has the following: > Performant ...

Do we have benchmarks for this? More generally speaking, I don't see more technical differentiation besides it being a Python DSL. Nor do they provide numbers to back it up.

Re: Reflex – Web apps in pure Python

#64
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...

I haven't kept up with web framework type things in awhile—how commonplace is this? from here it looks kind of insane.

Re: Reflex – Web apps in pure Python

#66
post #27

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…

But there's emojis on the readme!

They even have that long bunch of meaningless badges to say that tests are passing or whatever!

Re: Reflex – Web apps in pure Python

#67
post #61
post #56

Earlier quoted context omitted.

F12 o Ctrl+U on most browsers

Most browsers are mobile so that won't work :) I was hoping there is some technical explanation how the compilation step works (especially what do they do to event handlers) but their documentation is very light on details.

Firefox on android allows you to inspect source.

You need to prefix the url, ie.

    view-source:https://news.ycombinator.com/

Re: Reflex – Web apps in pure Python

#68
post #38

I haven't worked with Python in many years now. Do people not use Django or Flask anymore? What's the recommended web stack, and where does this one fit in?

They're still good. The new one is FastAPI which is performant and supports concurrency, schema validation, and a few other modern nicities

And finally with pydantic 2 it's no longer using the slowest library for schema validation that existed!

Still not the fastest, but not the slowest at least.

Re: Reflex – Web apps in pure Python

#69

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…

Their github repo README has the following: > Performant ... Do we have benchmarks for this? More generally speaking, I don't see more technical differentiation besides it being a Python DSL. Nor do they provide numbers to back it up.

I agree we need some benchmarks working on getting this asap.

Re: Reflex – Web apps in pure Python

#70
post #66
post #27

Earlier quoted context omitted.

But there's emojis on the readme!

They even have that long bunch of meaningless badges to say that tests are passing or whatever!

We have 5 badges in total, and 1 of them to points to our integrations test passing. And the integration test do serve an important purpose in making sure we are compatible on multiple different os and don't make a change that would break WSL for example. More info here https://github.com/reflex-dev/reflex/tree/main/.github/workf...

The others are the current latest version, python version we support, how many people are on our discord (A metric to see community activity), and a badge that points to our docs. I think all of these are important but open to suggestions on ones you think would serve a better purpose.

Post reply on HN