Kotlin Programming Cookbook: Over 100 recipes to build robust mobile and web applications with Kotlin, Spring Boot, and Android
暫譯: Kotlin 程式設計食譜:超過 100 個食譜,使用 Kotlin、Spring Boot 和 Android 建立穩健的行動及網頁應用程式
Aanand Shekhar Roy, Rashi Karanpuria
- 出版商: Packt Publishing
- 出版日期: 2018-01-24
- 定價: $1,650
- 售價: 6.0 折 $990
- 語言: 英文
- 頁數: 434
- 裝訂: Paperback
- ISBN: 1788472144
- ISBN-13: 9781788472142
-
相關分類:
Android、JVM 語言、Java 相關技術
立即出貨 (庫存=1)
買這商品的人也買了...
-
$454深入理解 Android-Wi-Fi / NFC 和 GPS 捲
-
$296NFC 技術原理與應用
-
$500$390 -
$440$374 -
$540$459 -
$580$493 -
$403Kotlin 從零到精通 Android 開發
相關主題
商品描述
Discover Android programming and web development by understanding the concepts of Kotlin Programming
Key Features
- Practical solutions to your common programming problems with Kotlin 1.1
- Leverage the functional power of Kotlin to ease your Android application development
- Learn to use Java code in conjunction with Kotlin
Book Description
The Android team has announced first-class support for Kotlin 1.1. This acts as an added boost to the language and more and more developers are now looking at Kotlin for their application development. This recipe-based book will be your guide to learning the Kotlin programming language.
The recipes in this book build from simple language concepts to more complex applications of the language. After the fundamentals of the language, you will learn how to apply the object-oriented programming features of Kotlin 1.1. Programming with Lambdas will show you how to use the functional power of Kotlin.
This book has recipes that will get you started with Android programming with Kotlin 1.1, providing quick solutions to common problems encountered during Android app development. You will also be taken through recipes that will teach you microservice and concurrent programming with Kotlin. Going forward, you will learn to test and secure your applications with Kotlin. Finally, this book supplies recipes that will help you migrate your Java code to Kotlin and will help ensure that it's interoperable with Java.
What you will learn
- Understand the basics and object-oriented concepts of Kotlin Programming
- Explore the full potential of collection frameworks in Kotlin
- Work with SQLite databases in Android, make network calls, and fetch data over a network
- Use Kotlin's Anko library for efficient and quick Android development
- Uncover some of the best features of Kotlin: Lambdas and Delegates
- Set up web service development environments, write servlets, and build RESTful services with Kotlin
- Learn how to write unit tests, integration tests, and instrumentation/acceptance tests.
Who This Book Is For
This book will appeal to Kotlin developers keen to find solutions for their common programming problems. Java programming knowledge would be an added advantage.
Table of Contents
- Installation and working with Environment
- Control flow
- Classes and Objects
- Functions
- Object oriented programming
- Collections Framework
- Handling File operations in Kotlin
- Anko Commons and Extension function
- Anko Layouts
- Databases and Dependency Injection
- Networking and Concurrency
- Lambdas and Delegates
- Testing
- Web services with Kotlin
商品描述(中文翻譯)
透過理解 Kotlin 程式設計的概念,探索 Android 程式設計和網頁開發
主要特點
- 針對您常見的程式設計問題提供實用的解決方案,使用 Kotlin 1.1
- 利用 Kotlin 的函數式特性來簡化您的 Android 應用程式開發
- 學習如何將 Java 代碼與 Kotlin 結合使用
書籍描述
Android 團隊已宣布對 Kotlin 1.1 提供一流的支援。這為該語言提供了額外的推動,越來越多的開發者現在開始考慮使用 Kotlin 進行應用程式開發。本書將作為您學習 Kotlin 程式語言的指南。
本書中的食譜從簡單的語言概念開始,逐步深入到語言的更複雜應用。在學習了語言的基本概念後,您將學會如何應用 Kotlin 1.1 的物件導向程式設計特性。使用 Lambdas 的程式設計將向您展示如何利用 Kotlin 的函數式特性。
本書提供的食譜將幫助您開始使用 Kotlin 1.1 進行 Android 程式設計,並提供針對 Android 應用程式開發過程中常見問題的快速解決方案。您還將學習微服務和使用 Kotlin 進行併發程式設計的食譜。接下來,您將學會如何使用 Kotlin 測試和保護您的應用程式。最後,本書提供的食譜將幫助您將 Java 代碼遷移到 Kotlin,並確保其與 Java 的互操作性。
您將學到什麼
- 理解 Kotlin 程式設計的基本概念和物件導向概念
- 探索 Kotlin 中集合框架的全部潛力
- 在 Android 中使用 SQLite 數據庫,進行網路呼叫,並通過網路獲取數據
- 使用 Kotlin 的 Anko 函式庫進行高效且快速的 Android 開發
- 揭示 Kotlin 的一些最佳特性:Lambdas 和 Delegates
- 設置網路服務開發環境,編寫 Servlet,並使用 Kotlin 建立 RESTful 服務
- 學習如何編寫單元測試、整合測試和儀器/驗收測試。
本書適合誰
本書將吸引希望尋找常見程式設計問題解決方案的 Kotlin 開發者。具備 Java 程式設計知識將是額外的優勢。
目錄
- 安裝與環境設置
- 控制流程
- 類別與物件
- 函式
- 物件導向程式設計
- 集合框架
- 在 Kotlin 中處理檔案操作
- Anko Commons 和擴展函式
- Anko 佈局
- 數據庫與依賴注入
- 網路與併發
- Lambdas 和 Delegates
- 測試
- 使用 Kotlin 的網路服務