profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/coltnz/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.
Colin Taylor coltnz SMX Ltd Auckland, New Zealand http://smxemail.com

coltnz/defm 3

A small Clojure library designed to provide a simple pattern matching defn-like construct called defm.

coltnz/clevernote 2

A command line interface to Evernote

coltnz/clj-git 1

Git client for Clojure.

coltnz/conduit-rabbitmq 1

A library for building distributed applications in Clojure using RabbitMQ

coltnz/enlive-tutorial 1

An Easy Introduction to Enlive

coltnz/IClojure 1

A better Interactive REPL for Clojure

coltnz/la-clojure 1

Clojure plugin for IntelliJ IDEA

coltnz/alia 0

Cassandra CQL3 Clojure client - datastax/java-driver wrapper

coltnz/boot-http 0

A simple HTTP serve task for the Boot build tool

coltnz/buddy-core 0

Cryptographic api for Clojure

startedyzhao062/anomaly-detection-resources

started time in a day

startedcorei8/iAWriter-Template-Collection

started time in 4 days

PR closed day8/re-frame

Add support for multithreading dynamic appdb

This commit implements the idea explored by Techascent in this blogpost.

It accomplishes it by changing appdb to be a dynamic variable. Then, when needed, one could serve an html with this snippet:

(defn- handle-route*
 [app-db]
 (let [db-id (util/uuid)
       result (with-bindings {#'re-frame.db/app-db-id db-id}
                (swap! rf.db/db-atoms* assoc db-id app-db)
                (gen-html app-db))]
   (re-frame.db/clear-app-db db-id)
   result))

It makes sure that the cljs behavior is unchanged and only adds clj support.

+75 -33

1 comment

5 changed files

werenall

pr closed time in 7 days

pull request commentday8/re-frame

Add support for multithreading dynamic appdb

Hi @werenall, thank you for the contribution.

We've read through your patch and can see it would provide some value, but at this point we're (Day8) still focussed on the more ambitious (and overlapping) ideas of 'multi-instance re-frame'. See EP2 for more on this.

werenall

comment created time in 7 days

startedday8/re-com

started time in 14 days

startedday8/re-frame

started time in 14 days

startedleonoel/missionary

started time in a month

startedpfeodrippe/tla-edn-module

started time in a month

starteddjblue/portal

started time in 2 months

startedepiccastle/spire

started time in 2 months

startedlambdaisland/gaiwan_co

started time in 2 months

startedleonoel/task

started time in 2 months

startedleonoel/flow

started time in 2 months