当前位置:网站首页>同构+跨端,懂得小程序+kbone+finclip就够了!
同构+跨端,懂得小程序+kbone+finclip就够了!
2022-07-06 15:38:00 【InfoQ】
- 它不需要安装,支持热更新。
- 具备多个Web视图以提高性能。
- 它提供了一些通过原生路径访问操作系统功能(原生接口)或数据的机制。
- 它的内容通常更值得信赖,因为应用程序需要由平台验证。
什么是kbone?
- 大部分流行的前端框架都能够在 kbone 上运行,比如 Vue、React、Preact 等。
- 支持更为完整的前端框架特性,因为 kbone 不会对框架底层进行删改(比如 Vue 中的 v-html 指令、Vue-router 插件)。
- 提供了常用的 dom/bom 接口,让用户代码无需做太大改动便可从 Web 端迁移到小程序端。
- 在小程序端运行时,仍然可以使用小程序本身的特性(比如像 live-player 内置组件、分包功能)。
- 提供了一些 Dom 扩展接口,让一些无法完美兼容到小程序端的接口也有替代使用方案(比如 getComputedStyle 接口)。
什么情况使用kbone较好?
Hybird App开发者的福音
- 具备跨平台的能力,一套代码可以在 iOS 与 Android 两个平台中运行;
- 远超过 H5 的体验(支持本地缓存,Webview,有丰富的组件与支持库);
- 能获取更多系统权限,完成更加丰富的产品设计;
- 可以避免 DOM 泄露(不使用常用的 window 对象与 document 对象);
- 包尺寸有效减少,节省流量和存储
- 服务不再受发版所限制,支持热更新
跨端开发组合拳:小程序+kbone+finclip


边栏推荐
- 关于声子和热输运计算中BORN电荷和non-analytic修正的问题
- Dayu200 experience officer runs the intelligent drying system page based on arkui ETS on dayu200
- Balanced Multimodal Learning via On-the-fly Gradient Modulation(CVPR2022 oral)
- QT signal and slot
- 【无标题】
- 案例推荐丨安擎携手伙伴,保障“智慧法院”更加高效
- Redis persistence mechanism
- What are the specific steps and schedule of IELTS speaking?
- MySQL中正则表达式(REGEXP)使用详解
- The problem that dockermysql cannot be accessed by the host machine is solved
猜你喜欢
Improving Multimodal Accuracy Through Modality Pre-training and Attention
自定义 swap 函数
【全网首发】Redis系列3:高可用之主从架构的
Enterprises do not want to replace the old system that has been used for ten years
Improving Multimodal Accuracy Through Modality Pre-training and Attention
Thinkphp5 multi table associative query method join queries two database tables, and the query results are spliced and returned
On file uploading of network security
rust知识思维导图xmind
docker中mysql开启日志的实现步骤
Word2vec (skip gram and cbow) - pytorch
随机推荐
The ceiling of MySQL tutorial. Collect it and take your time
室内LED显示屏应该怎么选择?这5点注意事项必须考虑在内
Unified Focal loss: Generalising Dice and cross entropy-based losses to handle class imbalanced medi
Let's see through the network i/o model from beginning to end
[step on pit collection] attempting to deserialize object on CUDA device+buff/cache occupy too much +pad_ sequence
docker中mysql开启日志的实现步骤
第十九章 使用工作队列管理器(二)
关于声子和热输运计算中BORN电荷和non-analytic修正的问题
On file uploading of network security
欧洲生物信息研究所2021亮点报告发布:采用AlphaFold已预测出近1百万个蛋白质
企业不想换掉用了十年的老系统
Unified Focal loss: Generalising Dice and cross entropy-based losses to handle class imbalanced medi
CRMEB商城系统如何助力营销?
Jafka source analysis processor
Precise drag and drop within a contentable
Plafond du tutoriel MySQL, bien collecté, regardez lentement
OpenSSL: a full-featured toolkit for TLS and SSL protocols, and a general encryption library
Word2vec (skip gram and cbow) - pytorch
Aardio - Method of batch processing attributes and callback functions when encapsulating Libraries
Aardio - construct a multi button component with customplus library +plus