spring-projects-experimental/spring-fu

Provide a fullstack Kotlin support and example

sdeleuze opened this issue · 10 comments

We can probably use https://github.com/JetBrains/create-react-kotlin-app or just use Kotlin DOM API as a super jQuery. Minimal JS tooling pain should be required.

Another interesting possibility is to use Kotlin Multiplatform support to render the application on server-side or client-side, see http://kt-mvvm.org/.

Calling dibs, starting working on it.

Awesome!

For those who are following this issue, see My call for Kotlin as a major frontend language.

Maybe we could port minimal mobile oriented frameworks like https://github.com/zserge/anvil to the web in order to directly follow an approach that would fit in both mobile and web worlds. Any thoughts @AlexCzar and others ?

I am waiting improvements like Kotlin IR, Kotlin frontend tooling less tied to JS, better DOM events to move forward. I think Web Component support would be a great strategy for Kotlin on frontend.

Hi, I probably won't have time to work on this, never was a front-end guy anyway :)

See these slides for more info on Kotlin/JS roadmap.

See also this comment about multiplatform validation.

Hi, @sdeleuze.
If it is still actual, would like to have a try.
So we want to make petclinic or simular webapp with fully kotlin support on front-end and kofu backend?

It is potentially quite a lot of work but IMO it would be amazing to have a PetClinic version with a frontend based on Compose for the Web. See also https://twitter.com/sdeleuze/status/1477963790503325698 about the same thing with a regular Spring Boot backend.