spring-projects-experimental / spring-fu

Configuration DSLs for Spring Boot
Apache License 2.0
1.67k stars 139 forks source link

Provide a fullstack Kotlin support and example #23

Open sdeleuze opened 6 years ago

sdeleuze commented 6 years ago

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.

sdeleuze commented 6 years ago

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

AlexCzar commented 6 years ago

Calling dibs, starting working on it.

sdeleuze commented 6 years ago

Awesome!

sdeleuze commented 5 years ago

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 ?

sdeleuze commented 5 years ago

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.

AlexCzar commented 5 years ago

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

sdeleuze commented 5 years ago

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

sdeleuze commented 5 years ago

See also this comment about multiplatform validation.

sudoHackIn commented 2 years ago

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?

sdeleuze commented 2 years ago

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.