This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-03-26
Channels
- # aws (4)
- # beginners (21)
- # boot (12)
- # cider (3)
- # cljs-dev (1)
- # cljsrn (10)
- # clojure (190)
- # clojure-nl (1)
- # clojure-russia (7)
- # clojure-spec (1)
- # clojure-sweden (9)
- # clojure-uk (30)
- # clojurebridge (1)
- # clojurescript (105)
- # cursive (4)
- # emacs (8)
- # jobs (1)
- # jobs-rus (4)
- # klipse (1)
- # luminus (5)
- # om (3)
- # onyx (2)
- # pedestal (5)
- # powderkeg (15)
- # re-frame (13)
- # reagent (1)
- # ring-swagger (5)
- # rum (5)
- # vim (8)
@jtth That book focused very much on the Luminus micro-framework, which I think is fantastic and takes care of a lot of the boilerplate for you.
I would say that is the deal book if you wanna get up and running quickly
At some point you need to choose- is the display logic going to be on the server or on the client.
If you want to write an SPA it should be on the client, and very little about what has been written about Clojure web apps is applicable.
If you want to serve a few customized documents you might want to use a server-side framework (and re-frame might not benefit you in that case)
Well, my advice, after a few years of writing client-side apps, is that you shouldn't mix them much.
Hey, folks. I wrote simple effect to make ajax requests (using cljs-ajax):
(reg-fx
:ajax-get
(fn [{:keys [uri on-success]}]
(GET uri
{:handler #(dispatch [on-success %])
:error-handler #(dispatch [:request-error %1])})))