Fork me on GitHub
#beginners
<
2016-03-19
>
seancorfield00:03:01

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

seancorfield00:03:35

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).

seancorfield00:03:30

(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)

adamkowalski00:03:13

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

seancorfield01:03:49

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

seancorfield01:03:10

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...

seancorfield01:03:17

(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!)

adamkowalski01:03:19

how has sente been working out for you?

seancorfield01:03:08

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

seancorfield01:03:43

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

seancorfield01:03:37

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.

adamkowalski02:03:36

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

seancorfield02:03:59

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

seancorfield02:03:12

Other teams make their own decisions.