滴滴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}}]}
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章