Skip to content

Kotlin Design Patterns and Best Practices_Third Edition_ Published by Packt

License

Notifications You must be signed in to change notification settings

PacktPublishing/Kotlin-Design-Patterns-and-Best-Practices_Third-Edition

Repository files navigation

Kotlin Design Patterns and Best Practices, Third Edition

This is the code repository for Kotlin Design Patterns and Best Practices, Third Edition, published by Packt.

Elevate your Kotlin skills with classical and modern design patterns, coroutines, and microservices

The author of this book is -Alexey Soshin

About the book

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.

Key Takeaways

  • 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

Chapters

Master the complexities of Kotlin programming with the third edition of this complete guide. Discover idiomatic uses of coroutines, explore design patterns, embrace functional programming, and learn the latest trends in microservices architecture.

  1. Getting Started with Kotlin
  2. Working with Creational Patterns
  3. Understanding Structural Patterns
  4. Getting Familiar with Behavioral Patterns
  5. Introducing Functional Programming
  6. Threads and Coroutines
  7. Controlling the Data Flow
  8. Designing for Concurrency
  9. Idioms and Anti-Patterns
  10. Practical Functional Programming with Arrow
  11. Concurrent Microservices with Ktor
  12. Reactive Microservices with Vert.x,

If you feel this book is for you, get your copy today! Coding

Know more on the Discord server Coding

You can get more engaged on the discord server for more latest updates and discussions in the community at Discord

Download a free PDF Coding

If you have already purchased a print or Kindle version of this book, you can get a DRM-free PDF version at no cost. Simply click on the link to claim your free PDF. Free-Ebook Coding

Get to know the Author

Alexey Soshin is a software architect who has worked in the industry for over 18 years. He started exploring Kotlin when the language was still in beta and has since become a passionate advocate of it. In addition to being a conference speaker and published writer, he is also the author of the Pragmatic System Design video course.

Other Related Books