Re:What Is Server-Driven UI?
by spyspy on Wednesday September 01, 2021 @01:53PM
(#28383310)
This is how the iOS NYT Crossword app works. We called it the Server View Model (SVM). The server and UI have "card" models that are described as protobufs and assembled and sent by the server when the user opens the app. The UI has tons of personalized data, so a purely native UI would require several fetches anyway. It allowed us to add features like "From The Archive" in a few days without a formal app store release.
Admittedly it was a weird DSL and I can't say for sure I'd do it again.
Re:What Is Server-Driven UI?
by ruckstar on Wednesday September 01, 2021 @02:05PM
(#28383488)
It's tough to get right, but very powerful when implemented well. It probably shouldn't be used everywhere but for certain use cases it makes a lot of sense and solves some problems unique to native apps.
Admittedly it was a weird DSL and I can't say for sure I'd do it again.