Fork me on GitHub
#luminus
<
2017-05-08
>
jtth17:05:18

Just wanna say thank you to @yogthos for making memory-hole as a thing I referenced to figure out how to do authenticated compojure-api building!

yogthos17:05:09

thanks, glad to hear it came in handy 🙂

jtth18:05:53

I read your book but it defining it in restricted-routes wasn’t wrapping the body in the right way, so i used the new template’s way. i’m also gonna learn re-frame using memory hole. I’d just use it as a blanket SPA template if not for the license :)

jtth18:05:47

It’s the most advanced (and modern) open source clojure site setup (that’s not highly specialized) that I’ve found.

yogthos18:05:00

yeah re-frame is pretty amazing

yogthos18:05:21

I wish I looked at it sooner, would’ve definitely put it in the book if I did

yogthos18:05:03

and took a bit of digging to find the idiomatic compojure-api way to do auth, but it’s pretty nice once I got it working in memory hole

jtth18:05:15

Ahhh I see. Also, side question: did you design macchiato in a way that it’s somewhat transparent to port an app on the JVM backend to node, or is it (a lot) more complicated?

jtth18:05:23

(I haven’t even tried, but it seems like a nice alternative to deploying a little test thing on a free heroku dyno vs using the JVM)

yogthos18:05:46

for simpler stuff it should be fairly transparent

yogthos18:05:07

the middleware stack is very close to the one in ring-defaults

jtth18:05:57

that’s good to hear. maybe i’ll try it once i get some more features in this little experiment. thanks! I’m a big appreciator of your work as someone who knew scheme (among other languages), but never did web programming before reading your book.

yogthos18:05:53

glad I helped 🙂