You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am very much enjoying my Flet experience so far. I would like to have external sources (IoT, build servers, notifiers) push data into my Flet desktop app. I usually do this kind of ad hoc event aggregation with flask which is also serving the web front end. Since fletd is a web server and has its own event loop I figure that there must be a way to do everything in Flet.
I've looked at the architecture document and the protocol document and it's not clear to me how to have synchronous events from the outside be delivered to fletd and how to propagate those changes to a place where it ultimately calls .update() to change the UI. I'm guessing there could be a set of routes for external "web clients."
In time it'd be good for fletd to help with some request signature validation to make the whole system more secure for those who may deploy apps in the wild.
If this is already possible I'd appreciate some examples.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I am very much enjoying my Flet experience so far. I would like to have external sources (IoT, build servers, notifiers) push data into my Flet desktop app. I usually do this kind of ad hoc event aggregation with flask which is also serving the web front end. Since fletd is a web server and has its own event loop I figure that there must be a way to do everything in Flet.
I've looked at the architecture document and the protocol document and it's not clear to me how to have synchronous events from the outside be delivered to fletd and how to propagate those changes to a place where it ultimately calls .update() to change the UI. I'm guessing there could be a set of routes for external "web clients."
In time it'd be good for fletd to help with some request signature validation to make the whole system more secure for those who may deploy apps in the wild.
If this is already possible I'd appreciate some examples.
Many thanks again for the sterling work on Flet.
Beta Was this translation helpful? Give feedback.
All reactions