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.

相关文章
|
2月前
|
数据处理 开发者 C++
Kotlin协程与RxJava:谁将称雄现代应用开发?揭秘背后的技术博弈与选择之道!
【9月更文挑战第13天】本文对比了现代应用开发中备受欢迎的两种并发编程方案:Kotlin协程与RxJava。Kotlin协程以轻量级线程和挂起函数简化异步编程,尤其适合I/O密集型任务;RxJava基于观察者模式,擅长处理复杂异步数据流。文中还提供了示例代码,帮助开发者根据项目需求和偏好做出合适的选择。
63 1
|
6月前
|
数据采集 Java UED
图像下载的新趋势:Kotlin技术探索与实践
图像下载的新趋势:Kotlin技术探索与实践
|
6月前
|
物联网 区块链 Android开发
构建高效Android应用:Kotlin与Jetpack的实践之路未来技术的融合潮流:区块链、物联网与虚拟现实的交汇点
【5月更文挑战第30天】 在移动开发领域,效率和性能始终是开发者追求的核心。随着技术的不断进步,Kotlin语言以其简洁性和现代化特性成为Android开发的新宠。与此同时,Jetpack组件为应用开发提供了一套经过实践检验的库、工具和指南,旨在简化复杂任务并帮助提高应用质量。本文将深入探索如何通过Kotlin结合Jetpack组件来构建一个既高效又稳定的Android应用,并分享在此过程中的最佳实践和常见陷阱。
|
数据采集 Java Spring
十分钟Spring Boot Kotlin快速开发爬虫:微技: 一个汇聚各大知名技术博客网站(ImportNew, OSChina, CNBlog, ITEye, SegmentFault, I...
十分钟Spring Boot Kotlin快速开发爬虫:微技: 一个汇聚各大知名技术博客网站(ImportNew, OSChina, CNBlog, ITEye, SegmentFault, InfoQ 等等)文章的爬虫站点 还在奔忙于(ImportN...
1667 0
|
26天前
|
JSON 调度 数据库
Android面试之5个Kotlin深度面试题:协程、密封类和高阶函数
本文首发于公众号“AntDream”,欢迎微信搜索“AntDream”或扫描文章底部二维码关注,和我一起每天进步一点点。文章详细解析了Kotlin中的协程、扩展函数、高阶函数、密封类及`inline`和`reified`关键字在Android开发中的应用,帮助读者更好地理解和使用这些特性。
17 1
|
2月前
|
Android开发 开发者 Kotlin
告别AsyncTask:一招教你用Kotlin协程重构Android应用,流畅度飙升的秘密武器
【9月更文挑战第13天】随着Android应用复杂度的增加,有效管理异步任务成为关键。Kotlin协程提供了一种优雅的并发操作处理方式,使异步编程更简单直观。本文通过具体示例介绍如何使用Kotlin协程优化Android应用性能,包括网络数据加载和UI更新。首先需在`build.gradle`中添加coroutines依赖。接着,通过定义挂起函数执行网络请求,并在`ViewModel`中使用`viewModelScope`启动协程,结合`Dispatchers.Main`更新UI,避免内存泄漏。使用协程不仅简化代码,还提升了程序健壮性。
73 1
|
3月前
|
调度 Android开发 开发者
【颠覆传统!】Kotlin协程魔法:解锁Android应用极速体验,带你领略多线程优化的无限魅力!
【8月更文挑战第12天】多线程对现代Android应用至关重要,能显著提升性能与体验。本文探讨Kotlin中的高效多线程实践。首先,理解主线程(UI线程)的角色,避免阻塞它。Kotlin协程作为轻量级线程,简化异步编程。示例展示了如何使用`kotlinx.coroutines`库创建协程,执行后台任务而不影响UI。此外,通过协程与Retrofit结合,实现了网络数据的异步加载,并安全地更新UI。协程不仅提高代码可读性,还能确保程序高效运行,不阻塞主线程,是构建高性能Android应用的关键。
59 4
|
4月前
|
安全 Android开发 Kotlin
Android经典面试题之Kotlin延迟初始化的by lazy和lateinit有什么区别?
**Kotlin中的`by lazy`和`lateinit`都是延迟初始化技术。`by lazy`用于只读属性,线程安全,首次访问时初始化;`lateinit`用于可变属性,需手动初始化,非线程安全。`by lazy`支持线程安全模式选择,而`lateinit`适用于构造函数后初始化。选择依赖于属性特性和使用场景。**
144 5
Android经典面试题之Kotlin延迟初始化的by lazy和lateinit有什么区别?
|
4月前
|
安全 Android开发 Kotlin
Android经典面试题之Kotlin中常见作用域函数
**Kotlin作用域函数概览**: `let`, `run`, `with`, `apply`, `also`. `let`安全调用并返回结果; `run`在上下文中执行代码并返回结果; `with`执行代码块,返回结果; `apply`配置对象后返回自身; `also`附加操作后返回自身
58 8
下一篇
无影云桌面