4 ms·
DivKit – Server-driven UI framework
- tundrax 4y agoYandex just recently open-sourced this framework.
- yeeyeeyee 4y 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-airbnbs-server-driven-ui-system-842244c5f5 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.
- gbanfalvi 4y agoWould be good if they had some documentation on how they handle high latency and no connectivity situations.
- syntezzz 4y agoYou 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.