These are chat archives for ractivejs/ractive

13th
Nov 2017
Chris Reeves
@evs-chris
Nov 13 2017 00:33
Likely part phone keyboard, part strange brain 😁
would you happen to be using akka on the back end?
Anatoli Radulov
@avoto
Nov 13 2017 01:46
Re data serving: I also use Spring and a combination of both approaches. Sometimes when data comes from a well optimized source(s) (typically an indexed db tables / cache) I create a single JSON response of all the UI needs. However there are cases where I would “glue” some data from more than one request displaying a load indicator for the “slow”/async pieces of the view. For example I have a list (displayed as a table) coming from MySQL (quick) but in my second column some data from an AJAX request to another service with a slow response (Impala query). The later approach makes the Ui non blocking (dependent on the slow data) and appearing more snappy.
Cerem Cem ASLAN
@ceremcem
Nov 13 2017 02:20
@evs-chris I'm using the nodejs port of our dcs library (aktos-dcs) to supply Actor's both for the front end and the back end
kouts
@kouts
Nov 13 2017 07:04
@ceremcem nice, so Actors are in JS side or in Server side?
Cerem Cem ASLAN
@ceremcem
Nov 13 2017 08:11
on both sides
for example, there is a special Actor for JS side (fron end), named RactiveActor which is a normal Actor + it kills itself when its container component is unrendered.
Cerem Cem ASLAN
@ceremcem
Nov 13 2017 09:16
if you want to create a monitoring microservice on the server side, here is an example
kouts
@kouts
Nov 13 2017 13:33
@avoto I'm using the same approach, nice to hear I'm not alone. I try as much as I can to have all the logic in the backend so that the UI is as "dumb" as it can be.