2023-12-10, 10:50–11:20 (Asia/Taipei), NYCU
Declarative UI has become a helpful development method that eases the mental burden of developers working on mobile and web applications. Some frameworks utilize newly designed programming languages, such as Swift or Kotlin. With specific syntaxes, it is intuitive to incorporate declarative UI and imperative code. Python, with its relatively rigid syntax design, is it possible to have a declarative UI framework and other development features like hot-reload?
SwiftUI/Jetpack Compose/Flutter have their languages and environments; how about Python? This framework can turn any imperative UI framework into declarative flavor in vanilla Python workflow, using standard Python syntax without resorting to the parentheses trick or yet another DSL with limited expression. With preliminary support to multiple long-existing frameworks, including "Tkinter,", "PySide6," "Textual" in text mode, and the newly emerged Flutter-based "Flet," the PUI project also comes with generic UI expressions so that you can change the underlying framework without changing UI code. Based on the functional nature of declarative UI, hot-reload also becomes feasible.
Ask questions at slido
Yes, previous knowledge expected
Language –Mandarin talk w. English slides
Freelancer