万本电子书0元读

万本电子书0元读

顶部广告

Kotlin Standard Library Cookbook电子书

售       价:¥

6人正在读 | 0人评论 6.2

作       者:Samuel Urbanowicz

出  版  社:Packt Publishing

出版时间:2018-07-30

字       数:27.5万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
Gain hands-on experience of installing OpenShift Origin 3.9 in a production configuration and managing applications using the platform you built Key Features *Gain hands-on experience of working with Kubernetes and Docker *Learn how to deploy and manage applications in OpenShift *Get a practical approach to managing applications on a cloud-based platform *Explore multi-site and HA architectures of OpenShift for production Book Description Docker containers transform application delivery technologies to make them faster and more reproducible, and to reduce the amount of time wasted on configuration. Managing Docker containers in the multi-node or multi-datacenter environment is a big challenge, which is why container management platforms are required. OpenShift is a new generation of container management platforms built on top of both Docker and Kubernetes. It brings additional functionality to the table, something that is lacking in Kubernetes. This new functionality significantly helps software development teams to bring software development processes to a whole new level. In this book, we’ll start by explaining the container architecture, Docker, and CRI-O overviews. Then, we'll look at container orchestration and Kubernetes. We’ll cover OpenShift installation, and its basic and advanced components. Moving on, we’ll deep dive into concepts such as deploying application OpenShift. You’ll learn how to set up an end-to-end delivery pipeline while working with applications in OpenShift as a developer or DevOps. Finally, you’ll discover how to properly design OpenShift in production environments. This book gives you hands-on experience of designing, building, and operating OpenShift Origin 3.9, as well as building new applications or migrating existing applications to OpenShift. What you will learn *Understand the core concepts behind containers and container orchestration tools *Understand Docker, Kubernetes, and OpenShift, and their relation to CRI-O *Install and work with Kubernetes and OpenShift *Understand how to work with persistent storage in OpenShift *Understand basic and advanced components of OpenShift, including security and networking *Manage deployment strategies and application’s migration in OpenShift *Understand and design OpenShift high availability Who this book is for The book is for system administrators, DevOps engineers, solutions architects, or any stakeholder who wants to understand the concept and business value of OpenShift.
目录展开

Title Page

Copyright and Credits

Kotlin Standard Library Cookbook

Dedication

Packt Upsell

Why subscribe?

PacktPub.com

Contributors

About the author

About the reviewer

Packt is searching for authors like you

Preface

Who this book is for

What this book covers

To get the most out of this book

Download the example code files

Conventions used

Sections

Getting ready

How to do it…

How it works…

There's more…

See also

Get in touch

Reviews

Ranges, Progressions, and Sequences

Introduction

Exploring the use of range expressions to iterate through alphabet characters

Getting ready

How to do it...

How it works...

There's more...

See also

Traversing through ranges using progression with a custom step value

Getting ready

How to do it...

How it works...

See also

Building custom progressions to traverse dates

Getting ready

How to do it...

How it works...

Using range expressions with flow control statements

Getting ready

How to do it...

How it works...

There's more...

See also

Discovering the concept of sequences

Getting ready

How to do it...

How it works...

There's more...

See also

Applying sequences to solve algorithmic problems

Getting ready

How to do it...

How it works...

Expressive Functions and Adjustable Interfaces

Introduction

Declaring adjustable functions with default parameters

How to do it...

How it works...

See also

Declaring interfaces containing default implementations

Getting ready

How to do it...

How it works...

There's more...

See also

Extending functionalities of classes

Getting ready

How to do it...

How it works...

There's more...

Destructuring types

Getting ready

How to do it...

How it works...

There's more...

Returning multiple data

How to do it...

How it works...

There's more...

See also

Inlining parameters of closure type

Getting ready

How to do it...

How it works...

There's more...

Infix notations for functions

Getting ready

How to do it...

How it works...

There's more...

See also

Smart types checking with generic reified parameters

Getting ready

How to do it...

How it works...

Overloading operators

Getting ready

How to do it...

How it works...

There's more...

Shaping Code with Kotlin Functional Programming Features

Introduction

Working effectively with lambda expressions

Getting ready

How to do it...

How it works...

There's more...

Discovering basic scoping functions – let, also, apply

Getting ready

How to do it...

How it works...

See also

Initializing objects the clean way using the run scoping function

Getting ready

How to do it...

How it works...

There's more...

See also

Working with higher-order functions

How to do it...

How it works...

Functions currying

Getting ready

How to do it...

How it works...

There's more...

Function composition

Getting ready

How to do it...

How it works...

Implementing the Either Monad design pattern

How to do it...

How it works...

There's more...

Approach to automatic functions memoization

How to do it...

How it works...

There's more...

Powerful Data Processing

Introduction

Composing and consuming collections the easy way

Getting ready

How to do it...

How it works...

There's more...

See also

Filtering datasets

Getting ready

How to do it...

How it works...

There's more...

See also

Automatic null removal

How to do it...

How it works...

See also

Sorting data with custom comparators

Getting started

How to do it...

How it works...

There's more...

Building strings based on dataset elements

How to do it...

How it works...

There's more...

See also

Dividing data into subsets

Getting ready

How to do it...

How it works...

There's more...

See also

Data transformation with map and flatMap

How to do it...

How it works...

There's more...

Folding and reducing data sets

How to do it...

How it works...

There's more...

Grouping data

How to do it...

How it works...

There's more...

See also

Tasteful Design Patterns Adopting Kotlin Concepts

Introduction

Implementing the Strategy pattern

How to do it...

How it works...

There's more...

See also

Exploring the power of the Delegation pattern

Getting ready

How to do it...

How it works...

See also

Implementing delegated class properties

Getting ready

How to do it...

How it works...

There's more...

See also

Tracking state with the Observer pattern

How to do it...

How it works...

See also

Restricting property updates with the Vetoable delegate

How to do it...

How it works...

See also

Implementing the advanced Observer pattern by defining a custom property delegate

How to do it...

How it works...

See also

Working with the Lazy delegate

How to do it...

How it works...

See also

Implementing builders the smart way

Getting ready

How to do it...

How it works...

There's more...

See also

Friendly I/O Operations

Introduction

Reading the contents of a file

Getting ready

How to do it...

How it works...

See also

Ensuring stream closing with the use function

Getting ready

How to do it...

How it works...

Reading the contents of a file line by line

Getting ready

How to do it...

How it works...

See also

Writing the contents to a file

How to do it...

How it works...

See also

Appending a file

How to do it...

How it works...

Easy file copying

Getting ready

How to do it...

How it works...

Traversing files in a directory

Getting ready

How to do it...

How it works...

Making Asynchronous Programming Great Again

Introduction

Executing tasks in the background using threads

Getting ready

How to do it...

How it works...

See also

Background threads synchronization

Getting ready

How to do it...

How it works...

See also

Using coroutines for asynchronous, concurrent execution of tasks

Getting ready

How to do it...

How it works...

See also

Using coroutines for asynchronous, concurrent tasks execution with results handling

Getting ready

How to do it...

How it works...

There's more...

See also

Applying coroutines for asynchronous data processing

How to do it...

How it works...

See also

Easy coroutine cancelation

Getting ready

How to do it...

How it works...

See also

Building a REST API client with Retrofit and a coroutines adapter

Getting ready

How to do it...

How it works...

See also

Wrapping third-party callback-style APIs with coroutines

Getting ready

How to do it...

How it works...

See also

Best Practices for the Android, JUnit, and JVM UI Frameworks

Introduction

Clean and safe view-binding with the Android Extensions plugin

Getting ready

How to do it...

How it works...

There's more...

Applying coroutines for asynchronous UI programming on Android, JavaFX, and Swing

Getting ready

How to do it...

How it works...

There's more...

See also

Easy class serialization on Android using the @Parcelize annotation

Getting ready

How to do it...

How it works...

See also

Implementing a custom property delegate that provides lifecycle-aware values

Getting ready

How to do it...

How it works...

See also

Easy operations on SharedPreferences

Getting ready

How to do it...

How it works...

See also

Less boilerplate Cursor data parsing

Getting ready

How to do it...

How it works...

Mocking dependencies with the Mockito Kotlin library

Getting ready

How to do it...

How it works...

See also

Verifying function invocations

Getting ready

How to do it...

How it works...

Unit tests for Kotlin coroutines

Getting ready

How to do it...

How it works...

Miscellaneous

Introduction

Kotlin and Java interoperability

How to do it...

How it works...

Kotlin and JavaScript interoperability

Getting ready

How to do it...

How it works...

There's more...

Renaming generated functions

How to do it...

How it works...

There's more...

See also

Decompiling Kotlin code to Java and JVM bytecode

Getting ready

How to do it...

How it works...

Adding custom names for imports

How to do it...

How it works...

Wrapping complex type declarations with type aliases

Getting ready

How to do it...

How it works...

Expressive try…catch declarations

Getting ready

How to do it...

How it works...

There's more...

Safe type-casting

How to do it...

How it works...

Other Books You May Enjoy

Leave a review - let other readers know what you think

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部