Kotlin 技术书籍集锦-推荐

简介: Kotlin 技术书籍推荐国内中文书籍:《Kotlin 极简教程》编辑推荐本书由阿里Java程序员撰写,带你快速进入Kotlin世界。本书基于Kotlin 1.1版本,从Kotlin基础知识到动手实战,包含了大量精选示例代码和应用案例。

Kotlin 技术书籍推荐

国内中文书籍:

《Kotlin 极简教程》

编辑推荐

本书由阿里Java程序员撰写,带你快速进入Kotlin世界。本书基于Kotlin 1.1版本,从Kotlin基础知识到动手实战,包含了大量精选示例代码和应用案例。

内容简介

本书从Kotlin的HelloWorld开始,生动讲解Kotlin的基础知识和实战案例,分为两大部分:“基础知识”部分包括语言基础、基本数据类型与类型变量、集合类、泛型、面向对象编程、函数式编程、协程等;“实战”部分包括Kotlin与Java互操作、使用Kotlin集成Spring Boot开发WEB服务端、使用Kotlin集成Gradle开发、使用Kotlin和Anko的Android开发、使用Kotlin DSL、Kotlin文件IO操作与多线程、使用Kotlin Native。本书包含了大量精选示例代码和应用案例,为初学者提供了实用指南,也帮助熟练的Java开发者快速切换到Kotlin。

img_5df7c38a858ab48f1a60350d5fcc5799.png
img_81c93f50b008e92257aa37a8f83b1acf.png

《Spring Boot 开发实战》(基于 Spring Boot 2.0 和 Kotlin 、Gradle 的企业级开发最佳实践)

本书以案例方式,详细介绍如何使用 Spring Boot 2.0 框架快速开发企业级应用,包含详细步骤、示例代码,所有代码都可以下载并应用。适合于所有 Java、Kotlin 程序员,以及任何对编程感兴趣的朋友。

如果你目前还不是程序员,但想进入企业级应用开发的编程世界,那么你也可以尝试从本书开始学习。虽然本书中的部分内容需要一定的编程基础,还需要了解Spring框架,但是如果你想快速开始企业级应用开发,不妨从这里开始:Spring Boot 2.0 + Kotlin,这种方式的极简特性定能激发你对编程的兴趣。

img_4ebc2d96c99b4b14d943c2af9bc5add3.png
img_8917ca62866144e566f9f2cc27216888.png

国外英文书籍:

Kotlin in Action

EN

Kotlin in Action teaches you to use the Kotlin language for production-quality applications. Written for experienced Java developers, this example-rich book goes further than most language books, covering interesting topics like building DSLs with natural language syntax.

The book is written by Dmitry Jemerov and Svetlana Isakova, developers on the Kotlin team.

Chapter 6, covering the Kotlin type system, and chapter 11, covering DSLs, are available as a free preview on the publisher Web site.

Kotlin for Android Developers

EN

Kotlin for Android Developers is a book by Antonio Leiva showing how Kotlin can be used for creating an Android application from scratch.

Modern Web Development with Kotlin

EN

Modern Web Development with Kotlin is a book by Denis Kalinin about Web development with Kotlin. It covers just enough basics to get started but mostly concentrates on the practical aspect of using the language. In particular, it guides you through the process of building a technology-packed Web application while using popular backend and frontend technologies.

Programming Kotlin

EN

Programming Kotlin is a book by Stephen Samuel and Stefan Bocutiu about using Kotlin on the JVM. It covers all aspects of the language with particular focus on server side development. It is aimed at Java developers who want to learn Kotlin and especially where it improves on Java.

Fundamental Kotlin, Second Edition

EN

Fundamental Kotlin is the second edition of the Fundamental Kotlin book. It extends Fundamental Kotlin book and brings us fresh examples of Kotlin programming language use.

Android Development with Kotlin

EN

Android Development with Kotlin is a book by Marcin Moskala and Igor Wojda discussing Kotlin features in context of Android development. It demonstrates how common examples that are typical for Android development, can be simplified using Kotlin. It also shows all the benefits, improvements and new possibilities provided by this language.

Programmer's Guide To Kotlin

EN

Programmer's Guide to Kotlin is a book by Mike James for introducing Kotlin to programmers. The book helps you understand the Kotlin language in-depth so you can easily go on to create better, more robust programs.

Reactive Programming in Kotlin

EN

Reactive Programming in Kotlin is an extensive book written by Rivu Chakraborty, an experienced Android developer and Kotlin enthusiast. This book has been created to provide you with a step by step system for learning Reactive Programming with Kotlin. We cover every aspect of Reactive Programming and its implementation in Kotlin and RxKotlin. We have also included the latest information to introduce you to Spring framework 5.0 and Spring Boot 2.0. and added coverage on applying Reactive Programming to Android with Kotlin.

Kotlin Blueprints

EN

Kotlin Blueprints is a book by Akshay Chordiya, Ashish Belagali and Hardik Trivedi which provides a practical guide to help build industry grade web applications (Spring Boot, JavaScript), Android, Desktop application using TornadoFX. It also includes building an application with Kotlin Native. It shows how to leverage features of Kotlin in the respective technologies. This book is for developers who already know Kotlin and want to build something using Kotlin for Web/Android/Desktop/Native.

Kotlin

EN

Kotlin by Mehmet Ali SICAK was created to introduce Kotlin to programmers. This book is the first and currently only Kotlin book in Turkish. Published on the 17 July 2017, Kotlin covers a broad spectrum of topics from Kotlin and Innovations, Kotlin and Java, Kotlin and Android, what can be done with Kotlin, and working with null data in Kotlin. With detailed insight into using variables and data types, range concept, arrays, collections, object-based programming, interfaces, generic, abstract, inheritance, and override rules with Kotlin, with a lot of sample applications. This book provides beginners and intermediate programmers with information on the fundamental working principles of the Kotlin language, for a substantial foundation to build on when developing applications with Android. This book is in Turkish.

The Joy of Kotlin

EN

The Joy of Kotlin teaches you the right way to code in Kotlin. In this insight-rich book, you'll master the Kotlin language while exploring coding techniques that will make you a better developer no matter what language you use. Kotlin natively supports a functional style of programming, so seasoned author Pierre-Yves Saumont begins by reviewing the FP principles of immutability, referential transparency, and the separation between functions and effects. Then, you'll move deeper into using Kotlin in the real world, as you learn to handle errors and data properly, encapsulate shared state mutations, and work with laziness. This book will change the way you code — and give you back some of the joy you had when you first started.

Functional Kotlin

EN

Functional Kotlin Functional Kotlin by Mario Arias and Rivu Chakraborty. Kotlin supports many of the popular and advanced technical and useful features of functional languages. Functional programming makes your applications faster, improves performance, and increases your productivity. The book covers the A-Z of functional programming in Kotlin, as well as, an in-depth look at the Arrow library for Functional Programming in Kotlin. Mario Arias is one of the authors of the Arrow library, and Rivu Chakraborty is an experienced Developer and Author of multiple Kotlin books, this book is the go-to resource if you want to master Functional Programming in Kotlin and Arrow.

Hands-On Microservices with Kotlin

EN

Hands-On Microservices with Kotlin is a book by Juan Antonio Medina Iglesias which guides the reader in designing and implementing services, and producing production-ready, testable, lean code that's shorter and simpler than a traditional Java implementation. Reap the benefits of using the reactive paradigm and take advantage of non-blocking techniques to take your services to the next level in terms of industry standards. You will consume NoSQL databases reactively to allow you to create high-throughput microservices. Create cloud-native microservices that can run on a wide range of cloud providers, and monitor them. You will create Docker containers for your microservices and scale them. Finally, you will deploy your microservices in OpenShift Online.

Kotlin Programming Cookbook

EN

Kotlin Programming Cookbook has recipes that will get you started with Android programming with Kotlin 1.1, providing quick solutions to common problems encountered during Android app development. You will also be taken through recipes that will teach you microservice and concurrent programming with Kotlin. Going forward, you will learn to test and secure your applications with Kotlin. Finally, this book supplies recipes that will help you migrate your Java code to Kotlin and will help ensure that it's interoperable with Java.

Mastering Android Development with Kotlin

EN

Mastering Android Development with Kotlin begins by giving you a strong grasp of Kotlin’s features in the context of Android development and its APIs. Moving on, you’ll take steps toward building stunning applications for Android. The book will show you how to set up the environment, and the difficulty level will grow steadily with the applications covered in the upcoming chapters. Later on, the book will introduce you to the Android Studio IDE, which plays an integral role in Android development. We’ll use Kotlin’s basic programming concepts such as functions, lambdas, properties, object-oriented code, safety aspects, type parameterization, testing, and concurrency, which will guide you through writing Kotlin code into production. We’ll also show you how to integrate Kotlin into any existing Android project.

Kotlin Programming By Example

EN

Kotlin Programming By Example takes you through the building blocks of Kotlin, such as functions and classes. You’ll explore various features of Kotlin by building three applications of varying complexity. For a quick start to Android development, we look at building a classic game, Tetris, and elaborate on object-oriented programming in Kotlin. Our next application will be a messenger app, a level up in terms of complexity. Before moving onto the third app, we take a look at data persistent methods, helping us learn about the storage and retrieval of useful applications. Our final app is a place reviewer: a web application that will make use of the Google Maps API and Place Picker.

Kotlin Programming: The Big Nerd Ranch Guide

EN

Kotlin Programming: The Big Nerd Ranch Guide. In this book you will learn to work effectively with the Kotlin language through carefully considered examples designed to teach you Kotlin’s elegant style and features. Starting from first principles, you will work your way to advanced usage of Kotlin, empowering you to create programs that are more reliable with less code.

Building Applications with Spring 5 and Kotlin

EN

Building Applications with Spring 5 and Kotlin In this book, you will begin with an introduction to Spring and its setup with Kotlin. You will then dive into assessing the design considerations of your application. Then you will learn to use Spring (with Spring Boot) along with Kotlin to build a robust backend in a microservice architecture with a REST based collaboration, and leverage Project Reactor in your application. You’ll then learn how to integrate Spring Data and Spring Cloud to manage configurations for database interaction and cloud deployment. You’ll also learn to use Spring Security to beef up security of your application before testing it with the JUnit framework and then deploying it on a cloud platform like AWS.

Kotlin Apprentice

EN

Kotlin Apprentice Kotlin Apprentice focuses on the Kotlin language fundamentals. If you’re new to the Kotlin language, there’s no need to be intimidated: This book starts with the basics of basics — an introduction to programming — and then takes you through Kotlin fundamentals. But, if you’re familiar with Kotlin, you’ll advance into more intermediate and nuanced features of the language, such as functional programming, conventions and operator overloading, and coroutines. Whatever your familiarity with the language, this book will teach you to organize and customize your code in Kotlin to create clean and modern apps in Kotlin.

Android Apprentice

EN

Android Apprentice If you’re completely new to Android or developing in Kotlin, this is the book for you. The Android Apprentice takes you all the way from building your first app, to submitting your app for sale. By the end of this book, you’ll be experienced enough to turn your vague ideas into real apps that you can release on the Google Play Store. You’ll build 4 complete apps from scratch — each app is a little more complicated than the previous one. Together, these apps will teach you how to work with the most common controls and APIs used by Android developers around the world.

Hands-on Design Patterns with Kotlin

EN

Hands-on Design Patterns with Kotlin The mission of this book is to ease the adoption of design patterns in Kotlin and provide good practices for programmers. The book begins by showing you the practical aspects of smarter coding in Kotlin, explaining the basic Kotlin syntax and the impact of design patterns. From there, the book provides an in-depth explanation of the classical design patterns of creational, structural, and behavioral families, before heading into functional programming. It then takes you through reactive and concurrent patterns, teaching you about using streams, threads, and coroutines to write better code along the way. By the end of the book, you will be able to efficiently address common problems faced while developing applications and be comfortable working on scalable and maintainable projects of any size.

Kotlin Kompakt

DE

Kotlin Kompakt is for Java professionals looking to get into Kotlin development in the least amount of time. By concentrating on the essentials in compact chapters, you'll get to know Kotlin within a few afternoons or subway commutes, and soon you'll be able to write your first Kotlin applications. As the title suggests, "Kotlin Kompakt" is not an all-encompassing work on Kotlin. Rather, its focus is on providing the necessary foundations and Kotlin's best features, which make it such a remarkable programming language.

Kotlin Standard Library Cookbook

EN

Kotlin Standard Library Cookbook by Samuel Urbanowicz will help you dive into advanced language concepts and features. It covers a wide range of general programming problems at varying difficulty levels, including design patterns, functional programming, data processing, and more. The book consists of recipes that present a specific problem and give a step-by-step explanation of how to approach it effectively. This book will help you switch to Kotlin with ease and integrate it seamlessly into the existing JVM, Android and JavaScript projects.

Learning Kotlin by Building Android Applications

EN

Learning Kotlin by building Android Applications by Eunice Adutwumwaa Obugyei. This book adopts a project-style approach, where we focus on teaching Android development by building three different Android Applications: a Tic-Tac-Toe application, a location- based alarm and a To-Do list application. The book begins by giving you a strong grasp of the Kotlin language and its APIs as a preliminary to building stunning applications for Android. You'll learn to set up an environment and as you progress through the chapters and the building of the different applications, the difficulty level will steadily grow. The book also introduces you to the Android Studio IDE, which plays an integral role in Android Development. I t covers Kotlin's basic programming concepts such as functions, lambdas, properties, object-oriented code, safety aspects and type parameterization, testing, and concurrency, and helps you write Kotlin code to production. Finally, you'll be taken through the process of releasing your app on the Google Play Store. You will also be introduced to other app distribution channels such as Amazon App Store.

Mastering High Performance with Kotlin

EN

Mastering High Performance with Kotlin The book starts by analyzing various Kotlin specifcations to identify those that have a potentially adverse effect on performance. Then, we move on to monitor techniques that enable us to identify performance bottlenecks and optimize performance metrics. Next, we look at techniques that help to us achieve high performance: memory optimization, concurrency, multi threading, scaling, and caching. We also look at fault tolerance solutions and the importance of logging. We'll also cover best practices of Kotlin programming that will help you to improve the quality of your code base. By the end of the book, you will have gained some insight into various techniques and solutions that will help to create high-performance applications in the Kotlin environment.

Learning Concurrency in Kotlin

EN

Learning Concurrency in Kotlin This book describes new approaches to concurrency and creates unique challenges for the design and implementation of concurrent code. 'Learning Concurrency in Kotlin' addresses the challenges of concurrent implementation with real-life examples and exercises that take advantage of Kotlin’s primitives. Beginning with an introduction to Kotlin’s coroutines, you will learn how to write concurrent code and understand the fundamental concepts needed to write multithreaded software in Kotlin. You’ll explore how to communicate between and synchronize your threads and coroutines to write asynchronous applications that are collaborative. You’ll also learn how to handle errors and exceptions, as well as how to leverage multi-core processing. In addition to this, you’ll delve into how coroutines work internally, allowing you to see the bigger picture. Through the book, you’ll build an Android application – an RSS reader – designed and implemented according to the different topics covered in the book.

相关文章
|
13天前
|
移动开发 Java Android开发
构建高效Android应用:探究Kotlin与Java的性能差异
【4月更文挑战第3天】在移动开发领域,性能优化一直是开发者关注的焦点。随着Kotlin的兴起,其在Android开发中的地位逐渐上升,但关于其与Java在性能方面的对比,尚无明确共识。本文通过深入分析并结合实际测试数据,探讨了Kotlin与Java在Android平台上的性能表现,揭示了在不同场景下两者的差异及其对应用性能的潜在影响,为开发者在选择编程语言时提供参考依据。
|
14天前
|
数据库 Android开发 开发者
构建高效Android应用:Kotlin协程的实践指南
【4月更文挑战第2天】随着移动应用开发的不断进步,开发者们寻求更流畅、高效的用户体验。在Android平台上,Kotlin语言凭借其简洁性和功能性赢得了开发社区的广泛支持。特别是Kotlin协程,作为一种轻量级的并发处理方案,使得异步编程变得更加简单和直观。本文将深入探讨Kotlin协程的核心概念、使用场景以及如何将其应用于Android开发中,以提高应用性能和响应能力。通过实际案例分析,我们将展示协程如何简化复杂任务,优化资源管理,并为最终用户提供更加流畅的体验。
|
23天前
|
调度 数据库 Android开发
构建高效Android应用:Kotlin协程的实践与优化
在Android开发领域,Kotlin以其简洁的语法和平台友好性成为了开发的首选语言。其中,Kotlin协程作为处理异步任务的强大工具,它通过提供轻量级的线程管理机制,使得开发者能够在不阻塞主线程的情况下执行后台任务,从而提升应用性能和用户体验。本文将深入探讨Kotlin协程的核心概念,并通过实例演示如何在实际的Android应用中有效地使用协程进行网络请求、数据库操作以及UI的流畅更新。同时,我们还将讨论协程的调试技巧和常见问题的解决方法,以帮助开发者避免常见的陷阱,构建更加健壮和高效的Android应用。
31 4
|
25天前
|
移动开发 Java Android开发
构建高效Android应用:Kotlin协程的实践之路
【2月更文挑战第31天】 在移动开发领域,性能优化和流畅的用户体验一直是开发者追求的目标。随着Kotlin语言的流行,其异步编程解决方案——协程(Coroutines),为Android应用带来了革命性的并发处理能力。本文将深入探讨Kotlin协程的核心概念、设计原理以及在Android应用中的实际应用案例,旨在帮助开发者掌握这一强大的工具,从而提升应用的性能和响应能力。
|
26天前
|
安全 Android开发 开发者
构建高效Android应用:Kotlin与协程的完美结合
【2月更文挑战第30天】在移动开发领域,性能优化和流畅的用户体验是关键。本文深入探讨了如何通过结合Kotlin语言和协程技术来提升Android应用的性能和响应能力。我们将分析Kotlin的优势,介绍协程的基本概念,并通过实际案例展示如何在应用中实现协程以简化异步编程,从而提供更加高效的解决方案。
|
26天前
|
Java 编译器 Android开发
构建高效Android应用:探究Kotlin与Java的性能差异
【2月更文挑战第30天】 随着Kotlin成为开发Android应用的首选语言,开发者社区对于其性能表现持续关注。本文通过深入分析与基准测试,探讨Kotlin与Java在Android平台上的性能差异,揭示两种语言在编译效率、运行时性能和内存消耗方面的具体表现,并提供优化建议。我们的目标是为Android开发者提供科学依据,帮助他们在项目实践中做出明智的编程语言选择。
|
26天前
|
移动开发 调度 Android开发
构建高效Android应用:探究Kotlin协程的优势与实践
【2月更文挑战第30天】 在移动开发领域,尤其是针对Android平台,性能优化和应用流畅度始终是开发者关注的重点。近年来,Kotlin语言凭借其简洁性和功能性成为Android开发的热门选择。其中,Kotlin协程作为一种轻量级的线程管理解决方案,为异步编程提供了强大支持,使得编写非阻塞性代码变得更加容易。本文将深入分析Kotlin协程的核心优势,并通过实际案例展示如何有效利用协程提升Android应用的性能和响应速度。
|
26天前
|
数据库 Android开发 开发者
构建高效Android应用:采用Kotlin协程优化网络请求处理
【2月更文挑战第30天】 在移动应用开发领域,网络请求的处理是影响用户体验的关键环节。针对Android平台,利用Kotlin协程能够极大提升异步任务处理的效率和简洁性。本文将探讨如何通过Kotlin协程优化Android应用中的网络请求处理流程,包括协程的基本概念、网络请求的异步执行以及错误处理等方面,旨在帮助开发者构建更加流畅和响应迅速的Android应用。
|
1月前
|
移动开发 Java Android开发
构建高效Android应用:Kotlin与协程的完美融合
【2月更文挑战第25天】 在移动开发领域,性能优化和应用响应性的提升是永恒的追求。随着Android Jetpack组件库的不断丰富,Kotlin语言已经成为Android开发的首选。而Kotlin协程作为一种新的并发处理方案,它以轻量级线程的形式,为开发者提供了简洁高效的异步编程手段。本文将深入探讨Kotlin协程在Android应用中的实践运用,以及如何通过这种技术改善用户界面的流畅度和后台任务的处理能力,进而构建出更高效、更稳定的Android应用。