Settings

Theme

DivKit – Server-driven UI framework

divkit.tech

25 points by tundrax 3 years ago · 4 comments

Reader

yeeyeeyee 3 years ago

>IOS, Android, Web — update the interface of any applications directly from the server, without publishing updates.

Airbnb did this also https://medium.com/airbnb-engineering/a-deep-dive-into-airbn...

It feels bad that apps can just bypass the static analysis, versioning, etc. in app stores and just, say, push a malicious update out to everyone simultaneously. I guess that was always allowed in the Android/iOS app models. Seems wasteful to build all that other stuff into the stores though.

tundraxOP 3 years ago

Yandex just recently open-sourced this framework.

gbanfalvi 3 years ago

Would be good if they had some documentation on how they handle high latency and no connectivity situations.

  • syntezzz 3 years ago

    You can use DivKit with any network stack you'd like: from basic request-response to websockets or anything else. Framework provides libraries to serialize and deserialize UI on the server and client side. The way you want to transfer and store the data really depends on the app you're working on. For example, you wouldn't want to use the same approach for a list of articles and chat app.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection