The Nile on
Pro Kotlin Web Apps from Scratch by August Lilleaas
Intermediate-Advanced user level
FORMAT
Paperback LANGUAGE
English CONDITION
Brand New Publisher Description
Build production-grade web apps from scratch – without using frameworks – with Kotlin on the Java platform. You'll learn how to use and compose libraries, how to choose between different libraries, and the benefits of explicit and straight-forward code, vs. the implicit magic, conventions, and inversion of control you often see in frameworks.
The book teaches the Kotlin language by building production-ready Kotlin code. You'll gain a deep understanding of the idiomatic use of the Kotlin language along with knowledge of how to apply Kotlin in production-grade web apps. The book also bridges the gap between building from scratch and using existing frameworks. For example, you'll learn how to integrate Spring Security-based authentication in web apps written from scratch, so you can leverage existing tooling in your organization without having to take on the entire Spring framework.
The first section of the book sets up thebase structure of your web app, such as routing, configuration files, and database migrations. The remaining chapters are broken into individual aspects of building production-ready web apps. Appendices at the end of the book explain how to use different libraries than the ones chosen in the main chapters, so you'll learn how to decouple your code from specific libraries, and choose between many different libraries to get the job done in your own web apps.
What You Will Learn
- Compose libraries and manage boilerplate code using idiomatic and powerful Kotlin
- Manage and query SQL databases without ORMs and mapping layers
- Write resilient and change-proof tests in support of test-driven development practices
- Create traditional, HTML-based web apps, APIs for JavaScript-based single-page web apps and native mobile apps
- Manage parallelism and external service calls using Kotlin co-routines
- Deploy to production using embedded servers, WAR files, and serverless approaches
- Bridge the gap between custom-built apps and enterprise, using Spring Context and Spring Security
Who This Book Is For
The expert developer who is ready to take full control of the tech stack, and use the Kotlin language, type system, and standard library, to ship production-ready web apps. Readers should have prior programming experience. Experience with Java or another JVM language is helpful.
Back Cover
Build production-grade web apps from scratch - without using frameworks - with Kotlin on the Java platform. You'll learn how to use and compose libraries, how to choose between different libraries, and the benefits of explicit and straight-forward code, vs. the implicit magic, conventions, and inversion of control you often see in frameworks. The book teaches the Kotlin language by building production-ready Kotlin code. You'll gain a deep understanding of the idiomatic use of the Kotlin language along with knowledge of how to apply Kotlin in production-grade web apps. The book also bridges the gap between building from scratch and using existing frameworks. For example, you'll learn how to integrate Spring Security-based authentication in web apps written from scratch, so you can leverage existing tooling in your organization without having to take on the entire Spring framework. The first section of the book sets up the base structure of your web app, such as routing, configuration files, and database migrations. The remaining chapters are broken into individual aspects of building production-ready web apps. Appendices at the end of the book explain how to use different libraries than the ones chosen in the main chapters, so you'll learn how to decouple your code from specific libraries, and choose between many different libraries to get the job done in your own web apps. What You Will Learn Compose libraries and manage boilerplate code using idiomatic and powerful Kotlin Manage and query SQL databases without ORMs and mapping layers Write resilient and change-proof tests in support of test-driven development practices Create traditional, HTML-based web apps, APIs for JavaScript-based single-page web apps and native mobile apps Manage parallelism and external service calls using Kotlin co-routines Deploy to production using embedded servers, WAR files, and serverless approaches Bridge the gap between custom-built apps and enterprise, using Spring Context and Spring Security
Table of Contents
Part I. Up and Running with a Web App.- 1. Setting Up A Development Environment.- 2. Setting Up the Web App Skeleton.- 3. Configuration Files.- 4. Decoupling Web Handlers from Specific Libraries.- Part II. Libraries and Solutions.- 5.Connecting to and Migrating SQL Databases.- 6. Querying a SQL Database.- 7. Automated Tests with jUnit 5.- 8. Parallelizing Service Calls with Coroutines.- 9. Building Traditional Web Apps with HTML and CSS.- 10. Building API Based Backends.- 11. Deploying to a Traditional Server Based Environments.- 12. Build and Deploy to a Serverless Environment.- 13. Setup, Teardown and Dependency Injection with Spring Context.- 14. Enterprise Authentication using Spring Security.- Part III. Tools of the Trade.- 15. Choosing the Right Library.- 16. An Assortment of Kotlin Tricks.- Appendix A: Using Jooby Instead of Ktor.- Appendix B: Using Hoplite Instead of Typesafe Config.- Appendix C: Using Spek Instead of jUnit 5.
Feature
Teaches how to take full control of setup, startup, and runtime of your web app Shows how implicit framework magic is replaced with explicit and concise code Helps turns pro developers into production-grade Kotlin experts
Details ISBN1484290569 Author August Lilleaas Short Title Pro Kotlin Web Apps from Scratch Language English Year 2023 ISBN-10 1484290569 ISBN-13 9781484290569 Format Paperback Subtitle Building Production-Ready Web Apps Without a Framework DOI 10.1007/978-1-4842-9057-6 Pages 326 Publication Date 2023-01-25 UK Release Date 2023-01-25 Edition 1st Imprint APress Place of Publication Berkley Country of Publication United States AU Release Date 2023-01-25 NZ Release Date 2023-01-25 US Release Date 2023-01-25 Publisher APress Edition Description 1st ed. DEWEY 006.78 Country of Origin NL Product Class Description Computing: Professional & Programming Alternative 9781484290576 Illustrations 39 Illustrations, black and white Audience Professional & Vocational
We\'ve got this
At The Nile, if you\'re looking for it, we\'ve got it.
With fast shipping, low prices, friendly service and well over a million items - you\'re bound to find what you want, at a price you\'ll love!
TheNile_Item_ID:139719158;
When you click on links to various merchants on this site and make a purchase, this can result in this site earning a commission. Affiliate programs and affiliations include, but are not limited to, the eBay Partner Network.