当前位置:网站首页>同构+跨端,懂得小程序+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


边栏推荐
- ThreadLocal详解
- 儿童睡衣(澳大利亚)AS/NZS 1249:2014办理流程
- Motion capture for snake motion analysis and snake robot development
- [leetcode] 19. Delete the penultimate node of the linked list
- Extern keyword
- memcached
- HDU 5077 NAND (violent tabulation)
- Sizeof keyword
- ACL 2022 | small sample ner of sequence annotation: dual tower Bert model integrating tag semantics
- 云原生技术--- 容器知识点
猜你喜欢

DR-Net: dual-rotation network with feature map enhancement for medical image segmentation

How to choose indoor LED display? These five considerations must be taken into account

Adavit -- dynamic network with adaptive selection of computing structure

Aardio - construct a multi button component with customplus library +plus

儿童睡衣(澳大利亚)AS/NZS 1249:2014办理流程

企業不想換掉用了十年的老系統

C# 三种方式实现Socket数据接收
Dockermysql modifies the root account password and grants permissions

专为决策树打造,新加坡国立大学&清华大学联合提出快速安全的联邦学习新系统

浅谈网络安全之文件上传
随机推荐
Case recommendation: An Qing works with partners to ensure that the "smart court" is more efficient
docker中mysql开启日志的实现步骤
MySQL中正则表达式(REGEXP)使用详解
POJ 1094 sorting it all out
How to achieve text animation effect
【无标题】
Cloud native technology container knowledge points
Dayu200 experience officer runs the intelligent drying system page based on arkui ETS on dayu200
On the problems of born charge and non analytical correction in phonon and heat transport calculations
面试题:AOF重写机制,redis面试必问!!!
Bipartite graph determination
How to use flexible arrays?
Puppeteer连接已有Chrome浏览器
[IELTS speaking] Anna's oral learning record part1
2022-07-05 use TPCC to conduct sub query test on stonedb
Dockermysql modifies the root account password and grants permissions
[leetcode] 19. Delete the penultimate node of the linked list
ACL 2022 | 序列标注的小样本NER:融合标签语义的双塔BERT模型
three. JS gorgeous bubble effect
BasicVSR_PlusPlus-master测试视频、图片