搜尋套件、儲存庫與 APP 分類

套件詳情v0.6.0

divkit

開源的SDUI框架,用於伺服器驅動的應用程式更新、快速UI原型設計與跨平台佈局。

AndroidiOSmacOSWindowsLinux
近 30 天下載
495
喜歡數
65
Pub 分數
130

安裝套件

flutter pub add divkit

套件介紹

根據套件公開資料產生的選型評估,僅供參考。

DivKit 是一個開源的 SDUI(伺服器驅動 UI)框架,支援伺服器驅動的應用更新、快速 UI 原型設計以及跨平台的一致佈局。它允許開發者在伺服器上定義 UI 元件,並在 Android、iOS、macOS、Windows 和 Linux 上的 Flutter 應用中動態呈現。透過將 UI 邏輯與客戶端分離,DivKit 支援無需重新部署應用即可即時變更設計。該框架可透過簡單的 pub add 命令順暢整合至 Flutter,並為需要敏捷 UI 迭代與集中式設計控制的團隊提供彈性且可擴展的解決方案。

適用情境

  • 無需應用發佈即可動態更新使用者介面
  • 新介面設計的快速原型製作
  • 跨平台 UI 一致性
  • A/B測試與即時UI變體
  • 跨團隊的集中化設計管理

主要特色

  • 伺服器驅動的UI渲染
  • 多平台支援(Android、iOS、macOS、Windows、Linux)
  • 透過伺服器設定實現即時UI更新
  • 內建佈局和組件庫
  • 透過 pub 包輕鬆整合 Flutter

適合對象

  • 需要頻繁更新UI的團隊
  • 產品設計師與開發人員協作
  • 需要 A/B 測試功能的應用程式
  • 優先考慮跨平台一致性的專案
  • 專注於快速迭代的開發團隊

使用建議

  • 需要後端基礎設施來配置UI
  • 伺服器驅動架構的學習曲線
  • 伺服器端UI渲染可能存在的延遲
  • 對複雜原生互動的自訂有限
  • 對穩定伺服器通訊的依賴

原始 README

以下為關聯原始碼儲存庫的 README 原文快照,最新內容請造訪原始碼儲存庫。

DivKit Playground app

GitHub Stars License

DivKit 🐋 is an open source Server-Driven UI (SDUI) framework. It allows you to roll out server-sourced updates to different app versions. Also, it can be used for fast UI prototyping, allowing you to write a layout once and then ship it to iOS, Android, and Web platforms. DivKit is an excellent choice to start using server-driven UI in your project because it can be easily integrated as a simple view in any part of your app. At the starting point, you don’t need a server integration. You can include all JSON on the client-side to try it in a real-world application.

Also, we’ve made a sandbox for you to experiment with. You can try different samples in the web editor and see the results on the web or in the Android demo app, both of which are available on Google Play. We’ll publish the iOS demo app shortly. The UI in the demo can be updated live: the sandbox connects to the demo app via web sockets. You can use the DivKit website to find a lot of handy samples and documentation, but feel free to ask us anything here in the comments or via the Telegram community chat.

Documentation | Medium tutorial | Habr tutorial

Telegram: English-speaking chat | Чат на русском

Our clients

Yandex Browser Yandex Search Yandex Music Alice Voice Assistant Yandex Market Zen Smart Camera Yandex Realty Edadeal Mobile Ads SDK Yandex bank

Demo App

Get it on Google Play

Project structure

Client

Client side libraries for rendering UI on Android, iOS and Web.

Android, iOS, Web

Json-builder

Server side libraries for building JSON in DivKit format.

TypeScript, Kotlin, Python

Schema

JSON schema that describes DivKit data format.

Api Generator

Used for generating general Api for all platforms from Schema.

Test data

Samples and test data.

所屬分類

依賴

依賴清單 10 項

原始碼儲存庫

使用此套件的專案

暫無相關資料。