Kotlin 2.0 Crash Course: Build, test, and secure Android and web applications including Functional patterns, JSON handling, and RESTful endpoints
Paperback
Publisher Price: $74.99
ISBN13: 9789349174597
Publisher: Gitforgits
Published: Jan 20 2025
Pages: 214
Weight: 0.83
Height: 0.45 Width: 7.50 Depth: 9.25
Language: English
If you're looking to write responsive Android and web applications using Kotlin 2.0, this book's got you covered with some great examples. In the early chapters, you'll dive into the basics of variables, data types, and control structures like if-else, when, while, and do-while.
There's a chapter on functions that'll teach you to write reusable code, use higher-order functions, and adopt lambda expressions to streamline operations in the project. As you move into object-oriented constructs, you'll learn to define classes, primary and secondary constructors, inheritance, interfaces, and encapsulation practices that keep internal task details safe and modular. Then, we'll dive into collection handling, where we'll use lists, arrays, sets, and maps along with some handy code that'll filter, transform, and iterate through tasks. In the state management section, you'll see how immutable snapshots and mutable services work together using observers to sync components in real time. The chapters on functional programming will walk you through chaining, mapping, and flattening data pipelines. The error handling and type casting chapters will show you how to catch and log exceptions, apply safe casts, and recover from unexpected conditions without crashing.
If one wants to get really into JSON serialization, it's possible to learn how to parse JSON into Kotlin objects, serialize tasks back into JSON, and use libraries like kotlinx.serialization or Moshi for nested structures. Finally, Ktor integration teaches you to initialize a coroutine-based server, define routes, install middleware, secure endpoints with authentication, and test your components thoroughly. This book won't turn you into a Kotlin master overnight, but it'll give you the confidence and hands-on experience you need to build real-world Android and web apps with Kotlin 2.0 right from the start.
Key LearningsBuild strong foundation in Kotlin 2.0 syntax to write clear, concise code.
Absorb strong designing principles including classes, constructors, inheritance, and encapsulation for robust design.
Gain practical mastery in using lists, arrays, sets, and maps to store, filter, and transform the data efficiently.
Strong hold on coroutine-based state management and observer patterns for responsive, synchronized application behavior.
Develop fluency in functional programming alongwith lambdas to process data pipelines succinctly.
Perform JSON parsing and serialization using kotlinx.serialization, Moshi, and Jackson.
Practical implementation of Ktor's routing, plugins, middleware, and testing for web server development.
Streamlined testing and debugging workflow, combining in-memory tests, logging, and profiling to catch issues.
Table of ContentUp and Running with Kotlin 2.0
Variables, Data Types, and Basic Operations
Control Structures and Program Flow
Functions and Modular Programming Techniques
Object-Oriented Constructs and Class Design
Collection Handling and Iteration Patterns
Managing Application State and Behavior
Functional Programming with Lambdas
Error Handling and Type Casting
Handling JSON and Data Serialization
Designing RESTful API
Building Web Server with Ktor
Also from
Drevyn, Elara
Java 17 Backend Development: Design backend systems using Spring Boot, Docker, Kafka, Eureka, Redis, and Tomcat
Drevyn, Elara
Paperback
Also in
Operating Systems
I Have an App Idea: The Essential Guide to Building an App Without Tech Skills
Spann, Amanda
Paperback
RHCSA Red Hat Enterprise Linux 10: Training and Exam Preparation Guide (EX200), Fourth Edition
Ghori, Asghar
Paperback
Microsoft Windows 11 - Tips & Tricks: Quickstudy Laminated Computer Reference Guide
Gatto, Katie
Other
Laptops for Seniors in Easy Steps, 9th Edition: Covers All Laptops with the Windows 11 2024 Update
Vandome, Nick
Paperback
The Practice of System and Network Administration: Devops and Other Best Practices for Enterprise It, Volume 1
Chalup, Strata
Limoncelli, Thomas
Hogan, Christina
Paperback
Microsoft Copilot Studio Step by Step: Customizing Copilot and Creating Agents
Crosbie, Lisa
Paperback
Linux Basics for Hackers, 2nd Edition: Getting Started with Networking, Scripting, and Security in Kali
Occupytheweb
Paperback
RHCSA Red Hat Enterprise Linux 9: Training and Exam Preparation Guide (EX200), Third Edition
Ghori, Asghar
Paperback
Samsung Galaxy A17 5G User Guide: A Comprehensive, Step-by-Step Manual with Practical Tips for Beginners and Seniors
Gavriel, John
Paperback
Comptia A+ Certification All-In-One Exam Guide, Eleventh Edition (Exams 220-1101 & 220-1102)
Hutz, Andrew
Everett, Travis A.
Hardcover
The Wireless Cookbook: Build Real Projects and Master Wi-Fi, Bluetooth, and Lora
Zimmerman, Bill
Paperback
Exploring Windows 11 - 2025 Edition: The Illustrated, Practical Guide to Using Microsoft Windows
Wilson, Kevin
Paperback
Windows 11 Manual For Seniors: A Beginners Guide to Navigate Your Computer with Step-by-Step Instructions
Wells, Larry
Paperback
Microsoft 365 Copilot Adoption: A Practical Guide for Business Leaders and Consultants
Smith, Mark
Smith, Megan
Paperback
The Linux Programming Interface: A Linux and Unix System Programming Handbook
Kerrisk, Michael
Hardcover
What On Earth is a Mainframe?: An Introduction to IBM Z Mainframes and z/OS Operating System for Total Beginners
Stephens, David
Paperback
Linux Mint Cinnamon Edition: A Complete Guide for Beginners and Advanced Users
Rodgers, David A., Jr.
Paperback
The Cathedral & the Bazaar: Musings on Linux and Open Source by an Accidental Revolutionary
Raymond, Eric S.
Paperback
Mac for Seniors - Sonoma Edition: The illustrated, Step-by-step guide on how to use MacOS (Large Print Edition)
Wilson, Kevin
Paperback
Android Studio Panda Essentials - Java Edition: Developing Android Apps Using Android Studio Panda and Java
Smyth, Neil
Paperback
Mastering Linux Security and Hardening - Third Edition: A practical guide to protecting your Linux system from cyber attacks
Tevault, Donald a.
Paperback
The Accidental Administrator: Cisco Router Step-by-Step Configuration Guide
Crawley, Don R.
Paperback
Windows Internals: System Architecture, Processes, Threads, Memory Management, and More, Part 1
Yosifovich, Pavel
Russinovich, Mark
Solomon, David
Paperback
Master Zorin OS 18: A Complete Hands-On Guide to Linux Mastery with Zorin OS 18
Mykel, Ross
Paperback
Effective Shell: A Practical User's Guide to Working Smarter on the Command Line
Kerr, Dave
Paperback
Windows 11 Tips, Tricks & Shortcuts in Easy Steps: 1000+ Tips, Tricks and Shortcuts
Vandome, Nick
Paperback
Comptia A+ Complete Study Guide: Core 1 Exam 220-1101 and Core 2 Exam 220-1102
Buhagiar, Jon
Docter, Quentin
Paperback
Chatgpt: A Guide to Making Money With Chatgpt (Creative Ways for Teens and Young Adults to Make Money With Chatgpt)
Trotter, Thomas
Paperback
How to Build Android Applications with Kotlin - Third Edition: A hands-on guide to developing, testing, and publishing production-grade Android 16 app
Forrester, Alex
Boudjnah, Eran
Dumbravan, Alexandru
Paperback
Linux: A Complete Guide to Learn Linux Commands, Linux Operating System and Shell Scripting Step-by-Step
Ayden, Nicholas
Paperback
MacBook Neo User Guide: Seniors and Beginners Easy to follow Manual With ILLUSTRATIONS to Master Their Device Quickly [Tips and Trips included]
Klaywood Philip, Sans
Paperback
Linux Kernel Programming - Second Edition: A comprehensive and practical guide to kernel internals, writing modules, and kernel synchronization
Billimoria, Kaiwan N.
Paperback
A Handbook for Mainframe z/OS Enterprise Architects - Architecture and Design of Large-Scale Environments
Sahoo, Natabar
Paperback
Linux: The ultimate guide to Linux for beginners, Linux hacking, Linux command line, Linux operating system, and more!
Newport, Craig
Paperback
Learn FileMaker Pro 2024: The Comprehensive Guide to Building Custom Databases
Munro, Mark Conway
Paperback
Mastering Embedded Linux Development - Fourth Edition: Craft fast and reliable embedded solutions with Linux 6.6 and The Yocto Project 5.0 (Scarthgap)
Simmonds, Chris
Vasquez, Frank
Paperback
Don't Be Afraid of the Mainframe: The Missing Introduction for IT Leaders and Professionals
de Greef, Niek
Paperback
The Ultimate Linux Shell Scripting Guide: Automate, Optimize, and Empower tasks with Linux Shell Scripting
Tevault, Donald a.
Paperback
Head First Android Development: A Learner's Guide to Building Android Apps with Kotlin
Griffiths, Dawn
Griffiths, David
Paperback
Understanding the Linux Kernel: From I/O Ports to Process Management
Cesati, Marco
Bovet, Daniel P.
Paperback
Learning the VI and VIM Editors: Power and Agility Beyond Just Text Editing
Robbins, Arnold
Hannah, Elbert
Paperback
Developing Inclusive Mobile Apps: Building Accessible Apps for IOS and Android
Whitaker, Rob
Paperback
Practical Linux System Administration: A Guide to Installation, Configuration, and Management
Hess, Kenneth
Paperback
Hotwire Native for Rails Developers: Build Native Mobile Apps Using Your Server
Masilotti, Joe
Paperback
Red Hat Certified Engineer (Rhce) Ansible Automation Study Guide: In-Depth Guidance and Practice
Bueno, Alex Soto
Block, Andrew
Paperback
Android and IOS Mobile Forensics: Leveraging Blockchain, Machine Learning, and Deep Learning for Digital Investigations
Parekha, Chandresh
Kaushik, Keshav
Sheth, Ravi
Paperback
Mastering Linux Security and Hardening - Third Edition: A practical guide to protecting your Linux system from cyber attacks
Tevault, Donald a.
Hardcover
Canva User Guide For Beginners: Design Stunning Graphics for Social Media, Business, and More
Caden, Clara
Paperback
Arduino Software Internals: A Complete Guide to How Your Arduino Language and Hardware Work Together
Dunbar, Norman
Paperback
Grep Pocket Reference: A Quick Pocket Reference for a Utility Every UNIX User Needs
Bambenek, John
Klus, Agnieszka
Paperback
Embedded Systems Architecture - Second Edition: Design and write software for embedded devices to build safe and connected systems
Lacamera, Daniele
Paperback
iPad for Seniors - iPadOS 16 Edition: The illustrated, Step-by-step guide on how to use iPad (Large Print Edition)
Wilson, Kevin
Paperback
Debian 13.3 "Trixie" Desktop Handbook: A Practical Guide to Installing, Securing, and Mastering the Debian Linux Desktop - From Install to Advanced Ad
Rodgers, David A., Jr.
Paperback
Data Science at the Command Line: Obtain, Scrub, Explore, and Model Data with UNIX Power Tools
Janssens, Jeroen
Paperback
Mastering Windows Server 2022 - Fourth Edition: Comprehensive administration of your Windows Server environment
Krause, Jordan
Paperback
Powershell Cookbook: Your Complete Guide to Scripting the Ubiquitous Object-Based Shell
Holmes, Lee
Paperback
