julienrf / scalm

Elm-inspired Scala library for writing web user interfaces
Other
119 stars 7 forks source link

Have you seen Korolev? #3

Open PhilAndrew opened 6 years ago

PhilAndrew commented 6 years ago

Korolev https://github.com/fomkin/korolev Uses an immutable model which when changed updates dom.

nartamonov commented 6 years ago

As far as I know, Korolev implements thin client architecture, something like Vaadin Framework. Logic (including data validation, event handling, etc) resides on the server-side, client handles only presentation aspect. Elm architecture is for SPA where much of the logic (data validation, event handling) resides on the client side, while server performs as data provider only.

julienrf commented 6 years ago

Hi, I didn't know about Korolev, thanks ! I think our goals are a little bit different, though : scalm is for writing interactive web user interfaces (e. g. with drag and drop or complex interactions), with no opinion on the client-server communication (this is orthogonal to scalm). Whereas Korolev seems more like a Web application framework, with a strong opinion about what should be the responsibility of the client and what should be the responsibility of the server (and taking advantage of that to make the communication transparent).

julienrf commented 6 years ago

It is true that our programming models are close, though!