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


边栏推荐
- mysql查看表结构的三种方法总结
- ACL 2022 | 序列标注的小样本NER:融合标签语义的双塔BERT模型
- Balanced Multimodal Learning via On-the-fly Gradient Modulation(CVPR2022 oral)
- MySQL中正则表达式(REGEXP)使用详解
- OpenNMS separation database
- Introduction to network basics
- Case recommendation: An Qing works with partners to ensure that the "smart court" is more efficient
- MySQL实现字段分割一行转多行的示例代码
- Dockermysql modifies the root account password and grants permissions
- CRMEB商城系统如何助力营销?
猜你喜欢

Enterprises do not want to replace the old system that has been used for ten years

#DAYU200体验官# 首页aito视频&Canvas绘制仪表盘(ets)

Signed and unsigned keywords
![[unity] upgraded version · Excel data analysis, automatically create corresponding C classes, automatically create scriptableobject generation classes, and automatically serialize asset files](/img/08/1636ae909e7cc70ddf975d2e3122cd.png)
[unity] upgraded version · Excel data analysis, automatically create corresponding C classes, automatically create scriptableobject generation classes, and automatically serialize asset files

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

【全网首发】Redis系列3:高可用之主从架构的

Motion capture for snake motion analysis and snake robot development

Traversal of a tree in first order, middle order, and then order

ACL 2022 | 序列标注的小样本NER:融合标签语义的双塔BERT模型

Slide the uniapp to a certain height and fix an element to the top effect demo (organize)
随机推荐
Demonstration of the development case of DAPP system for money deposit and interest bearing financial management
[leetcode] 19. Delete the penultimate node of the linked list
Aardio - integrate variable values into a string of text through variable names
On the problems of born charge and non analytical correction in phonon and heat transport calculations
Jafka来源分析——Processor
做国外LEAD2022年下半年几点建议
Config:invalid signature solution and troubleshooting details
Windows auzre background operation interface of Microsoft's cloud computing products
MySQL authentication bypass vulnerability (cve-2012-2122)
[compilation principle] LR (0) analyzer half done
Let's see through the network i/o model from beginning to end
Case recommendation: An Qing works with partners to ensure that the "smart court" is more efficient
Extern keyword
Puppeter connects to the existing Chrome browser
How to choose the server system
Motion capture for snake motion analysis and snake robot development
金融人士必读书籍系列之六:权益投资(基于cfa考试内容大纲和框架)
「小程序容器技术」,是噱头还是新风口?
Mysql 身份认证绕过漏洞(CVE-2012-2122)
[unity] upgraded version · Excel data analysis, automatically create corresponding C classes, automatically create scriptableobject generation classes, and automatically serialize asset files