Skip to content

Instantly share code, notes, and snippets.

@danielsz
Last active December 21, 2015 01:59
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save danielsz/6232054 to your computer and use it in GitHub Desktop.
Pairing on Clojure repl-based workflow
Stuart Sierra has written an article describing how he works with Clojure interactively using the REPL, tools.namespace, and Leiningen.
http://thinkrelevance.com/blog/2013/06/04/clojure-workflow-reloaded
Commentary on Hacker News: https://news.ycombinator.com/item?id=5819487
The process described there constitute best practices with a very broad application field. It is so fundamental, in fact, that most Clojure applications would probably benefit from adopting this model.
I'm interested to provide a fleshed out example of that workflow to benefit new users/beginners. The blog post, while eye-opening, still isn't enough to get started for a whole range of users. I'm saying this because I'm struggling myself.
I would like the example to be web oriented. I was thinking to use liberator to provide a REST API with one resource that can be created/edited/updated/deleted, and db persistence. DB would be either datomic or mongodb.
An accompanying tutorial would eventually detail how you start/stop the system components from the repl. I would also include a couple of tests, and show how you run the tests from the repl.
I'm looking to work on this by pairing with someone, preferrably with average to advanced Clojure experience.
@babysnakes
Copy link

Hi Daniel,

If you need help on this I'll be happy to. I've implemented it here.

Bye

@timvisher
Copy link

If you didn't already see it, you might want to check out his leiningen template

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment