Clean Android Architecture: Take a layered approach to writing clean, testable, and decoupled Android applications (Paperback)

Dumbravan, Alexandru

  • 出版商: Packt Publishing
  • 出版日期: 2022-06-20
  • 售價: $1,510
  • 貴賓價: 9.5$1,435
  • 語言: 英文
  • 頁數: 366
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 180323458X
  • ISBN-13: 9781803234588
  • 相關分類: Android
  • 立即出貨 (庫存=1)

買這商品的人也買了...

商品描述

Learn how to build, maintain, and test Android applications using clean architecture principles

Key Features

• Understand various software design principles and patterns to make an application more testable
• Structure your application's code into different layers and components to make it more maintainable and flexible
• Study popular libraries and frameworks and integrate them into an application

Book Description

As an application's code base increases, it becomes harder for developers to maintain existing features and introduce new ones. In this clean architecture book, you'll learn to identify when and how this problem emerges and how to structure your code to overcome it.

The book starts by explaining clean architecture principles and Android architecture components and then explores the tools, frameworks, and libraries involved. You'll learn how to structure your application in the data and domain layers, the technologies that go in each layer, and the role that each layer plays in keeping your application clean. You'll understand how to arrange the code into these two layers and the components involved in assembling them. Finally, you'll cover the presentation layer and the patterns that can be applied to have a decoupled and testable code base.

By the end of this architecture book, you'll be able to build an application following clean architecture principles and have the knowledge you need to maintain and test the application easily.

What you will learn

• Discover and solve issues in Android legacy applications
• Become well versed in the principles behind clean architecture
• Get to grips with writing loosely coupled and testable code
• Find out how to structure an application's code in separate layers
• Understand the role each layer plays in keeping the application clean
• Integrate existing frameworks and libraries for each layer

Who this book is for

This book is for Android developers who want to learn about managing the complexity of their applications, and is also highly recommended for intermediate or advanced Android developers looking for a go-to guide for clean architecture and the integration of various Android technologies. New developers familiar with the fundamentals of Android app development will find this book useful too.

商品描述(中文翻譯)

學習如何使用乾淨架構原則建立、維護和測試 Android 應用程式

主要特點:

- 瞭解各種軟體設計原則和模式,使應用程式更易於測試
- 將應用程式的程式碼結構化為不同的層和組件,使其更易於維護和靈活
- 學習流行的庫和框架,並將其整合到應用程式中

書籍描述:

隨著應用程式的程式碼庫增加,開發人員越來越難以維護現有功能和引入新功能。在這本乾淨架構的書中,您將學習如何識別此問題何時以及如何出現,以及如何結構化程式碼以克服它。

本書首先解釋乾淨架構原則和 Android 架構組件,然後探討涉及的工具、框架和庫。您將學習如何在數據和領域層中結構化應用程式,每個層中的技術以及每個層在保持應用程式乾淨方面的角色。您將瞭解如何將程式碼安排到這兩個層中以及組裝它們所涉及的組件。最後,您將涵蓋表示層和可以應用於具有解耦和可測試程式碼庫的模式。

通過閱讀本書,您將能夠遵循乾淨架構原則構建應用程式,並獲得維護和測試應用程式所需的知識。

您將學到什麼:

- 發現並解決 Android 舊應用程式中的問題
- 熟悉乾淨架構背後的原則
- 掌握編寫鬆散耦合和可測試程式碼的技巧
- 瞭解如何在不同層中結構化應用程式的程式碼
- 瞭解每個層在保持應用程式乾淨方面的角色
- 整合現有的框架和庫到每個層中

本書適合對於管理其應用程式複雜性感興趣的 Android 開發人員,同時也強烈推薦給中級或高級 Android 開發人員,他們正在尋找一本關於乾淨架構和各種 Android 技術整合的指南。對於熟悉 Android 應用程式開發基礎的新開發人員,本書也很有用。

目錄大綱

1. Getting Started with Clean Architecture
3. Deep Diving into Data Sources
4. Understanding Data Presentation on Android
5. Managing Dependencies in Android Applications
6. Building the Domain of an Android Application
7. Assembling a Repository
8. Building Data Sources
9. Implementing an MVVM Architecture
10. Implementing an MVI Architecture
11. Putting It All Together

目錄大綱(中文翻譯)

1. 開始使用乾淨架構
3. 深入探索資料來源
4. 了解在Android上的資料呈現
5. 管理Android應用程式的相依性
6. 建立Android應用程式的領域
7. 組合一個資料庫
8. 建立資料來源
9. 實作MVVM架構
10. 實作MVI架構
11. 將所有元素結合在一起