RussiaImangazalievM/CleanArchitectureManifest
Description of the main principles and rules for building an Android application using Clean Architecture approach
🧱 CleanArchitectureManifest: Nguyên tắc thiết kế kiến trúc sạch cho Android
Tài liệu tham khảo quan trọng cho bất kỳ nhà phát triển Android nào muốn áp dụng Clean Architecture một cách có hệ thống và rõ ràng.
CleanArchitectureManifest là một tài liệu hướng dẫn chi tiết về cách xây dựng ứng dụng Android tuân thủ Clean Architecture — một phương pháp được Robert Martin đề xuất năm 2012. Dự án không chứa code mẫu, mà tập trung vào mô tả các nguyên tắc, quy tắc và cấu trúc tổ chức dự án để phát triện ứng dụng Android hiệu quả, dễ bảo trì và có khả năng kiểm thử cao.
✨ Điểm nổi bật
- Tách lớp rõ rệt: Ứng dụng được chia thành ba lớp chính: Presentation, Domain (business logic), và Data.
- Đảo ngược phụ thuộc (IoC): Lớp Domain không phụ thuộc trực tiếp vào các lớp bên ngoài; mọi tương tác đều thông qua giao diện được khai báo trong Domain và cài đặt ở các lớp bên ngoài.
- Độc lập với UI, DB, framework: Kiến trúc cho phép thay đổi công nghệ hoặc công cụ mà không ảnh hưởng đến lõi logic.
- Hỗ trợ kiểm thử cao: Nhờ tách rời rõ rệt, việc viết unit test và integration test trở nên dễ dàng và hiệu quả.
- Cấu trúc dự án rõ ràng: Tài liệu hướng dẫn cách tổ chức package và thư mục sao cho logic và dễ tìm kiếm.
- Áp dụng thực tế với Dagger 2 & RxJava 2: Tài liệu giả định người đọc đã nắm vững Dagger 2 và RxJava 2 — hai công nghệ thường đi kèm với Clean Architecture trên Android.
- Hướng dẫn cho dự án mới và migration: Cung cấp chiến lược để khởi tạo dự án mới hoặc chuyển đổi dự án hiện tại sang Clean Architecture.
💡 Vì sao đáng chú ý
CleanArchitectureManifest không phải là một thư viện hay framework, mà là một bản khai (manifest) — bản đồ tư duy và bộ quy tắc giúp bạn tự tin thiết kế kiến trúc cho ứng dụng Android. Với sự trợ giúp từ tài liệu này, bạn sẽ tránh được những sai lầm phổ biến khi áp dụng Clean Architecture một cách lý thúc, từ đó tận dụng tối đa lợi ích: dễ bảo trì, dễ mở rộng, và dễ test. Đặc biệt phù hợp cho các nhóm phát triển Android muốn nâng cấp hoặc chuẩn hóa quy trình kiến trúc trong dự án.
#CleanArchitecture #AndroidDevelopment #Kotlin #RxJava #Dagger2 #TiniX
Similar Projects
Discover other similar projects and AI models.
An android boilerplate project using clean architecture
🔥🔥🔥 FlyTour是Android MVVM+MVP+Dagger2+Retrofit+RxJava+组件化+插件组成的双编码架构+双工程架构+双语言Android应用开发框架,通过不断的升级迭代该框架已经有了十个不同的版本,5.0之前工程架构采用gradle配置实现组件化,5.0之后的工程架构采用VirtualAPK实现了插件化,5.0之前采用Java编码实现,5.0之后采用Kotlin编码实现,编码架构由MVVM和MVP组成,工程架构和编码架构及编码语言开发者可根据自己具体的项目实际需求去决定选择使用,该框架是Android组件化、Android插件化、Android MVP架构、Android MVVM架构的集大成者,帮助你快速的搭建自己的App项目开发框架,以便把主要的精力放在自己的项目的业务功能实现上,另外在长期的工作实践中总结整理大量的实用工具类在项目lib_common组件的util包当中方便大家调用。
A collection of samples to discuss and showcase different architectural tools and patterns for Android apps.
This is a movies sample app in Kotlin, which is part of a serie of blog posts I have written about architecting android application using different approaches.
📚 Sample Android Components Architecture on a modular word focused on the scalability, testability and maintainability written in Kotlin, following best practices using Jetpack.
📊 A Minimal Expense Tracker App built to demonstrate the use of modern android architecture component with MVVM Architecture
🎯 Einsen is a prioritization app that uses Eisenhower matrix technique as workflow to prioritize a list of tasks & built to Demonstrate use of Jetpack Compose with Modern Android Architecture Components & MVVM Architecture.
Clean MVP Architecture with Dagger2 + Retrofit2 + Mockito + Fresco + EasiestGenericRecyclerAdapter using Kotlin. Added Unit Tests(Kotlin Tests)!