首页 存档 技术 查看内容

Small:强大的轻量级Android插件框架 以下装逼请忽略

2018-3-30 13:00 |来自: 互联网 406 0

摘要: 本项目选自《开发者头条》1 月 13 日最受欢迎文章 Top 3,作者 wequick ,感谢 Juude-Song 分享。 欢迎分享:http://toutiao.io/contribute 世界那么大,组件那么小。Small,做最轻巧的跨平台插件化框架。 支持平台 ...

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

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

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


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

功能

  • 完美内置

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

  • 高度透明

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

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

  • 极致剪裁

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

  • 无缝链接

    • 通过设定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 ** uri.

  • Cross platforms

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


Getting Started

  • Android


Documentation

The development details and the code principles are on Small Wiki.


License

Apache License 2.0

更多优质内容,欢迎安装、使用《开发者头条》iOS、Android 客户端。

体验地址http://toutiao.io/download

本文转载自:微信公众账号 - developerWorks,版权归原作者所有!

声明:文章版权归原作者所有 部分文章转自互联网 如有侵权请联系 [邮箱地址] 删除

路过

雷人

握手

鲜花

鸡蛋

相关分类

返回顶部