Kotlin Multiplatform by Tutorials (Second Edition): Build Native Apps Faster by Sharing Code Across Platforms » MIRLIB.RU - ТВОЯ БИБЛИОТЕКА
Категория: КНИГИ » ПРОГРАММИРОВАНИЕ
Kotlin Multiplatform by Tutorials (Second Edition): Build Native Apps Faster by Sharing Code Across Platforms
/
Название: Kotlin Multiplatform by Tutorials (Second Edition): Build Native Apps Faster by Sharing Code Across Platforms
Автор: Kevin D. Moore, Carlos Mota, Saeed Taheri
Издательство: Kodeco Inc.
Год: 2023
Страниц: 488
Язык: английский
Формат: pdf (true)
Размер: 36.6 MB

Learn How to Use Kotlin to Share Code Across Platforms.

Application developers have to often repeat the same code across multiple platforms, which is not only time-consuming but also error-prone. Most documentation targets only specific use cases but misses out on the nuances essential to sharing code effectively across platforms.

Kotlin Multiplatform by Tutorials will help you efficiently implement real-world apps for different platforms by sharing common code.

If your goal is to leverage Kotlin to share code among your native apps, this is the book for you. Maintaining multiple native apps with duplicated code can be a time-consuming process. This duplication also increases the testing effort, eventually slowing down the project and increasing costs. You can use Kotlin Multiplatform to share code between your Android, iOS and desktop apps but there are multiple considerations. You should be able to develop the UI natively using the framework of your choice. Using the right frameworks can drastically reduce the UI development time and provide you with flexible APIs. At the same time, you need to figure out how Kotlin Multiplatform fits in with your current architecture and how you can access platform-specific APIs. Choosing the right architecture can make your app testable, maintainable and easy to work with. Then you need to figure out which layers of your app you can migrate to a shared module and how you can use different libraries to assist this migration. Finally, you should be able to publish and share your shared module so that you can use it across apps on multiple platforms.

Who This Book is For:
This book is for mobile developers and managers who want to explore how they can use Kotlin Multiplatform to share code across Android, iOS and desktop apps. If you want to reduce development and testing time by writing certain parts of your apps only once, this book will help.

Topics Covered in Kotlin Multiplatform by Tutorials
Jetpack Compose Android: Use Android's latest UI toolkit to quickly spin up the UI for different screens of your Android app.
Compose Multiplatform: Use the concepts you learned in Jetpack Compose Android to develop the UI for desktop apps.
SwiftUI: Learn how to develop the UI for iOS and macOS apps entirely in Swift.
Testing: Make your code reliable by writing tests for both common code as well as platform-specific code.
Koin: Learn about dependency injection and how you can use Koin to implement dependency injection in multiplatform apps.
SQLDelight: Create a common persistence layer for your multiplatform apps while also getting the benefits of compile-time safety for schemas, statements and migrations.
Serialization: Learn about different serialization formats and how you can use them to parse JSON data fetched from the Internet.
Ktor: Implement a common networking layer with support for platform-specific HTTP clients.
Coroutines: Learn about structures concurrency and the considerations to keep in mind while using coroutines on different platforms.
One thing you can count on: After reading this book, you’ll be prepared to create modules where you can write your code only once but target multiple platforms.

Скачать Kotlin Multiplatform by Tutorials (Second Edition): Build Native Apps Faster by Sharing Code Across Platforms







[related-news]
[/related-news]
Комментарии 0
Комментариев пока нет. Стань первым!