News for hackers. Stuff that matters.
Re:What Is Server-Driven UI? by traverseda on Wednesday September 01, 2021 @01:30PM (#28382929)
What? Why isn't it an embedded web app at that point?
Re:What Is Server-Driven UI? by ruckstar on Wednesday September 01, 2021 @02:02PM (#28383453)
Embedding a web view has a ton of tradeoffs. A good implementation of SDUI will support all the native platform features like accessibility, dark mode, localization. Not to mention the user experience is much more natural when the SDUI implementation is rendered using the same frameworks as the rest of the app.
Re:What Is Server-Driven UI? by realusername on Wednesday September 01, 2021 @01:37PM (#28383044)
For performance reasons
Re:What Is Server-Driven UI? by marstall on Wednesday September 01, 2021 @01:49PM (#28383248)
doubt it's much faster for just rendering a list - and you get a lot less than webview offers - html, css, svg, javascript etc etc.
Re:What Is Server-Driven UI? by krzyzanowskim on Wednesday September 01, 2021 @02:10PM (#28383546)
web app won't integrate like native components can. here, it uses idioms of iOS and Android UI including navigation etc. It's just doesn't have this feeling of foreign component. In addition you get no-cost UI update for never/older system versions (since it uses platform components). Not trying to mimick platform.
Re:What Is Server-Driven UI? by smoldesu on Wednesday September 01, 2021 @03:11PM (#28384310)
No-cost UI updates are UB, not some gift that you should take for granted. If your program is liable to change without your consent or control in the foreseeable future, I'd consider that a bug.
Re:What Is Server-Driven UI? by krzyzanowskim on Wednesday September 01, 2021 @03:23PM (#28384457)
I've meant platform UI changes, like when iOS changes how button looks from version to version etc.