Fork me on GitHub

@adamkowalski: Most people use Compojure for declarative routing, I believe.


At World Singles, we use my "framework" which is a collection of Ring, Selmer (for templating the views), and some code to provide dynamic routing (although you can provide pattern-based aliases over the conventions).


(That in turn is a port of one of the most popular MVC frameworks from CFML which I wrote nearly seven years ago — which is why it’s a good migration path for us, since we have been using the CFML version with our legacy code for a while)


thanks, can you recommend any tutorials that demonstrate how to get the whole stack working together? Like getting a reloaded workflow going so I can start and stop my server, get datomic hooked up maybe communicate with my client over a websocket


Hmm, no, I’d have to Google for such a workflow, sorry.


Since we’re only just switching over to full stack Clojure for web apps (we’ve been using Clojure as an embedded / library language for about five years, and for long-running and console-based processes), we haven’t fully embraced the whole component / reloaded thing yet...


(but now I’ve created a ticket for myself, to look into exactly what that might look like for my framework — so thank you for the push!)


how has sente been working out for you?


We built a proof of concept with Sente and Om, then rebuilt the front end in Reagent. We liked the Reagent / Sente combo.


But it was just a p.o.c. and we dropped that project nearly a year ago.


We don't do anything with ClojureScript these days. My team just does back end Clojure. Other teams build front end stuff with a variety of tech.


what made you guys decide to swap languages on the front end? one of the biggest draws for languages like clj or js in my opinion are the ability to share logic between the client and server


If my team was building the front end, we'd be using cljs.


Other teams make their own decisions.