Replies: 1 comment
-
|
Hi @D-matz Thank's for reaching out, I somehow missed this message, sry about that. Even though hypergen supports extending vanilla django templates with live capabilities it's main focus is on replacing those with python rendered html in the style of And yes if you start writing django hypergen code you will run into many gotchas about how to structure the app as it's a different development model from vanilla django templates or react front end/django backend for instance. We have hundreds of hypergen liveviews running, serving 100.000's of users and have found what we feel are elegant solutions to most of the issues we've had with building on it. But we also built the thing, so we know it quite well :) Would love to hear you experience with blazor if you went that way. I spent the summer-vacation reading up on elixir/phoenix liveview and that feels really elegant. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi! Maybe dumb question, why isn't hypergen (or something like it) more popular? Are there gaps I'll run into if I try it?
I want to use python fhir-client with django, but it seems like I'd have to manually convert submitted form fields to the fhir-client python object, probably doable but a pain. What would be really nice is if you could work with python objects directly from the page. So I was considering C# instead because blazor server lets you include C# variables and functions in the html. So you could add a fhir Firely C# object and call some function with it without having to wire a url or anything up to parse a submitted form. I'd prefer python over C# but couldn't find anything like blazor server. Had no idea hypergen existed until stumbling over your comment https://news.ycombinator.com/item?id=42711387#42722375 while looking for a python version of blazor. So I guess my question is if people like blazor and like python why doesn't python have something like this?
One concern is blazor is more well known so there's more documentation and examples. I'd prefer to use django/python though. I might try hypergen and blazor and compare. But yeah just wondering why this isn't a big thing and if there are any complex parts that prevent it from being easy to use.
Beta Was this translation helpful? Give feedback.
All reactions