回归初心,从容器化到组件化

5星(超过95%的资源)
所需积分/C币:30 2016-09-29 14:12:32 1.14MB PDF
56
收藏 收藏
举报

该文档来自MDCC 2016中国移动开发者大会。冯森林发表了题为“回归初心,从容器化到组件化”的主题演讲,欢迎下载!
Modular Hardware Smartphones become modular Prototypes: Project Ara, Phonebloks Products: LG G5, Moto Z More devices are connected Smart accessories ( wristband, BT devices Connected devices(smart watch, home kits External hardware Secondary display Dock-hub with keyboard track-pad (or mouse) Modular Software Software becomes even more modular in an open ecosystem Android itself becomes more and more modular Assembly: Android Wear TV, 3rd-party ROm Pluggable: IME, TTS, Doc Provider, Notification Listener Forkable: Shared Library(Services Shared), System UI* ° Modular app ecosystem Launcher, Widget, Lock Screen, Live Wallpaper, Complication(Wear Google Docs Sheets Addons Community-driven: Tasker, Xposed, Nevolution, Island The future of mobile belongs to the union of small teams and individuals Modular App Architecture Every modular is a tiny app What is Modularity? Modules separated by certain level of isolation Characteristics Independent Interchangeable Interoperable ° The price Confine Contract Compatibility Why Modular ° Engineering Enforced decoupling for high-cohesion code Module-independent (parallel) development and testing Flexible integration, deployment upgrade The infamous64K methods limit ● Product Selective installation (light-weight initial install Hybrid-friendly(web native, mix and match Open to (3rd-party) extensions Basic solutions Java packages Pros: owest cost Cons: loose isolation Gradle library modules Pros: tool-chain support Cons: build efficiency Multiple APks Pros: build install time(development productivity Cons: Less user-friendly In-House Modular Frameworks Mainstream approaches in the wild Multi-Dex: Inject dex-elements Pros: Easy to implement, taking full advantage of aot &jIT Cons: Weak isolation Container: Proxy components by hooking. (DroidPlugin Pros: Direct APK loading Cons: Massive reflective hooking (prone to compatibility issues Semi-container: Transparent merge with class-loader proxy (Atlas) Pros: Light-weight, modest hooking, minimal module constraints Cons: Runtime android manifest lock-in The Adventure of Project Atlas(Taobao 1st gen(2012-2013): Container-based Goal: Fast and easy(business) plug-in integration across bUs Challenge: Compatibility(both ROM and plug-in 2nd gen(2013-2014): Semi-container Goal: Compatibility, reliability maintainability Benefits: 50%less code, 80% less reflective-hooking 3d gen: (2014-: Semi-container with flexible module management Goal: Deploy by module y Deploy-on-demand by ul pagelet (like web Benefits: Agile development, fast deployment, incremental installation

...展开详情
试读 23P 回归初心,从容器化到组件化
立即下载
限时抽奖 低至0.43元/次
身份认证后 购VIP低至7折
一个资源只可评论一次,评论内容不能少于5个字
panthole 好资源,值得学习一下
2018-07-04
回复
zzqhost 应该还可以吧, 上次下载的不见了。 冯老师是行业大神,一定要学习
2018-06-03
回复
ctyyxty 不错,挺好的有用
2018-05-27
回复
harveyhaha 好资源,值得学习一下
2018-05-13
回复
pzsgame 测试了下 不错哦
2018-03-03
回复
qq_31080071 不错,挺好的有用
2017-12-18
回复
icePhone 冯老师的ppt很高端
2017-09-26
回复
hnhou 好东西。。谢谢分享
2017-05-12
回复
reone tx for share
2017-02-03
回复
Shawon 冯老师的ppt很高端
2016-10-19
回复
您会向同学/朋友/同事推荐我们的CSDN下载吗?
谢谢参与!您的真实评价是我们改进的动力~
  • 签到新秀

  • 技术圈认证

关注 私信
上传资源赚钱or赚积分
最新推荐
回归初心,从容器化到组件化 30积分/C币 立即下载
1/23
回归初心,从容器化到组件化第1页
回归初心,从容器化到组件化第2页
回归初心,从容器化到组件化第3页
回归初心,从容器化到组件化第4页
回归初心,从容器化到组件化第5页

试读结束, 可继续读2页

30积分/C币 立即下载