This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-03-10
Channels
- # admin-announcements (2)
- # alda (16)
- # beginners (22)
- # boot (55)
- # cider (11)
- # cljs-dev (5)
- # cljsrn (7)
- # clojure (115)
- # clojure-art (1)
- # clojure-finland (3)
- # clojure-greece (18)
- # clojure-madison (2)
- # clojure-norway (2)
- # clojure-poland (50)
- # clojure-russia (122)
- # clojure-uk (9)
- # clojurescript (28)
- # core-async (7)
- # cursive (4)
- # data-science (4)
- # datomic (65)
- # devcards (3)
- # dirac (91)
- # editors (7)
- # emacs (9)
- # hoplon (1)
- # jobs (5)
- # jobs-discuss (10)
- # juxt (2)
- # keechma (7)
- # ldnclj (31)
- # leiningen (3)
- # off-topic (22)
- # om (129)
- # om-next (1)
- # onyx (6)
- # proton (15)
- # protorepl (2)
- # re-frame (49)
- # reagent (13)
- # remote-jobs (1)
- # ring-swagger (2)
- # yada (19)
What would be the best/easiest web framework to write a single page app with? Luminus? I would just need to handle authentication, serve the main index.html and prove some endpoints
@doddenino: luminus is a good choice. If you want to write the client side on cljs add the +cljs flag when creating a new lumins project you will have a good base to start. http://www.luminusweb.net/docs/clojurescript.md
@jmayaalv: is there a list of all available luminus flags when creating a new project? I can't seem to find it
yes, you can find them on github: https://github.com/luminus-framework/luminus-template
you will probably want to add +swagger as well. it would help a bunch for documentation and testing.
all that i can figure out from the template code is that figwheel just starts the server
i can get it to work, by going into lein repl and starting my go loop manually once figwheel is loaded
@krchia what purpose does this go loop fulfill ?
I know in Haskell, it's considered pretty much an anti-pattern when you need to force evaluation of something lazy
@lmergen: If you find yourself using those functions, it's definitely worth considering whether your lazy seq should have been a vector in the first place.
@krchia: if you follow the pattern in the "scripting with component" section: https://github.com/bhauman/lein-figwheel#scripting-with-component you can create a component that starts a go-loop
@lmergen yeah, those are used more for side effects than for eager evaluation/consumption
yeah. if there was a reduction/aggregation around the items then reduce or into could make sense, but if the sequence just needs to be consumed to confirm something on the production side...