Replacing Handlebars - kotlinx.html for HTMX

preview_player
Показать описание
Extreme Programming introduced the idea of a Spike Solution - a small experiment to that goes deep into a topic to explore and solve potential issues before we commit to changes that would be hard to reverse.

In this episode

* 00:00:43 Revert some of last week's changes to harvest later
* 00:01:32 We have a new story!
* 00:02:44 Review our current rendering code
* 00:06:17 Convert the Handlebars with AI Assistant
* 00:07:48 Quick Fix plugin FTW
* 00:08:31 Bring the viewmodel into scope with a with
* 00:09:52 IntelliJ crash taking work with it!
* 00:10:12 Try a different AI approach learning from the fixing up we had to do last time
* 00:12:12 Fix Kotlin to read from the same viewModel as Handlebars
* 00:13:30 Now switch to the new rendering...
* 00:14:13 ... and our approval tests will tell us how well we are doing with a nice diff
* 00:15:57 When we are close enough we can approve the new output
* 00:16:39 Now how about rendering just the table?
* 00:21:46 Unit tests pass - but the browser tests fail!
* 00:22:41 We can fix reshape output before approval tests
* 00:23:50 An entirely unexpected failure caught by the browser tests
* 00:25:06 We can move rendering logic from the StockListViewModel into the DSL
* 00:27:15 One last Mark I eyeball check
* 00:27:45 Review

Рекомендации по теме
Комментарии
Автор

FWIW From my experience LLM’s are quite good in helping out with kotlinx.html.

TimSchraepen