Kotlin Design Patterns and Best Practices : Elevate your Kotlin skills with classical and modern design patterns, coroutines, and micro, 3/e (Paperback)
暫譯: Kotlin 設計模式與最佳實踐:透過經典與現代設計模式、協程及微服務提升你的 Kotlin 技能,第三版(平裝本)
Soshin, Alexey
- 出版商: Packt Publishing
- 出版日期: 2024-04-29
- 售價: $1,580
- 貴賓價: 9.5 折 $1,501
- 語言: 英文
- 頁數: 474
- 裝訂: Quality Paper - also called trade paper
- ISBN: 1805127764
- ISBN-13: 9781805127765
-
相關分類:
JVM 語言、Design Pattern
立即出貨 (庫存=1)
買這商品的人也買了...
相關主題
商品描述
Dive deep into Kotlin design patterns, explore idiomatic functional programming, and master microservices with frameworks like Arrow, Ktor, and Vert.x.
Key Features
- Start from basic Kotlin syntax and go all the way to advanced topics like Coroutines and structural concurrency
- Learn how to select and implement the right design pattern for your next Kotlin project
- Get to grips with concurrent and reactive microservices with Ktor and Vert.x
Book Description
For developers who are working with Design Patterns in Kotlin, this practical guide offers an opportunity to put their knowledge into practice. The book covers classical and modern design patterns, and provides a hands-on approach to implementation, along with associated methodologies.
The third edition stays current with Kotlin updates, spanning from version 1.6 onwards, and offers in-depth insights into topics like Structured Concurrency and Context Receivers. The book starts by introducing essential Kotlin syntax and the significance of design patterns, covering classic Creational, Structural, and Behavioral patterns. It then progresses to explore functional programming, Reactive, and Concurrent patterns, including detailed discussions on Coroutines and Structured Concurrency. As you navigate through these advanced concepts, you'll enhance your Kotlin coding skills. The book also delves into the latest architectural trends, focusing on microservices design patterns and aiding your decision-making process when choosing between architectures.
By the end of the book, you will have a solid grasp of these advanced concepts and be able to apply them in your own projects.
What you will learn
- Utilize functional programming and coroutines with the Arrow framework
- Use classical design patterns in the Kotlin programming language
- Scale your applications with reactive and concurrent design patterns
- Discover best practices in Kotlin and explore its new features
- Apply the key principles of functional programming to Kotlin
- Find out how to write idiomatic Kotlin code and learn which patterns to avoid
- Harness the power of Kotlin to design concurrent and reliable systems with ease
- Create an effective microservice with Kotlin and the Ktor framework
Who this book is for
This book is for developers who want to apply design patterns they've learned from other languages in Kotlin and build reliable, scalable, and maintainable applications. You'll need a good grasp on at least one programming language before you get started with this book. Familiarity with classical design patterns from your language of choice would be helpful, but you'll still be able to follow along if you code in other languages
Table of Contents
- Getting Started with Kotlin
- Working with Creational Patterns
- Understanding Structural Patterns
- Getting Familiar with Behavioral Patterns
- Introducing Functional Programming
- Threads and Coroutines
- Controlling the Data Flow
- Designing for Concurrency
- Idioms and Anti-Patterns
- Practical Functional Programming with Arrow
- Concurrent Microservices with Ktor
- Reactive Microservices with Vert.x
商品描述(中文翻譯)
深入探索 Kotlin 設計模式,探索慣用的函數式編程,並掌握使用 Arrow、Ktor 和 Vert.x 等框架的微服務。
主要特點
- 從基本的 Kotlin 語法開始,深入到協程和結構性併發等高級主題
- 學習如何為您的下一個 Kotlin 專案選擇和實施合適的設計模式
- 熟悉使用 Ktor 和 Vert.x 的併發和反應式微服務
書籍描述
本書為正在使用 Kotlin 設計模式的開發者提供了一個將知識付諸實踐的機會。書中涵蓋了經典和現代設計模式,並提供了實作的實用方法以及相關的方法論。
第三版與 Kotlin 更新保持同步,涵蓋從版本 1.6 開始的內容,並深入探討結構性併發和上下文接收器等主題。書籍首先介紹了基本的 Kotlin 語法和設計模式的重要性,涵蓋經典的創建型、結構型和行為型模式。接著進一步探索函數式編程、反應式和併發模式,包括對協程和結構性併發的詳細討論。在您瀏覽這些高級概念的過程中,您將提升您的 Kotlin 編碼技能。書中還深入探討最新的架構趨勢,專注於微服務設計模式,幫助您在選擇架構時做出決策。
在書籍結束時,您將對這些高級概念有扎實的掌握,並能夠在自己的專案中應用它們。
您將學到的內容
- 使用 Arrow 框架利用函數式編程和協程
- 在 Kotlin 程式語言中使用經典設計模式
- 使用反應式和併發設計模式擴展您的應用程式
- 發現 Kotlin 的最佳實踐並探索其新特性
- 將函數式編程的關鍵原則應用於 Kotlin
- 瞭解如何編寫慣用的 Kotlin 代碼並學習應避免的模式
- 輕鬆利用 Kotlin 的力量設計併發和可靠的系統
- 使用 Kotlin 和 Ktor 框架創建有效的微服務
本書適合誰
本書適合希望將從其他語言學到的設計模式應用於 Kotlin 的開發者,並構建可靠、可擴展和可維護的應用程式。在開始閱讀本書之前,您需要對至少一種程式語言有良好的掌握。對您所選語言的經典設計模式的熟悉將會有所幫助,但如果您使用其他語言編碼,仍然可以跟上內容。
目錄
1. 開始使用 Kotlin
2. 使用創建型模式
3. 理解結構型模式
4. 熟悉行為型模式
5. 介紹函數式編程
6. 線程和協程
7. 控制數據流
8. 設計併發
9. 慣用語和反模式
10. 使用 Arrow 的實用函數式編程
11. 使用 Ktor 的併發微服務
12. 使用 Vert.x 的反應式微服務