real-time-fes-kalix-laminar-example

Real-time frontends with Kalix and Laminar Example (by domschoen)

real-time-fes-kalix-laminar-example reviews and mentions

Posts with mentions or reviews of real-time-fes-kalix-laminar-example. We have used some of these posts to build our list of alternatives and similar projects.
  • Real-time frontends with Kalix and Laminar
    1 project | dev.to | 26 Nov 2022
    To really keep everything in sync it is important to replay the events in the same way on every sides. For that purpose, we share between backend and frontends the same definition of events and the same scala code for the replay. This sharing not only help for having things in sync but also to avoid redefining the same thing again at frontend. Very often, we define data model in the backend and then the same in the different frontends. Here we would like to avoid that and define it once in Kalix and reuse it in the Laminar frontends (web, mobile). Reusing the exact same scala code for the replay is really important. It saves you from out of sync problems. If you have different code (probably also different languages) for the replay between backend and frontend, you start quickly to have big problems, bugs and data problems. Think of a mobile app you need to redeploy to fix those problems (Mobile deployment is not straightforward). To illustrate my point, I have created a small example. The domain is crowd funding. The replay logic is very simple and minimal but it's just an example. Code can be found here: https://github.com/domschoen/real-time-fes-kalix-laminar-example The repository contains 3 projects:

Stats

Basic real-time-fes-kalix-laminar-example repo stats
1
3
2.9
6 months ago

domschoen/real-time-fes-kalix-laminar-example is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of real-time-fes-kalix-laminar-example is Scala.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com