Android Database Best Practices (Paperback)
暫譯: Android 資料庫最佳實踐 (平裝本)
Adam Stroud
- 出版商: Addison Wesley
- 出版日期: 2016-08-07
- 售價: $1,425
- 貴賓價: 9.5 折 $1,354
- 語言: 英文
- 頁數: 288
- 裝訂: Paperback
- ISBN: 0134437993
- ISBN-13: 9780134437996
-
相關分類:
Android、資料庫
-
相關翻譯:
Android 數據庫最佳實踐 (Android Database Best Practices) (簡中版)
立即出貨 (庫存=1)
買這商品的人也買了...
-
$1,200$948 -
$450$356 -
$580$458 -
$680$530 -
$590$502 -
$780$616 -
$980$774 -
$680$537 -
$490$417 -
$580$458 -
$1,580$1,501 -
$680$530 -
$350$277 -
$500$395 -
$580$458 -
$360$284 -
$450$356 -
$380$266 -
$450$356 -
$720$612 -
$590$460 -
$390$308 -
$320$272 -
$301區塊鏈開發指南
-
$500$425
商品描述
Battle-Tested Strategies for Storing, Managing, and Sharing Android Data
“Android™ Database Best Practices goes well beyond API documentation to offer strategic advice about how to handle data in an Android application and the tools needed to develop productively. This arms the developer with a trove of solutions to nearly any problem an application may face involving data. Mastering the concepts in this book are therefore essential for any developer who wants to create professional Android applications.”
–Greg Milette, Android developer, Gradison Technologies, Inc.
This is the first guide to focus on one of the most critical aspects of Android development: how to efficiently store, retrieve, manage, and share information from your app’s internal database. Through real-world code examples, which you can use in your own apps, you’ll learn how to take full advantage of SQLite and the database-related classes on Android.
A part of Addison-Wesley’s Android™ Deep Dive series for experienced Android developers, Android Database Best Practices draws on Adam Stroud’s extensive experience leading cutting-edge app projects.
Stroud reviews the core database theory and SQL techniques you need to efficiently build, manipulate, and read SQLite databases. He explores SQLite in detail, illuminates Android’s APIs for database interaction, and shares modern best practices for working with databases in the Android environment.
Through a complete case study, you’ll learn how to design your data access layer to simplify all facets of data management and avoid unwanted technical debt. You’ll also find detailed solutions for common challenges in building data-enabled Android apps, including issues associated with threading, remote data access, and showing data to users. Extensive, up-to-date sample code is available for download at github.com/android-database-best-practices/device-database.
You will
- Discover how SQLite database differs from other relational databases
- Use SQL DDL to add structure to a database, and use DML to manipulate data
- Define and work with SQLite data types
- Persist highly structured data for fast, efficient access
- Master Android classes for create, read, update, and delete (CRUD) operations and database queries
- Share data within or between apps via content providers
- Master efficient UI strategies for displaying data, while accounting for threading issues
- Use Android’s Intents API to pass data between activities when starting a new activity or service
- Achieve two-way communication between apps and remote web APIs
- Manage the complexities of app-to-server communication, and avoid common problems
- Use Android’s new Data Binding API to write less code and improve performance
商品描述(中文翻譯)
**經過實戰考驗的 Android 數據存儲、管理和共享策略**
「Android™ 數據庫最佳實踐不僅僅是 API 文檔,它提供了有關如何在 Android 應用中處理數據的戰略建議,以及開發所需的工具。這為開發者提供了一系列解決方案,以應對應用在數據方面可能面臨的幾乎所有問題。因此,掌握本書中的概念對於任何想要創建專業 Android 應用的開發者來說都是必不可少的。」
– Greg Milette, Android 開發者,Gradison Technologies, Inc.
這是第一本專注於 Android 開發中最關鍵方面之一的指南:如何有效地存儲、檢索、管理和共享應用內部數據庫中的信息。通過實際的代碼示例,您可以在自己的應用中使用,您將學會如何充分利用 SQLite 及 Android 上的數據庫相關類別。
作為 Addison-Wesley 的 Android™ 深度探索系列的一部分,Android 數據庫最佳實踐 借鑒了 Adam Stroud 在領導尖端應用項目方面的豐富經驗。
Stroud 回顧了您需要的核心數據庫理論和 SQL 技術,以有效地構建、操作和讀取 SQLite 數據庫。他詳細探討了 SQLite,闡明了 Android 的數據庫交互 API,並分享了在 Android 環境中使用數據庫的現代最佳實踐。
通過完整的案例研究,您將學會如何設計數據訪問層,以簡化數據管理的各個方面,並避免不必要的技術負擔。您還將找到針對構建數據驅動的 Android 應用中常見挑戰的詳細解決方案,包括與線程、遠程數據訪問和向用戶顯示數據相關的問題。大量最新的示例代碼可在 github.com/android-database-best-practices/device-database 下載。
您將會:
- 發現 SQLite 數據庫與其他關聯數據庫的不同之處
- 使用 SQL DDL 為數據庫添加結構,並使用 DML 操作數據
- 定義並使用 SQLite 數據類型
- 持久化高度結構化的數據以實現快速、高效的訪問
- 精通 Android 類以進行創建、讀取、更新和刪除 (CRUD) 操作及數據庫查詢
- 通過內容提供者在應用內或應用之間共享數據
- 精通顯示數據的高效 UI 策略,同時考慮線程問題
- 使用 Android 的 Intents API 在啟動新活動或服務時在活動之間傳遞數據
- 實現應用與遠程 Web API 之間的雙向通信
- 管理應用與伺服器通信的複雜性,並避免常見問題
- 使用 Android 的新數據綁定 API 來減少代碼編寫並提高性能