最輕巧的移動跨平臺插件化框架:Small

jopen 8年前發布 | 21K 次閱讀 Small 移動開發

Small

世界那么大,組件那么小。Small,做最輕巧的跨平臺插件化框架。

支持平臺:Android API 15(4.0.3)+ iOS 7.0+ 敬請期待

Small

功能

  • 完美內置
    • 所有插件支持內置于宿主包中
  • 高度透明
    • 插件編碼、布局編寫方式與獨立應用開發無異
    • 插件代碼調試與整包開發無異
  • 極致剪裁
    • 對插件分離所有一切能分離的公共代碼、資源
  • 無縫鏈接
    • 通過設定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.

Getting Started

Documentation

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

License

Apache License 2.0

項目地址: https://github.com/wequick/Small

 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!