您的位置:首页 > 业内资讯 > Small:强大的轻量级 Android 插件框架

Small:强大的轻量级 Android 插件框架

来源:developerWorks | 时间:2016-01-20 10:35:34 | 阅读:70 |  标签: developerWorks   | 分享到:

本项目选自《开发者头条》1 月 13 日最受欢迎文章 Top 3,作者 wequick ,感谢 Juude-Song 分享。

欢迎分享http://toutiao.io/contribute


世界那么大,组件那么小。Small,做最轻巧的跨平台插件化框架。


支持平台:Android API 15(4.0.3) iOS 7.0 敬请期待

Small:强大的轻量级 Android 插件框架

功能

  • 完美内置

    • 所有插件支持内置于宿主包中

  • 高度透明

    • 插件编码、布局编写方式与独立应用开发无异

    • 插件代码调试与整包开发无异

  • 极致剪裁

    • 对插件分离所有一切能分离的公共代码、资源

  • 无缝链接

    • 通过设定URI,宿主、本地化应用插件、本地化web插件、在线网页,以及任何自定义的插件之间能够相互调起与传递参数

  • 跨平台

    • 目前已支持Android、iOS以及html5插件。并且三者之间可以通过同一套javascript接口进行通信。


文档

开发细节、代码原理见 Small Wiki


协议

Apache License 2.0


重要入口贴三遍

Android Android Android


以下装逼请忽略

A small framework to split app into small parts.

Features

  • Perfect built-in

    • All plugins are support to build in host application.

  • Highly transparent

    • The plugin codings (code, layout, etc.) are as same as a single application.

    • Support plugin debuging just like a completion application.

  • Ultimate slicing

    • Splits out any shared codes and resources from plugins.

  • Seamless connection

    • The host, native app bundle, native web bundle, online web page and any custom bundle can launch and pass parameters to each other with a simple uri.

  • Cross platforms

    • Until now, we support android, iOS and html5 plugins. In addition, they can communicate with each other by an uniform javascript interface.

小编推荐阅读

好特网发布此文仅为传递信息,不代表好特网认同期限观点或证实其描述。

相关视频攻略

更多

扫二维码进入好特网手机版本!

扫二维码进入好特网微信公众号!

本站所有软件,都由网友上传,如有侵犯你的版权,请发邮件admin@haote.com

湘ICP备2022002427号-10 湘公网安备:43070202000427号© 2013~2024 haote.com 好特网