Live data from Hacker News

Show HN: I built a Python web framework

github.com

1–10 of 127 posts

Re: Show HN: I built a Python web framework

#4
Wow I like it, simple like Flask, but with the HTML in the same file (as opposed to the jinja templates) which is a pattern I really like!

Makes me wonder if you could integrate this ambition to do the web-stuff in your Python file with the FastAPI/Pydantic BaseModel situation. Like a HTML templating library made out of Python data classes (or Pydantic BaseModels).

Either way, I respect the ambition! :) Always cool to see web stuff with Python.

Re: Show HN: I built a Python web framework

#7
I went over the docs and couldn’t find anything about state management and client/server actions.

I’m guessing this would be similar to LiveView? If so, I’m not sure Python will handle the concurrency as well as Elixir…

Edit: I see now that the goal is to compile this to JS, so I’m assuming it’s going to be quite the opposite of LiveView and will do everything on the client?

Re: Show HN: I built a Python web framework

#9
What is missing from the web framework space is a headless ui components merged with a db layer. Most of these frameworks repeat old patterns. Nothing has been able to break through and give us something truly revolutionary like Rails did.

Web frameworks need to be a visual medium where you can create ui using visual tools and the "backend" side of things merge seamlessly.

Post reply on HN