Open PhilAndrew opened 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.
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).
It is true that our programming models are close, though!
Korolev https://github.com/fomkin/korolev Uses an immutable model which when changed updates dom.