滴滴DoKit Android核心原理揭秘之AOP字节码实现

{"type":"doc","content":[{"type":"heading","attrs":{"align":null,"level":2},"content":[{"type":"text","text":"前言"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"最近DoKit V3.3.1版本已经发布了,新版本增加了很多重磅的功能,同时也在库的名字上对Androidx和Android support进行了区分。"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"具体的更新信息参考:"},{"type":"link","attrs":{"href":"https:\/\/github.com\/didi\/DoraemonKit\/blob\/master\/Doc\/android-ReleaseNotes.md","title":"xxx","type":null},"content":[{"type":"text","text":"DoKit Android版本信息"}]}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"感兴趣的小伙伴们赶快通过"},{"type":"link","attrs":{"href":"http:\/\/xingyun.xiaojukeji.com\/docs\/dokit\/#\/androidGuide","title":"xxx","type":null},"content":[{"type":"text","text":"Android参考文档"}]},{"type":"text","text":"去升级体验吧。"}]},{"type":"heading","attrs":{"align":null,"level":2},"content":[{"type":"text","text":"技术背景"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"业务代码零侵入一直是DoKit秉持的底线。"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"DoKit作为一款终端一站式研发解决方案。我们在不断的给社区用户提供各种各样优秀工具来帮助用户提升研发效率,于此同时我们也要尽可能保证用户的线上代码交付质量。庆幸的是,从DoKit推出到现在我们累计收获了10000+的用户,至今还没有收到过一起用户反馈的由于集成DoKit而引发的线上bug。那我们是如何做到在业务代码零侵入的情况下给用户提供各种强大的工具的呢?其实这背后离不开AOP的功劳。"}]},{"type":"heading","attrs":{"align":null,"level":2},"content":[{"type":"text","text":"DoKit AOP原理"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","marks":[{"type":"italic"}],"text":"(以下图片来自于我在滴滴集团内部的DoKit专题分享)"}]},{"type":"heading","attrs":{"align":null,"level":3},"content":[{"type":"text","text":"AOP方案选型"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"image","attrs":{"src":"https:\/\/static001.geekbang.org\/resource\/image\/42\/1b\/429bda4304435a5439abda27f8cb0a1b.png","alt":null,"title":"","style":[{"key":"width","value":"75%"},{"key":"bordertype","value":"none"}],"href":"","fromPaste":false,"pastePass":false}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}}]}
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章