Re: How to update state in a webapp

2016-05-29 Thread babysnakes
ng-config}) > > (defn my-handler > [handler sys-map] > (fn [req] {:status 200 :body @(:c sys-map)})) > > > On Saturday, May 28, 2016 at 2:16:32 PM UTC-4, babysnakes wrote: >> >> Hey all, >> >> I don't have a lot of experience with clojure but I did wri

How to update state in a webapp

2016-05-28 Thread babysnakes
Hey all, I don't have a lot of experience with clojure but I did write a few small services in clojure. Until now the state of the services I wrote were static so I constructed a system map (more or less following Stuart Sierra's reloaded workflow - without using the component framework) and i