/Small

A small framework to split app into small parts

Primary LanguageJavaApache License 2.0Apache-2.0

Small

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

Join the chat at https://gitter.im/wequick/Small License Apache2.0

支持平台:Android API 8(2.2)+ iOS 7.0+

Small

功能

  • 完美内置
    • 所有插件支持内置于宿主包中
  • 高度透明
    • 插件编码、布局编写方式与独立应用开发无异
    • 插件代码调试与整包开发无异
  • 极致剪裁
    • 对插件分离所有一切能分离的公共代码、资源
  • 无缝链接
    • 通过设定URI,宿主、本地化应用插件、本地化web插件、在线网页,以及任何自定义的插件之间能够相互调起与传递参数
  • 跨平台
    • 目前已支持AndroidiOS以及html5插件。并且三者之间可以通过同一套Javascript接口进行通信。

文档

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

协议

Apache License 2.0

重要入口贴三遍

Android Android Android

iOS iOS iOS

以下装逼请忽略

A small framework to split an app into small parts.

Features

  • Perfection built-in
    • All plugins are supported to build in host application.
  • Highly transparent
    • The plugin codings (code, layout, etc.) are the same as a single application.
    • Support plugin debugging just like a completion application.
  • Ultimate slicing
    • Splits out any shared code 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 through a uniform JavaScript interface.

Getting Started

Documentation

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

License

Apache License 2.0