Fork me on GitHub
#hoplon
<
2017-03-03
>
mudphone00:03:28

@candera thanks, I tried it with boot too, but I think it uses the same template.

mudphone00:03:03

@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)?

thedavidmeister00:03:25

@mudphone castra isn't required at all

thedavidmeister00:03:33

i use sente and regular ajax calls, for example

thedavidmeister00:03:58

if you're starting out and learning, there's nothing at all wrong with just using regular ajax while you learn hoplon/javelin

thedavidmeister00:03:03

and add in castra later

thedavidmeister00:03:55

the key thing though, is to always put the results of your requests into a cell

thedavidmeister00:03:11

rather than juggling callbacks

thedavidmeister00:03:38

you can then pass that cell around, reference it with cell= or whatever

mudphone00:03:08

@thedavidmeister ah, thanks for the tip. sounds like fun.

mudphone10:03:17

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.

mudphone10:03:37

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

micha16:03:35

@mudphone the issue you had with clojure.string/includes? looks like you need a newer version of clojure maybe?

anisk23:03:25

Hey... Anybody know what happened to the haml task?