Small:轻巧的跨平台插件化框架

来源:互联网 发布:php 虚拟主机ip配置 编辑:程序博客网 时间:2024/05/22 18:02

Small

世界那么大,组件那么小。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

iOS iOS iOS

以下装逼请忽略

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.

Getting Started

  • Android
  • iOS

Documentation

The development details and the code principles are onSmall Wiki.

License

Apache License 2.0

0 0