This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-03-03
Channels
- # bangalore-clj (2)
- # beginners (29)
- # boot (52)
- # cider (4)
- # clara (3)
- # cljs-dev (34)
- # cljsjs (7)
- # cljsrn (3)
- # clojure (71)
- # clojure-austin (1)
- # clojure-dev (5)
- # clojure-france (20)
- # clojure-russia (51)
- # clojure-spec (9)
- # clojure-uk (20)
- # clojurescript (131)
- # core-async (56)
- # core-logic (6)
- # cursive (50)
- # datascript (19)
- # datomic (16)
- # dirac (118)
- # emacs (100)
- # events (4)
- # hoplon (14)
- # incanter (1)
- # jobs (7)
- # jobs-discuss (96)
- # jobs-rus (21)
- # lein-figwheel (5)
- # leiningen (21)
- # off-topic (11)
- # om (45)
- # onyx (42)
- # pamela (1)
- # pedestal (22)
- # portland-or (3)
- # re-frame (8)
- # reagent (5)
- # ring (9)
- # robots (1)
- # spacemacs (14)
- # specter (28)
- # sql (2)
- # untangled (165)
@thedavidmeister makes sense, I wanted to make sure I wasn't "making a huge mistake™"... I shall roll up my sleeves. Or maybe as a n00b, I should start with Hoplon and REST first (and add Castra later)?
@mudphone castra isn't required at all
i use sente and regular ajax calls, for example
if you're starting out and learning, there's nothing at all wrong with just using regular ajax while you learn hoplon/javelin
and add in castra later
the key thing though, is to always put the results of your requests into a cell
rather than juggling callbacks
you can then pass that cell around, reference it with cell= or whatever
@thedavidmeister ah, thanks for the tip. sounds like fun.
w00t, I seem to have a basic boot/hoplon/compojure setup going… for the record, pandeiro/boot-http seems to depend on boot-cljs-repl. If I don’t have that in my deps I get an error. If I included boot-cljs-repl (and piggieback, weasel, and tools.nrepl), I’m fine.
error being:
java.io.FileNotFoundException: Could not locate clojure/tools/nrepl/server__init.class or clojure/tools/nrepl/server.clj on classpath.
clojure.lang.Compiler$CompilerException: java.io.FileNotFoundException: Could not locate clojure/tools/nrepl/server__init.class or clojure/tools/nrepl/server.clj on classpath., compiling:(boot/repl_server.clj:1:1)
clojure.lang.ExceptionInfo: java.io.FileNotFoundException: Could not locate clojure/tools/nrepl/server__init.class or clojure/tools/nrepl/server.clj on classpath., compiling:(boot/repl_server.clj:1:1)
file: "/var/folders/ks/kzy812353279mll4rg00j5vw0000gn/T/boot.user3946045701502755206.clj"
line: 15
in case anyone is interested