ldnclj

Find us on #clojure-uk
korny 2015-07-14T06:43:01.001908Z

mng

pupeno 2015-07-14T06:44:41.001909Z

Good morning.

pupeno 2015-07-14T07:28:29.001910Z

Yesterday at the dojo we found annoying the fact that Korma wouldn’t accept a database uri so I fixed that today: https://github.com/korma/Korma/pull/316

pupeno 2015-07-14T08:24:06.001912Z

And the Korma Luminus integration we coded mostly yesterday at the dojo: https://github.com/luminus-framework/luminus-template/pull/137

thomas 2015-07-14T08:26:14.001914Z

Morning

pupeno 2015-07-14T08:26:54.001915Z

Hi @thomas.

mccraigmccraig 2015-07-14T09:24:08.001916Z

mawnink

mccraigmccraig 2015-07-14T09:25:14.001917Z

korma, i remember you, and clojureql too, i had such high hopes

mccraigmccraig 2015-07-14T09:27:39.001918Z

honeysql was ok when query composition was required, but i ended up mostly using java.jdbc and << string splicing

mccraigmccraig 2015-07-14T09:28:57.001919Z

though if i'd been taking input from the web to make queries with, a lib which took care of quoting would have been a good idea

pupeno 2015-07-14T09:49:23.001920Z

mccraigmccraig: maybe you’d like yesql.

mccraigmccraig 2015-07-14T09:51:00.001921Z

pupeno: yeah, probably... i would give it a go if i was doing any web-facing sql atm

korny 2015-07-14T13:20:42.001922Z

It feels like Korma and pals are repeating the mistakes of other languages, trying to build an “ORM” when what I mostly want is a way to cleanly hook up SQL/JDBC to my objects.

korny 2015-07-14T13:21:56.001923Z

In Java-land I’ve had projects that were very successful that just used a low-level JDBCTemplate and hand-rolled SQL. And projects that were painful that used Hibernate and other magic to generate queries for me, usually badly and in unreadable ways.

korny 2015-07-14T13:23:04.001924Z

We have a DSL for talking to databases - it’s called “SQL”. :simple_smile:

mccraigmccraig 2015-07-14T14:01:31.001925Z

anyone here got anything to say about https://github.com/juxt/yada ? it looks great ...

2015-07-14T14:53:13.001927Z

The problem with SQL is that it’s not composable

2015-07-14T14:53:58.001928Z

Korma and others try to fix that

2015-07-14T14:54:32.001929Z

I still prefer building up pure SQL

2015-07-14T14:54:42.001930Z

layers on top don’t help

mccraigmccraig 2015-07-14T15:05:44.001931Z

honeysql did the best job at query composition of any of the clj sql libs i've tried

thomas 2015-07-14T15:17:18.001932Z

@mccraigmccraig: I haven't used yada myself yet, but had a chat with Malcolm about it and it does sound very positive indeed

thomas 2015-07-14T15:18:15.001933Z

it addresses some of the problems that were found in liberator

mccraigmccraig 2015-07-14T15:19:13.001934Z

i'm just putting a new api together, and yada seems to hit everything i want... mostly async with aleph / manifold, swagger and schema validations