Mastering Xamarin.Forms(Paperback)

Ed Snider

  • 出版商: Packt Publishing
  • 出版日期: 2016-01-29
  • 售價: $1,360
  • 貴賓價: 9.5$1,292
  • 語言: 英文
  • 頁數: 184
  • 裝訂: Paperback
  • ISBN: 1785287192
  • ISBN-13: 9781785287190
  • 已過版

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

商品描述

Build rich, maintainable multiplatform native mobile apps with Xamarin.Forms

About This Book

  • Build an effective mobile app architecture with the Xamarin.Forms toolkit
  • Maximize the testability, flexibility, and overall quality of your Xamarin.Forms mobile app
  • This step-by-step tutorial is packed with real-world scenarios and solutions to build professional grade mobile apps with Xamarin.Forms

Who This Book Is For

This book is intended for C# developers who are familiar with the Xamarin platform and the Xamarin.Forms toolkit. If you have already started working with Xamarin.Forms and want to take your app to the next level and make it more maintainable, testable, and flexible, then this book is for you.

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 both business logic and user interface code 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 with analytics and crash reporting using Xamarin Insights

In Detail

Discover how to extend and build upon the components of the Xamarin.Forms toolkit to develop an 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.

Discover how to extend and build upon the components of the Xamarin.Forms toolkit to develop an 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, geo-location, and the camera, as well as how to use these services 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―both the app logic through unit tests and the user interface using Xamarin's UITest framework. Finally, we'll integrate Xamarin Insights for monitoring usage and bugs to gain a proactive edge on app quality.

Style and approach

This easy-to-follow, code-rich guide will walk you through building a real-world Xamarin.Forms mobile app from start to finish. Each chapter builds upon the app by applying new advanced functionalities, design patterns, and best practices.