git clone https://github.com/pink-gorilla/goldly.git
cd goldly
lein goldly ; only run app with default systems
lein demo ; run demo systems
Add [org.pinkgorilla/goldly "0.0.3"] to your project as a plugin
lein goldly ./my-systems/
state is kept in cljs / reagent atom initial state is defined at system creation time from clj
ui components (see gorilla-ui)
widgets can manipulate state directly (combobox, radiobox, checkbox, text-input)
widgets can dispatch reframe events (this means widgets can interact with the environment (example theme light/dark switcher)
register cljs event-handler this needs cljs -> js compilation (options: shadow, embedded, sci)
register clj event-handler the system will forward events via websocket sent from cljs, but eventhandler defined in clj -> send from cljs -> clj sent from clj, but eventhandler not defined in clj -> sent from clj -> cljs
server is essentially providing a rest api via websocket, in the context of the running system
npm install
lein shadow-compile
lein goldly
Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close