spring-fu icon indicating copy to clipboard operation
spring-fu copied to clipboard

Provide a fullstack Kotlin support and example

Open sdeleuze opened this issue 7 years ago • 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.

sdeleuze avatar Jun 04 '18 22:06 sdeleuze

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

sdeleuze avatar Jun 19 '18 08:06 sdeleuze

Calling dibs, starting working on it.

AlexCzar avatar Jul 05 '18 17:07 AlexCzar

Awesome!

sdeleuze avatar Jul 06 '18 04:07 sdeleuze

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 avatar Oct 17 '18 14:10 sdeleuze

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.

sdeleuze avatar May 02 '19 09:05 sdeleuze

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

AlexCzar avatar May 02 '19 19:05 AlexCzar

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

sdeleuze avatar May 14 '19 11:05 sdeleuze

See also this comment about multiplatform validation.

sdeleuze avatar May 14 '19 11:05 sdeleuze

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?

sudoHackIn avatar Dec 01 '21 21:12 sudoHackIn

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.

sdeleuze avatar Jan 03 '22 11:01 sdeleuze