Re: Migrating from Java/Spring to Clojure

2016-02-01 Thread John Krasnay
Thanks, Sean. That's exactly the sort of thing I was looking for. jk On Sunday, January 31, 2016 at 9:11:23 PM UTC-5, Sean Corfield wrote: > > John Krasnay wrote on Sunday, January 31, 2016 at 10:11 AM: > > Instead of this, I'm considering an approach where my functions instead >

Re: Migrating from Java/Spring to Clojure

2016-02-01 Thread John Krasnay
Thanks for the feedback. I wasn't sure whether mocks were frowned upon but it seems like a pretty standard approach. BTW I really like how the Clojure community has this pragmatic feel about it. Aim for pure functions, but don't bend over backwards where it doesn't naturally fit. jk On

Migrating from Java/Spring to Clojure

2016-01-31 Thread John Krasnay
Hi all, I'm migrating an application from Java/Spring to Clojure and I'm searching for a good, functional approach. The app exposes a REST interface using compojure-api and primarily interacts with a relational database and sends email. I think most people end up passing their database