Ktor+htmx: the perfect mix for a software Craftsman
summary
Small, fast web app built with Ktor + htmx and server-side templates using kotlinx.html that serves a personal FB2 book library, supports text search, author pages, clickable cover enlargement and returns OPDS XML feeds for readers. Uses Juke for SQL queries and a Kotlin DI binding (codin C) instead of Spring so startup and routing stay explicit. Demo shows htmx replacing only fragments (button->paragraph) and the OPDS endpoint returning raw XML so the approach works for lightweight projects.
AI-written summary · about
chapters (12)
- 0:00Introduction
- 3:17Imperfect reality of software
- 7:14Software craftsmanship principles
- 9:47Ktor toolkit for simple projects
- 16:48Ktor plugins and logging
- 17:09HTMX and why use it
- 21:51Dependency injection with Koin
- 23:40Book library project demo
- 27:39Project architecture in Ktor
- 31:38Frontend with Kotlin HTML and HTMX
- 37:46Extending frontend components
- 40:59Summary
related talks
39mWhy HTMX is crushing React, Vue & Svelte
54mHTMX: Web 1.0 with web 2.0 benefits without the grift of 3.0
27mHTMX – Say “no” to Complexity
57mHTMX: Why You Don't Always Need a SPA Framework
23mhtmx Is Pro-JavaScript
49mBring back the joy in web development with HTMX and Hypermedia-Driven Applications
26mReimagining dynamic web apps with HTMX
37mHTMX: Frontend Revolution
