Book description
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.
Table of contents
-
Mastering Xamarin.Forms
- Table of Contents
- Mastering Xamarin.Forms
- Credits
- About the Author
- Acknowledgments
- About the Reviewers
- www.PacktPub.com
- Preface
- 1. Getting Started
- 2. MVVM and Data Binding
- 3. Navigation Service
- 4. Platform Specific Services and Dependency Injection
- 5. User Interface
- 6. API Data Access
- 7. Authentication
- 8. Testing
- 9. App Analytics
- Index
Product information
- Title: Mastering Xamarin.Forms
- Author(s):
- Release date: January 2016
- Publisher(s): Packt Publishing
- ISBN: 9781785287190
You might also like
book
Mastering Xamarin.Forms - Third Edition
New edition of the bestselling guide to building an effective mobile app architecture with Xamarin.Forms 4 …
book
Mastering Xamarin.Forms - Second Edition
Create high-quality multi-platform native apps with Xamarin.Forms About This Book Packed with real-world scenarios and solutions …
book
Xamarin Blueprints
Leverage the power of Xamarin to create stunning cross-platform and native apps About This Book Helps …
book
Universal Windows® Apps with XAML and C# Unleashed
Full Color: Figures and code appear as they do in Visual Studio. Universal Windows apps are …