This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
I just got a very quick and dirty server side pre-rendering working with nodejs, reagent, re-frame doing ajax calls. \o/
The bad news is that it requires a fork of re-frame. Hopefully my simple change will be merged into it later on.
@afhammad: hahah. I’m doing an experiment with one of my parters, getting her started with Clojure before trying other languages. We’ll see how that goes.
@pupeno: yeh i wonder what the transition from a lisp to a non lisp language is like
@pupeno: interesting experiment... I remember reading somewhere that some people find lisp easier to start with....
So far, I don’t know how she’s doing because I don’t have enough experience teaching. She’s struggling with some things but that might be the normal learning process. Some of those are inherent to functional programming, but that doesn’t mean she wouldn’t struggle with the other oo-inherent things.
And I just finished my pre-rendering library. It works, but it requires forks of node-xmlhttprequest and re-frame (small changes). I’m off for a bit and when I’m back I’ll start documenting it. Hopefully it’ll be out today.
@pupeno: you are everywhere. I just searched for a cursive cheatsheet and got this: http://www.cheatography.com/pupeno/cheat-sheets/cursive-on-mac-os-x/
@mccraigmccraig too many new steep learning curves at the same time. Still think yada would be better for my use case. But not 100% certain it has all the functionality I need in it.
pretty sure atom resources are supported - https://github.com/juxt/yada/blob/master/src/yada/resources/atom_resource.clj
but you wouldn't really be wanting to use those would you ? you would want some persistence
well, you don't need to use atoms/maps at all - the AtomResource thing is just a ready-to-roll resource implementation
e.g. here's a login-resource : https://www.refheap.com/bbf94136e5222185236e83ef1
at the moment my compojure solution is looking pretty good. but not as "complete" as a yada solution woul.
probably a lot more synchronous too ... i went with yada because i can make everything async
compojure is a lot more mature though, so it will definitely be an easier ride
but I just decided I needed to rewrite bits of it... want to use UUIDs for identifying my resources.