Hands on design patterns with kotlin

Hands-On Design Patterns with Kotlin

Build scalable applications using traditional, reactive, and concurrent design patterns in Kotlin

Publisher Description

Make the most of Kotlin by leveraging design patterns and best practices to build scalable and high performing apps

• 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

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

• 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

Читайте также:  Java arraylist to toarray

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.

This book explains design patterns in a step-by-step manner with clear and concise code examples

Источник

Saved searches

Use saved searches to filter your results more quickly

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

Hands-On-Design-Patterns-with-Kotlin, published by Packt

License

PacktPublishing/Hands-on-Design-Patterns-with-Kotlin

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Sign In Required

Please sign in to use Codespaces.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching Xcode

If nothing happens, download Xcode and try again.

Launching Visual Studio Code

Your codespace will open once ready.

There was a problem preparing your codespace, please try again.

Latest commit

Git stats

Files

Failed to load latest commit information.

README.md

Hands-on-Design-Patterns-with-Kotlin

This is the code repository for Hands-on-Design-Patterns-with-Kotlin, published by Packt.

Build scalable applications using traditional, reactive, and concurrent design patterns in Kotlin

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.

This book covers the following exciting features:

  • 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

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

https://www.packtpub.com/

Instructions and Navigations

All of the code is organized into folders. For example, Chapter02.

The code will look like the following:

var s = "I'm a string" s = 1 // s is a String 

Following is what you need for this book: 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.

With the following software and hardware list you can run all code files present in the book (Chapter 1-11).

Software and Hardware List

Chapter Software required OS required
1 JDK 1.8 or greater Windows, Mac OS X, and Linux (Any)
1 Gradle 3.2 or greater Windows, Mac OS X, and Linux (Any)
1 Homebrew Mac OS X
11 PostgreSQL 9.4 or greater Windows, Mac OS X, and Linux (Any)

Alexey Soshin is a software architect with 13 years of experience in making software, mostly for JVM. He started exploring Kotlin even before Kotlin 1.0 was released, and since then, has been a big enthusiast of the language. He speaks about Kotlin and reactive frameworks at various conferences and meetups, and maintains a technical blog. He’s also contributor to Vert.x, toolkit for building reactive applications on the JVM

Click here if you have any feedback or suggestions.

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.

About

Hands-On-Design-Patterns-with-Kotlin, published by Packt

Источник

Hands-On Design Patterns with Kotlin : Build scalable applications using traditional, reactive, and concurrent design patterns in Kotlin

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 environmentBook 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 architecturesWho 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

Источник

Hands-On Design Patterns with Kotlin

Hands-On Design Patterns with Kotlin

Read it now on the O’Reilly learning platform with a 10-day free trial.

O’Reilly members get unlimited access to books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.

Book description

Make the most of Kotlin by leveraging design patterns and best practices to build scalable and high performing apps

  • 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

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

  • 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

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.

This book explains design patterns in a step-by-step manner with clear and concise code examples

Источник

Оцените статью