Mastering Xamarin.Forms (eBook)
184 Seiten
Packt Publishing (Verlag)
978-1-78528-494-6 (ISBN)
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.
Build rich, maintainable multiplatform native mobile apps with Xamarin.FormsAbout This BookBuild an effective mobile app architecture with the Xamarin.Forms toolkitMaximize the testability, flexibility, and overall quality of your Xamarin.Forms mobile appThis step-by-step tutorial is packed with real-world scenarios and solutions to build professional grade mobile apps with Xamarin.FormsWho This Book Is ForThis 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 LearnFind out how, when, and why you should use architecture patterns and get best practices with Xamarin.FormsImplement the Model-View-ViewModel (MVVM) pattern and data-binding in Xamarin.Forms mobile appsExtend the Xamarin.Forms navigation API with a custom ViewModel-centric navigation serviceLeverage the inversion of control and dependency injection patterns in Xamarin.Forms mobile appsWork with online and offline data in Xamarin.Forms mobile appsTest both business logic and user interface code in Xamarin.Forms mobile appsUse platform-specific APIs to build rich custom user interfaces in Xamarin.Forms mobile appsExplore how to improve mobile app quality with analytics and crash reporting using Xamarin InsightsIn DetailDiscover 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 approachThis 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.
Erscheint lt. Verlag | 30.1.2016 |
---|---|
Sprache | englisch |
Themenwelt | Mathematik / Informatik ► Informatik ► Web / Internet |
ISBN-10 | 1-78528-494-0 / 1785284940 |
ISBN-13 | 978-1-78528-494-6 / 9781785284946 |
Haben Sie eine Frage zum Produkt? |
Größe: 4,7 MB
Kopierschutz: Adobe-DRM
Adobe-DRM ist ein Kopierschutz, der das eBook vor Mißbrauch schützen soll. Dabei wird das eBook bereits beim Download auf Ihre persönliche Adobe-ID autorisiert. Lesen können Sie das eBook dann nur auf den Geräten, welche ebenfalls auf Ihre Adobe-ID registriert sind.
Details zum Adobe-DRM
Dateiformat: EPUB (Electronic Publication)
EPUB ist ein offener Standard für eBooks und eignet sich besonders zur Darstellung von Belletristik und Sachbüchern. Der Fließtext wird dynamisch an die Display- und Schriftgröße angepasst. Auch für mobile Lesegeräte ist EPUB daher gut geeignet.
Systemvoraussetzungen:
PC/Mac: Mit einem PC oder Mac können Sie dieses eBook lesen. Sie benötigen eine
eReader: Dieses eBook kann mit (fast) allen eBook-Readern gelesen werden. Mit dem amazon-Kindle ist es aber nicht kompatibel.
Smartphone/Tablet: Egal ob Apple oder Android, dieses eBook können Sie lesen. Sie benötigen eine
Geräteliste und zusätzliche Hinweise
Buying eBooks from abroad
For tax law reasons we can sell eBooks just within Germany and Switzerland. Regrettably we cannot fulfill eBook-orders from other countries.
aus dem Bereich