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


边栏推荐
- 华为云GaussDB(for Redis)揭秘第21期:使用高斯Redis实现二级索引
- MySQL中正则表达式(REGEXP)使用详解
- How to choose indoor LED display? These five considerations must be taken into account
- 让我们,从头到尾,通透网络I/O模型
- 【编译原理】做了一半的LR(0)分析器
- How to use flexible arrays?
- Hard core observation 545 50 years ago, Apollo 15 made a feather landing experiment on the moon
- 机试刷题1
- The difference between enumeration and define macro
- On the problems of born charge and non analytical correction in phonon and heat transport calculations
猜你喜欢

Mysql 身份认证绕过漏洞(CVE-2012-2122)

关于声子和热输运计算中BORN电荷和non-analytic修正的问题

#DAYU200体验官# 在DAYU200运行基于ArkUI-eTS的智能晾晒系统页面

cuda 探索

Case recommendation: An Qing works with partners to ensure that the "smart court" is more efficient

ICLR 2022 | pre training language model based on anti self attention mechanism

Aardio - Method of batch processing attributes and callback functions when encapsulating Libraries

Cocoscreator+typescripts write an object pool by themselves

Let's see through the network i/o model from beginning to end

企業不想換掉用了十年的老系統
随机推荐
The problem that dockermysql cannot be accessed by the host machine is solved
C# 三种方式实现Socket数据接收
ICLR 2022 | 基于对抗自注意力机制的预训练语言模型
CSDN 上传图片取消自动加水印的方法
[compilation principle] LR (0) analyzer half done
MySQL实现字段分割一行转多行的示例代码
企业不想换掉用了十年的老系统
服务器的系统怎么选者
Pytest unit test series [v1.0.0] [pytest execute unittest test case]
Puppeteer连接已有Chrome浏览器
Redis 持久化机制
Balanced Multimodal Learning via On-the-fly Gradient Modulation(CVPR2022 oral)
Improving Multimodal Accuracy Through Modality Pre-training and Attention
云原生技术--- 容器知识点
DevSecOps软件研发安全实践——发布篇
Mysql 身份认证绕过漏洞(CVE-2012-2122)
Aardio - integrate variable values into a string of text through variable names
DR-Net: dual-rotation network with feature map enhancement for medical image segmentation
DockerMySQL无法被宿主机访问的问题解决
Comparison between variable and "zero value"