Ilya Ryzhenkov
Ilya Ryzhenkov
I think vert.x host for ktor is the way to go here. We will still need HTTP message processing and all the related stuff. I can do a somewhat working...
Yes, I agree, I bookmarked it to think right after I return from snowboarding vacation :)
I was thinking about hosting ktor app as a verticle, like a servlet in an app container.
I'm slightly lost here. Can you give an example of what you want to work? Like "inside a ktor handler, call this vert.x function" or something easy to understand without...
0.9.1 is already out there, should update to it
I don't know much about the aviation systems yet, just learning :) Does hex id somehow encode country?
I agree with @Miha-x64 on data first. However, making it all inline might explode the size of bytecode generated. If it could be an option…
Sorry for delays, currently most team members are on holidays. What you need is not the pre-created `view` instance, but rather make a builder function. See example in ktor.io: https://github.com/ktorio/ktor/blob/master/ktor-samples/ktor-samples-html/src/io/ktor/samples/html/HtmlApplication.kt#L30
Also check more advanced strongly-typed templating system in Kotlin (part of ktor.io as well): https://github.com/ktorio/ktor/blob/master/ktor-features/ktor-html-builder/test/io/ktor/tests/html/HtmlTemplateTest.kt#L12
I'm pretty sure it's not `kotlinx.html`, may be it's `Document` writing something? E.g. similar issue is reported for Jekyll (https://github.com/jekyll/jemoji/issues/41)