Hands-on Design Patterns with Kotlin: Build scalable applications using traditional, reactive, and concurrent design patterns in Kotlin
Alexey Soshin
- 出版商: Packt Publishing
- 出版日期: 2018-06-14
- 定價: $1,680
- 售價: 6.0 折 $1,008
- 語言: 英文
- 頁數: 310
- 裝訂: Paperback
- ISBN: 1788998014
- ISBN-13: 9781788998017
-
相關分類:
JVM 語言、Design Pattern
-
其他版本:
Kotlin Design Patterns and Best Practices: Build scalable applications using traditional, reactive, and concurrent design patterns in Kotlin, 2/e (Paperback)
買這商品的人也買了...
-
$420$332 -
$550$550 -
$650$507 -
$1,343Fundamentals of Database Systems, 7/e (IE-Paperback)
-
$520$411 -
$450$356 -
$580$452 -
$1,500$1,425 -
$1,280$998 -
$580$458 -
$414$393 -
$454Flutter 技術入門與實戰, 2/e
-
$505Flutter 實戰
-
$1,400Data Structures and Algorithms in Swift: Implement Stacks, Queues, Dictionaries, and Lists in Your Apps
-
$620$484 -
$980$735
相關主題
商品描述
Make the most of Kotlin by leveraging design patterns and best practices to build scalable and high performing apps
Key Features
- Understand traditional GOF design patterns to apply generic solutions
- Shift from OOP to FP; covering reactive and concurrent patterns in a step-by-step manner
- Choose the best microservices architecture and MVC for your development environment
Book Description
Design patterns enable you as a developer to speed up the development process by providing you with proven development paradigms. Reusing design patterns helps prevent complex issues that can cause major problems, improves your code base, promotes code reuse, and makes an architecture more robust.
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.
What you will learn
- Get to grips with Kotlin principles, including its strengths and weaknesses
- Understand classical design patterns in Kotlin
- Explore functional programming using built-in features of Kotlin
- Solve real-world problems using reactive and concurrent design patterns
- Use threads and coroutines to simplify concurrent code flow
- Understand antipatterns to write clean Kotlin code, avoiding common pitfalls
- Learn about the design considerations necessary while choosing between architectures
Who This Book Is For
This book is for developers who would like to master design patterns with Kotlin to build efficient and scalable applications. Basic Java or Kotlin programming knowledge is assumed
Table of Contents
- Getting Started with Kotlin
- Working with Creational Patterns
- Understanding Structural Patterns
- Getting familiar with Behavioral Patterns
- Pattern implementation using Functional Programming
- Exploring Streams
- Staying reactive
- Introduction: Threads and Coroutines
- Designed for concurrency
- Anti-patterns and Idioms
- Simplifying microservices and MVC
商品描述(中文翻譯)
充分利用Kotlin,運用設計模式和最佳實踐來建立可擴展和高效能的應用程式。
主要特點:
- 了解傳統的GOF設計模式,以應用通用解決方案
- 從面向對象編程轉向函數式編程,逐步介紹反應式和並發模式
- 選擇最適合您的開發環境的最佳微服務架構和MVC
書籍描述:
設計模式使您作為開發人員能夠通過提供經過驗證的開發範例來加快開發過程。重複使用設計模式有助於防止可能導致重大問題的複雜問題,改善代碼庫,促進代碼重用,並使架構更加健壯。
本書的目標是簡化Kotlin中設計模式的採用,並為程序員提供良好的實踐方法。
本書首先展示了在Kotlin中更智能編碼的實際方面,解釋了基本的Kotlin語法和設計模式的影響。然後,本書深入解釋了創建、結構和行為家族的經典設計模式,然後進入函數式編程。在此過程中,它將引導您進行反應式和並發模式的學習,教您如何使用流、線程和協程編寫更好的代碼。
通過閱讀本書,您將能夠高效地解決開發應用程序時遇到的常見問題,並能夠在任何規模的可擴展和可維護的項目上輕鬆工作。
您將學到的內容:
- 熟悉Kotlin原則,包括其優點和缺點
- 了解Kotlin中的經典設計模式
- 使用Kotlin內置功能探索函數式編程
- 使用反應式和並發設計模式解決現實世界問題
- 使用線程和協程簡化並發代碼流程
- 了解反模式,以編寫乾淨的Kotlin代碼,避免常見陷阱
- 學習在選擇架構時需要考慮的設計問題
本書適合對於使用Kotlin來構建高效和可擴展應用程序的開發人員。假設具備基本的Java或Kotlin編程知識。
目錄:
1. 開始使用Kotlin
2. 使用創建模式
3. 理解結構模式
4. 熟悉行為模式
5. 使用函數式編程實現模式
6. 探索流
7. 保持反應式
8. 簡介:線程和協程
9. 設計並發
10. 反模式和習慣用法
11. 簡化微服務和MVC