Powering Modularization at Airbnb: Plugin Architecture
Learn how Airbnb uses plugin architecture for modularization at Droidcon SF 2019. Explore plugin design & implementation. #Android #Plugins #Airbnb
Course Content
Powering Modularization at Airbnb: Plugin Architecture is an intermediate-level Pluralsight course taught by droidcon SF. It runs 18m, is taught in English, and includes a certificate of completion. It is a paid course, first published January 2021.
Airbnb's approach to modularization is a key strategy for boosting code ownership and significantly reducing build times. While modularity offers substantial advantages, it also introduces challenges like increased complexity and boilerplate code. To address these concerns, Airbnb developed a powerful Plugin architecture.
This architecture leverages an annotation processor and Dagger's multibindings to mitigate the drawbacks of modularity while unlocking further benefits. Key advantages include:
- Single Source of Truth: Provides a centralized definition for each plugin or plugin point, improving clarity and maintainability.
- Dagger Abstraction: Simplifies the use of Dagger, eliminating common pitfalls and reducing development effort.
- Compile-Time Enforcements: Enables the definition and enforcement of custom rules during compilation, catching errors early.
- Enhanced IDE Support: Improves developer experience with features like comprehensive finding usages across all plugins contributing to a plugin point.
First envisioned in Airbnb's 2018 architectural vision, the Plugin architecture was fully implemented in 2019. Join Adell Hanson-Kahn to explore the detailed benefits of this architecture and a deep dive into the underlying tooling. Learn how this approach empowers teams to manage complexity and build more robust applications through effective modular design. This talk is valuable for developers interested in Android architecture, Dagger, modular architecture, and improving build performance.
Need a web app built? Hire the team behind TutorialSearch.io
We ship fast, production-grade full-stack apps (Next.js, React, edge infra) — the same stack that powers this site.