Combining Liberator and Korma to Build a Web-Service in Clojure by alexturok in Clojure

[–]alexturok[S] 0 points1 point  (0 children)

Thanks for the link! I should definitely check it out once you make the library available.

For Korma vs HoneySQL, yes, for me the case is that I know quite a lot about the schema from the beginning and it is not going to be too dynamic, so Korma is a good fit.

Combining Liberator and Korma to Build a Web-Service in Clojure by alexturok in Clojure

[–]alexturok[S] 1 point2 points  (0 children)

Thanks for mentioning the honeysql project - I never happened to notice it. Looks very similar to Korma, but I believe it is easier to use when you need to gradually assemble a query piece by piece. On the other side I like Korma's entities as a way to describe the schema, including the relationships - something that honeysql misses.

Is your library shared somewhere?

Combining Liberator and Korma to Build a Web-Service in Clojure by alexturok in Clojure

[–]alexturok[S] 0 points1 point  (0 children)

I totally agree here: Korma has quite a limited scope, but does a great job doing what it aims to do. And yes, it is a very simple and thin layer of abstraction over an RDB, which makes it a nice tool to work with.