This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-06-24
Channels
- # announcements (6)
- # beginners (89)
- # calva (75)
- # cider (37)
- # clj-kondo (1)
- # cljs-dev (19)
- # cljsjs (8)
- # clojars (1)
- # clojure (122)
- # clojure-europe (6)
- # clojure-italy (41)
- # clojure-nl (18)
- # clojure-uk (24)
- # clojurescript (26)
- # cursive (6)
- # data-science (5)
- # datomic (51)
- # emacs (28)
- # fulcro (8)
- # graalvm (13)
- # hoplon (1)
- # immutant (1)
- # jobs (3)
- # joker (1)
- # keechma (43)
- # lambdaisland (1)
- # leiningen (37)
- # midje (1)
- # nrepl (2)
- # off-topic (32)
- # re-frame (3)
- # reagent (24)
- # reitit (5)
- # remote-jobs (1)
- # shadow-cljs (33)
- # sql (7)
- # tools-deps (11)
Why this Keechma app is not able to run? https://gist.github.com/ahmed1hsn/7351ae6e1edaa64b9109ed19c8776af6
What defentitydb
does exactly?
This is great, so you don't have to mention Schema everytime.
It opens many cool possibilities, such as you can have different Schemas in their namespaces, you can make as many DB's you want with with their respective Schemas per DB. Although you don't need it most of the time.
Perks of not having global application state.
Like example given on Keechma blog where main application only starts when user session is present.
In this case you can have different schema'd DBs for both two apps.
How does it help in facilitating data loading?
the data loader uses your schema ot distribute the data it downloads from the server(s) into those tables you defined
in my test app, i had several counters which each had a collection of clicks (with date of the click)
they were downloaded from the server as [{:id 1 :name "counter1" :clicks [{:id 1 :timestamp "..."}]}]
Entitydb seems more structured than re-frame atom due to schema.
you can use it to decide if you want the controller running in this context, by returning true or false
@carkh Thanks.