Kotlin In-depth [Vol-II]

Kotlin In-depth [Vol-II] PDF

Author: Sedunov Aleksei

Publisher: BPB Publications

Published: 2020-03-07

Total Pages: 295

ISBN-13: 9389423236

DOWNLOAD EBOOK →

Master the concise and expressive power of a pragmatic multi-paradigm language for JVM, Android and beyond Key Featuresa- Language fundamentalsa- Object-oriented and functional programming with Kotlina- Kotlin standard librarya- Building domain-specific languagesa- Using Kotlin for Web developmenta- Kotlin for Android platforma- Coroutine-based concurrencyDescriptionThe purpose of this book is to guide a reader through the capabilities of the Kotlin language and give examples of using it for development of various applications be it desktop, mobile or Web. Although our primary focus is on the JVM and Android, the knowledge we're sharing here to various extents applies to other Kotlin-supported platforms such as JavaScript, native and even multi-platform applications.The book starts with an introduction to language and its ecosystem that will give you an understanding of the key ideas behind Kotlin design, introduce you to the Kotlin tooling and present you the basic language syntax and constructs. In the next chapters we'll get to know the multi-paradigm nature of Kotlin which allows you to create powerful abstractions by combining various aspects of functional and object-oriented programming. We'll talk about using common Kotlin APIs such as the standard library, reflection, and coroutine-based concurrency as well as the means for creating your own flexible APIs based on domain-specific languages. In the concluding chapters, we'll give examples of using Kotlin for more specialized tasks such as testing, building Android applications, Web development and creating microservices.What will you learnBy the end of the book, you'll obtain a thorough knowledge of all basic aspects of Kotlin programming. You'll be able to create a flexible and reusable code by taking advantage of object-oriented and functional features, use Kotlin standard library, compose your own domain-specific languages, write asynchronous code using Kotlin coroutines library as well. You'll also have a basic understanding of using Kotlin for writing test code, web applications and Android development. This knowledge will also give you a solid foundation for deeper learning of related development platforms, tools and frameworks.Who this book is forThe book is primarily aimed at developers familiar with Java and JVM and willing to get a firm understanding of Kotlin while having little to no experience in that language. Discussion of various language features will be accompanied, if deemed necessary, by comparisons with their Java's analogs which should simplify Java-to-Kotlin transition. Most of the material, however, is rather Java-agnostic and should be beneficial even without prior Java knowledge. In general, experience in object-oriented or functional paradigm is a plus, but not required.Table of Contents10. Annotations and Reflection11. Domain-Specific Languages12. Java Interoperability13. Concurrency14. Testing with Kotlin15. Android Applications16. Web Development with Ktor17. Building MicroservicesAbout the AuthorAleksei Sedunov has been working as a Java developer since 2008. After joining JetBrains in 2012 he's been actively participating in the Kotlin language development focusing on IDE tooling for the IntelliJ platform. Currently, he's working in a DataGrip team, a JetBrains Database IDE, carrying on with using Kotlin as the main development tool.His LinkedIn Profile: https://www.linkedin.com/in/alexey-sedunov-8554a530/

Kotlin In-depth [Vol-II]

Kotlin In-depth [Vol-II] PDF

Author: Aleksei Sedunov

Publisher: BPB Publications

Published: 2020-03-07

Total Pages: 289

ISBN-13: 9389423228

DOWNLOAD EBOOK →

Master the concise and expressive power of a pragmatic multi-paradigm language for JVM, Android and beyond DESCRIPTIONÊ The purpose of this book is to guide a reader through the capabilities of the Kotlin language and give examples of using it for development of various applications be it desktop, mobile or Web. Although our primary focus is on the JVM and Android, the knowledge weÕre sharing here to various extents applies to other Kotlin-supported platforms such as JavaScript, native and even multi-platform applications. The book starts with an introduction to language and its ecosystem that will give you an understanding of the key ideas behind Kotlin design, introduce you to the Kotlin tooling and present you the basic language syntax and constructs. In the next chapters weÕll get to know the multi-paradigm nature of Kotlin which allows you to create powerful abstractions by combining various aspects of functional and object-oriented programming. WeÕll talk about using common Kotlin APIs such as the standard library, reflection, and coroutine-based concurrency as well as the means for creating your own flexible APIs based on domain-specific languages. In the concluding chapters, weÕll give examples of using Kotlin for more specialized tasks such as testing, building Android applications, Web development and creating microservices. KEY FEATURESÊÊ - Language fundamentals - Object-oriented and functional programming with Kotlin - Kotlin standard library - Building domain-specific languages - Using Kotlin for Web development - Kotlin for Android platform - Coroutine-based concurrency WHAT WILL YOU LEARNÊ By the end of the book, youÕll obtain a thorough knowledge of all basic aspects of Kotlin programming. YouÕll be able to create a flexible and reusable code by taking advantage of object-oriented and functional features, use Kotlin standard library, compose your own domain-specific languages, write asynchronous code using Kotlin coroutines library as well. YouÕll also have a basic understanding of using Kotlin for writing test code, web applications and Android development. This knowledge will also give you a solid foundation for deeper learning of related development platforms, tools and frameworks. WHO THIS BOOK IS FORÊ The book is primarily aimed at developers familiar with Java and JVM and willing to get a firm understanding of Kotlin while having little to no experience in that language. Discussion of various language features will be accompanied, if deemed necessary, by comparisons with their JavaÕs analogs which should simplify Java-to-Kotlin transition. Most of the material, however, is rather Java-agnostic and should be beneficial even without prior Java knowledge. In general, experience in object-oriented or functional paradigm is a plus, but not required. Table of Contents 10. Annotations and Reflection 11. Domain-Specific Languages 12.Ê Java Interoperability 13. Concurrency 14.Ê Testing with Kotlin 15.Ê Android Applications 16.Ê Web Development with Ktor 17.Ê Building Microservices

Kotlin in Action

Kotlin in Action PDF

Author: Dmitry Jemerov

Publisher: Simon and Schuster

Published: 2017-02-03

Total Pages: 532

ISBN-13: 1638353697

DOWNLOAD EBOOK →

Summary Kotlin in Action guides experienced Java developers from the language basics of Kotlin all the way through building applications to run on the JVM and Android devices. Foreword by Andrey Breslav, Lead Designer of Kotlin. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the Technology Developers want to get work done - and the less hassle, the better. Coding with Kotlin means less hassle. The Kotlin programming language offers an expressive syntax, a strong intuitive type system, and great tooling support along with seamless interoperability with existing Java code, libraries, and frameworks. Kotlin can be compiled to Java bytecode, so you can use it everywhere Java is used, including Android. And with an effi cient compiler and a small standard library, Kotlin imposes virtually no runtime overhead. About the Book Kotlin in Action teaches you to use the Kotlin language for production-quality applications. Written for experienced Java developers, this example-rich book goes further than most language books, covering interesting topics like building DSLs with natural language syntax. The authors are core Kotlin developers, so you can trust that even the gnarly details are dead accurate. What's Inside Functional programming on the JVM Writing clean and idiomatic code Combining Kotlin and Java Domain-specific languages About the Reader This book is for experienced Java developers. About the Author Dmitry Jemerov and Svetlana Isakova are core Kotlin developers at JetBrains. Table of Contents PART 1 - INTRODUCING KOTLIN Kotlin: what and why Kotlin basics Defining and calling functions Classes, objects, and interfaces Programming with lambdas The Kotlin type system PART 2 - EMBRACING KOTLIN Operator overloading and other conventions Higher-order functions: lambdas as parameters and return values Generics Annotations and reflection DSL construction

Kotlin In-Depth

Kotlin In-Depth PDF

Author: Aleksei Sedunov

Publisher: BPB Publications

Published: 2022-04-07

Total Pages: 681

ISBN-13: 9391030637

DOWNLOAD EBOOK →

It's easy to learn, so you can start making powerful apps right away. KEY FEATURES ● Numerous code samples covering all aspects of the Kotlin language. ● Coverage on native applications, web apps, microservices, and app testing. ● Step-by-step instructions are provided in a clear and concise manner. DESCRIPTION The book ‘Kotlin In-Depth, Second Edition’ updates all the essential parts of Kotlin and incorporates modern principles, methodologies, and approaches for achieving efficient solutions. The book will guide you to successfully utilize Kotlin in developing JVM apps for desktop, mobile, web platforms and transferring existing Java codebases to Kotlin. The book begins with an introduction to the language and its environment, which will help you to grasp the fundamental concepts underlying Kotlin's design. The readers will learn the Kotlin tooling and the language's core syntax and structures. The book teaches Kotlin's multi-paradigm nature, which enables the creation of powerful abstractions by mixing parts of functional and object-oriented programming. This book discusses how to use standard Kotlin APIs like the standard library, reflection, and coroutine-based concurrency, as well as how to create your flexible APIs using domain-specific languages. The book demonstrates how to use Kotlin for more specific tasks such as testing, developing Android applications, developing Web applications, and developing microservices. After reading this book, you'll be prepared to dive deeper into the Kotlin ecosystem's more specialized areas, including Android applications, server-side development, native programming, and code sharing across different platforms. WHAT YOU WILL LEARN ● Acquire a deep understanding of all fundamental features of Kotlin programming. ● Utilize object-oriented and functional capabilities to create a flexible and reusable codebase. ● Leverage the Kotlin standard library to create custom domain-specific languages. ● Implement the Kotlin coroutines package to write asynchronous programming. ● A solid foundation of relevant development platforms, tools, and frameworks. WHO THIS BOOK IS FOR The book is primarily geared towards Java and JVM developers who want to learn Kotlin and explore modern and efficient development techniques. Knowing the basics of programming is helpful but not necessary. TABLE OF CONTENTS 1. Kotlin - Powerful and Pragmatic 2. Language Fundamentals 3. Defining Functions 4. Working with Classes and Objects 5. Leveraging Advanced Functions and Functional Programming 6. Using Special-Case Classes 7. Exploring Collections and I/O 8. Understanding Class Hierarchies 9. Generics 10. Annotations and Reflection 11. Domain-Specific Languages 12. Java Interoperability 13. Concurrency 14. Testing with Kotlin 15. Android Applications 16. Web Development with Ktor 17. Building Microservices

Effective Kotlin

Effective Kotlin PDF

Author: Marcin Moskała

Publisher: Kt. Academy

Published:

Total Pages: 439

ISBN-13: 8395452810

DOWNLOAD EBOOK →

Kotlin is a powerful and pragmatic language, but it's not enough to know about its features. We also need to know when they should be used and in what way. This book is a guide for Kotlin developers on how to become excellent Kotlin developers. It presents and explains in-depth the best practices for Kotlin development. Each item is presented as a clear rule of thumb, supported by detailed explanations and practical examples.

Kotlin In-Depth [Vol-I]

Kotlin In-Depth [Vol-I] PDF

Author: Sedunov Aleksei

Publisher: BPB Publications

Published: 2020-01-31

Total Pages: 361

ISBN-13: 9389328594

DOWNLOAD EBOOK →

Master the concise and expressive power of a pragmatic, multi-paradigm language for JVM, Android and beyondKey Featuresa- Language fundamentalsa- Object-oriented and functional programming with Kotlina- Kotlin standard librarya- Building domain-specific languagesa- Using Kotlin for Web developmenta- Kotlin for Android platforma- Coroutine-based concurrencyDescriptionThe purpose of this book is to guide a reader through the capabilities of Kotlin language and give examples of how to use it for the development of various applications, be it desktop, mobile or Web. Although our primary focus is on JVM and Android, the knowledge we're sharing here, to various extents, applies to other Kotlin-supported platforms such as JavaScript, native and even multi-platform applications.The book starts with an introduction to the language and its ecosystem, which will give you an understanding of the key ideas behind the Kotlin design, introduce you to the Kotlin tooling and present you the basic language syntax and constructs. In the next chapters, we get to know the multi-paradigm nature of Kotlin which allows us to create powerful abstractions by combining various aspects of functional and object-oriented programming. We'll talk about using common Kotlin APIs, such as the standard library, reflection, and coroutine-based concurrency as well as the means for creating your own flexible APIs based on domain-specific languages. In the concluding chapters, we give examples of using Kotlin for more specialized tasks, such as testing, building Android applications, Web development and creating microservices.What will you learnBy the end of the book you'll obtain a thorough knowledge of all the basic aspects of Kotlin programming. You'll be able to create a flexible and reusable code by taking advantage of object-oriented and functional features, use Kotlin standard library, compose your own domain-specific languages, write asynchronous code using Kotlin coroutines library as well. You'll also have a basic understanding of using Kotlin for writing test code, web applications and Android development. This knowledge will also give you a solid foundation for deeper learning of related development platforms, tools, and frameworks.Who this book is forThe book is primarily aimed at developers who are familiar with Java and JVM and are willing to get a firm understanding of Kotlin while having little to no experience in that language. Discussion of various language features will be accompanied, if deemed necessary, by comparisons with their Java's analogs, which should simplify the Java-to-Kotlin transition. Most of the material, however, is rather Java-agnostic and should be beneficial even without prior knowledge of Java. In general, experience in object-oriented or functional paradigm is a plus, but not required.Table of Contents1. Kotlin: Powerful and Pragmatic2. Language Fundamentals3. Defining Functions4. Working with Classes and Objects5. Leveraging Advanced Functions and Functional Programming6. Using Special-Case Classes7. Understanding Class Hierarchies8. Exploring Collections and I/O9. Generics10. Annotations and Reflection11. Domain-Specific Languages12. Java Interoperability13. Concurrency14. Testing with Kotlin15. Android Applications16. Web Development with Ktor17. Building MicroserviceAbout the AuthorAleksei Sedunov has been working as a Java developer since 2008. Since joining JetBrains in 2012, he's been actively participating in the Kotlin language development, focusing on IDE tooling for the IntelliJ platform. Currently, he's working in a DataGrip team, a JetBrains Database IDE, while carrying on with Kotlin as a main development tool.His LinkedIn Profile: https://www.linkedin.com/in/alexey-sedunov-8554a530/

Programming Kotlin

Programming Kotlin PDF

Author: Stephen Samuel

Publisher: Packt Publishing Ltd

Published: 2017-01-18

Total Pages: 413

ISBN-13: 1787122654

DOWNLOAD EBOOK →

Familiarize yourself with all of Kotlin's features with this in-depth guide About This Book Get a thorough introduction to Kotlin Learn to use Java code alongside Kotlin without any hiccups Get a complete overview of null safety, Generics, and many more interesting features Who This Book Is For The book is for existing Java developers who want to learn more about an alternative JVM language. If you want to see what Kotlin has to offer, this book is ideal for you. What You Will Learn Use new features to write structured and readable object-oriented code Find out how to use lambdas and higher order functions to write clean, reusable, and simple code Write unit tests and integrate Kotlin tests with Java code in a transitioning code base Write real-world production code in Kotlin in the style of microservices Leverage Kotlin's extensions to the Java collections library Use destructuring expressions and find out how to write your own Write code that avoids null pointer errors and see how Java-nullable code can integrate with features in a Kotlin codebase Discover how to write functions in Kotlin, see the new features available, and extend existing libraries Learn to write an algebraic data types and figure out when they should be used In Detail Kotlin has been making waves ever since it was open sourced by JetBrains in 2011; it has been praised by developers across the world and is already being adopted by companies. This book provides a detailed introduction to Kotlin that shows you all its features and will enable you to write Kotlin code to production. We start with the basics: get you familiar with running Kotlin code, setting up, tools, and instructions that you can use to write basic programs. Next, we cover object oriented code: functions, lambdas, and properties – all while using Kotlin's new features. Then, we move on to null safety aspects and type parameterization. We show you how to destructure expressions and even write your own. We also take you through important topics like testing, concurrency, microservices, and a whole lot more. By the end of this book you will be able to compose different services and build your own applications. Style and approach An easy to follow guide that covers the full set of features in Kotlin programming.

Hands-On Design Patterns with Kotlin

Hands-On Design Patterns with Kotlin PDF

Author: Alexey Soshin

Publisher: Packt Publishing Ltd

Published: 2018-06-15

Total Pages: 299

ISBN-13: 1788999592

DOWNLOAD EBOOK →

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

Kotlin Programming

Kotlin Programming PDF

Author: David Greenhalgh

Publisher: Pearson Technology Group

Published: 2021-10-05

Total Pages: 704

ISBN-13: 0136870481

DOWNLOAD EBOOK →

Kotlin is a statically typed programming language designed to interoperate with Java and fully supported by Google on the Android operating system. It is also a multiplatform language that can be used to write code that can be shared across platforms including macOS, iOS, Windows, and JavaScript. Based on Big Nerd Ranch’s popular Kotlin Essentials course, this guide shows you how to work effectively with Kotlin through hands-on examples and clear explanations of key Kotlin concepts and foundational APIs. Written for Kotlin 1.5, this book will also introduce you to JetBrains’ IntelliJ IDEA development environment. Whether you are an experienced developer or are learning your first programming language – and whether you are interested in Kotlin for Android, server-side, or multiplatform projects – the authors will guide you from first principles to advanced Kotlin usage. By the end of this book, you will be empowered to create reliable, concise applications in Kotlin.

Head First Kotlin

Head First Kotlin PDF

Author: Dawn Griffiths

Publisher: O'Reilly Media

Published: 2019-02-13

Total Pages: 483

ISBN-13: 1491996668

DOWNLOAD EBOOK →

What will you learn from this book? Head First Kotlin is a complete introduction to coding in Kotlin. This hands-on book helps you learn the Kotlin language with a unique method that goes beyond syntax and how-to manuals and teaches you how to think like a great Kotlin developer. You’ll learn everything from language fundamentals to collections, generics, lambdas, and higher-order functions. Along the way, you’ll get to play with both object-oriented and functional programming. If you want to really understand Kotlin, this is the book for you. Why does this book look so different? Based on the latest research in cognitive science and learning theory, Head First Kotlin uses a visually rich format to engage your mind rather than a text-heavy approach that puts you to sleep. Why waste your time struggling with new concepts? This multisensory learning experience is designed for the way your brain really works.