Mastering Xamarin.Forms - Second Edition
暫譯: 精通 Xamarin.Forms - 第二版

Ed Snider

相關主題

商品描述

Key Features

  • Packed with real-world scenarios and solutions to help you build professional grade mobile apps with Xamarin.Forms
  • Build an effective mobile app architecture with the Xamarin.Forms toolkit
  • Maximize the overall quality of your Xamarin.Forms apps

Discover how to extend and build upon the components of the Xamarin.Forms toolkit to develop effective, robust mobile app architecture. Starting with an app built with the basics of the Xamarin.Forms toolkit, we'll go step by step through several advanced topics to create a solution architecture rich with the benefits of good design patterns and best practices.
We'll start by introducing a core separation between the app's user interface and the app's business logic by applying the MVVM pattern and data-binding. Then we will focus on building out a layer of plugin-like services that handle platform-specific utilities such as navigation and geo-location, as well as how to loosely use these services in the app with inversion of control and dependency injection. Next we'll connect the app to a live web-based API and set up offline synchronization. Then, we'll dive into testing the app logic through unit tests. Finally, we will setup Visual Studio App Center to automate building, testing, distributing and monitoring the app.
What you will learn

  • Find out how, when, and why you should use architecture patterns and get best practices with Xamarin.Forms
  • Implement the Model-View-ViewModel (MVVM) pattern and data-binding in Xamarin.Forms mobile apps
  • Extend the Xamarin.Forms navigation API with a custom ViewModel-centric navigation service
  • Leverage the inversion of control and dependency injection patterns in Xamarin.Forms mobile apps
  • Work with online and offline data in Xamarin.Forms mobile apps
  • Test business logic in Xamarin.Forms mobile apps
  • Use platform-specific APIs to build rich custom user interfaces in Xamarin.Forms mobile apps
  • Explore how to improve mobile app quality using Visual Studio App Center

商品描述(中文翻譯)

主要特點

- 包含真實世界的情境和解決方案,幫助您使用 Xamarin.Forms 建立專業級的行動應用程式
- 使用 Xamarin.Forms 工具包建立有效的行動應用程式架構
- 最大化您 Xamarin.Forms 應用程式的整體品質

了解如何擴展和構建 Xamarin.Forms 工具包的組件,以開發有效且穩健的行動應用程式架構。從一個基於 Xamarin.Forms 工具包基本概念構建的應用程式開始,我們將逐步深入幾個進階主題,以創建一個充滿良好設計模式和最佳實踐優勢的解決方案架構。
我們將首先介紹應用程式的使用者介面與商業邏輯之間的核心分離,通過應用 MVVM 模式和資料綁定。接著,我們將專注於構建一層類似插件的服務,處理平台特定的實用工具,例如導航和地理位置,以及如何在應用程式中以控制反轉和依賴注入的方式鬆散使用這些服務。然後,我們將應用程式連接到一個實時的基於網路的 API,並設置離線同步。接下來,我們將深入測試應用程式邏輯,通過單元測試進行測試。最後,我們將設置 Visual Studio App Center,自動化構建、測試、分發和監控應用程式。

您將學到的內容

- 瞭解何時、如何以及為什麼應使用架構模式,並獲得 Xamarin.Forms 的最佳實踐
- 在 Xamarin.Forms 行動應用程式中實現模型-視圖-視圖模型(MVVM)模式和資料綁定
- 使用自定義的以 ViewModel 為中心的導航服務擴展 Xamarin.Forms 導航 API
- 在 Xamarin.Forms 行動應用程式中利用控制反轉和依賴注入模式
- 在 Xamarin.Forms 行動應用程式中處理線上和離線資料
- 測試 Xamarin.Forms 行動應用程式中的商業邏輯
- 使用平台特定的 API 在 Xamarin.Forms 行動應用程式中構建豐富的自定義使用者介面
- 探索如何使用 Visual Studio App Center 改善行動應用程式的品質