flet icon indicating copy to clipboard operation
flet copied to clipboard

Add FAQ

Open FeodorFitsner opened this issue 3 years ago • 3 comments

https://www.reddit.com/r/FlutterDev/comments/wzs52c/i_am_a_python_dev_and_would_like_to_learn_to_code/ https://www.reddit.com/r/FlutterDev/comments/wzfbss/language_bindings/

FeodorFitsner avatar Aug 28 '22 18:08 FeodorFitsner

Flutter: https://www.youtube.com/watch?v=lHhRhPV--G0 Flet is a server driven UI, which means that the server decides what the client should display via a JSON payload and the app displays it (so logic is on the server). The client is a universal flutter app, so you don't ever have to setup a Flutter environment and build one.

Downsides compared to native flutter, is it's responsiveness is dependent on server latency, widgets have to be implemented by the Flet developers, and distribution to native clients if you don't want to use the client-server model can be complicated by the fact that you need to distribute a companion server on the client machine. I believe Flet will help with this process, but I'm not familiar with it. If you run it in web mode, there is about a 2MB initial download, but this is the same drawback as native flutter.

Upsides, for me at least, is much easier setup than even flutter, 100% Python development, and for my use case at least, I can give the server access to all my existing server code directly, so no developing an API layer, as it is a combined API and UI layer, and I get all the distribution targets out of the box (mobile distribution should get better)

In depth discussion: https://www.youtube.com/watch?v=kxsLRRY2xZA

FeodorFitsner avatar Sep 04 '22 06:09 FeodorFitsner

https://maikklein.github.io/unreal-rust-1/

It's not a transpiler. It's not 1:1 mapping. Server-driven. Replaces Dart+Backend server with Python. How regular SPA/mobile clients done? Tell about replacing backend servers, pros and cons. Auth, pub-sub, database -any, user management is coming.

FeodorFitsner avatar Sep 05 '22 05:09 FeodorFitsner

Can I use any Python library with Flet?

FeodorFitsner avatar Oct 07 '22 01:10 FeodorFitsner