I would be interested to hear how your conversion ...
# kilua
p
I would be interested to hear how your conversion went.
r
The application was quite old (not updated since KVision 5.7.1 - 2.5 years ago), it was using simple hash based routing, plain state flow for state management and some components not available in Kilua (e.g. bootstrap-fileinput, handlebars templates). It was also using some simple spring Thymeleaf templating.
What was done: • rewrite the whole project layout (gradle version catalog, new plugins, webMain sources set) • modify a bit the backend code (replace KVision fullstack services with Kilua RPC and KVision date time types with kotlinx.datetime) • redesign frontend with Ballast state management • move frontend to history api routing with Kilua SSR router • port the UI components to Kilua
The most challenging part was probably the forms. KVision forms are more integrated with Bootstrap (e.g. you get horizontal layout out of the box). With Kilua I had to implement some custom composables. I had to also redesign Kilua form validation to support sophisticated use cases needed by the application.
The other challenging part was the thymeleaf templating. I had to make Kilua SSR more customizable to be able to use dynamically generated
index.html
as the SSR base template.
All Kilua changes are released with 0.0.8.
The app itself need to be tested a bit and should be released soon.
👍 1
👍🏾 1
a
Thanks for sharing this important feedback. 👍🏾