Re: korma, and sql dsls, I've been moving between korma, honeysql, and raw 
sql, without being satisfied with any of them. Desirable traits of the db 
layer in my problem domain are 1) eliminating boilerplate (e.g. setting up 
default keys, and indexes, and performing standard joins across relations), 
2) isolating view layers from data access layers (so the view doesn't need 
to know if a subselect or a join is required to span some relation, for 
example), 3) ability to progressively optimize by dropping back to sql when 
required, 4) ability to safely expose a general purpose query API over the 
data.

korma eliminates a very, very small part of the boilerplate. It's almost 
not worth the effort. Falling back to raw sql smoothly is difficult in 
korma, and I've had to drop it entirely in places where I need performance. 
Honeysql eliminates no boilerplate, but representing queries with data 
structures does make it easy to expose a sql-like query API with db 
firewalling (by matching on the incoming structure). Korma appears to also 
represent queries as data structures, but it's not part of the documented 
API. You have to reverse-engineer it, and I expect it's subject to change.


On Monday, November 18, 2013 8:19:28 AM UTC-8, Marcus Blankenship wrote:
>
> Brian, I certainly will.  I’ll type up something later this week as we 
> progress.  The current pain point is Korma, and generally learning clojure.
>
>
>
>
> On Nov 16, 2013, at 10:25 AM, Brian Craft <craft...@gmail.com<javascript:>> 
> wrote:
>
> Marcus -- I hope you will post updates to the list with your experiences. 
> It would be very interesting.
>
> This thread has drifted a bit from (roughly) "What can you do with clojure 
> web tooling?" toward "What can you imagine some day doing with the clojure 
> web tooling of the future?", which are both interesting questions, but have 
> somewhat different audiences. And the answers inform each other.
>  
>
> On Friday, November 15, 2013 8:20:32 AM UTC-8, Marcus Blankenship wrote:
>>
>> Me too!  Thanks to everyone who’s contributed, it’s been *very* helpful!
>>
>> On Nov 14, 2013, at 10:43 AM, Waldemar Schwan <waldema...@googlemail.com> 
>> wrote:
>>
>> I just want to say that this is one of the most interesting discussions I 
>> followed on this mailing list.
>>
>> Thanks to all participants.
>>
>> Am 14.11.2013 um 19:24 schrieb Brian Craft <craft...@gmail.com>:
>>
>>
>>
>> On Thursday, November 14, 2013 9:42:52 AM UTC-8, Jonathan Irving wrote:
>>>
>>> I agree with much of what you write James - I'm paid to write rails and 
>>> node.js code, and I'm finding that node is encouraging me to compose 
>>> small components and basically sidestep a lot of the issues that rails 
>>> is designed to address. 
>>>
>>
>> Can you give a concrete example? 
>>
>> -- 
>> -- 
>> You received this message because you are subscribed to the Google
>> Groups "Clojure" group.
>> To post to this group, send email to clo...@googlegroups.com
>> Note that posts from new members are moderated - please be patient with 
>> your first post.
>> To unsubscribe from this group, send email to
>> clojure+u...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/clojure?hl=en
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "Clojure" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to clojure+u...@googlegroups.com.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>
>> -- 
>> -- 
>> You received this message because you are subscribed to the Google
>> Groups "Clojure" group.
>> To post to this group, send email to clo...@googlegroups.com
>> Note that posts from new members are moderated - please be patient with 
>> your first post.
>> To unsubscribe from this group, send email to
>> clojure+u...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/clojure?hl=en
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "Clojure" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to clojure+u...@googlegroups.com.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>> marcus blankenship
>> \\\ Partner, Problem Solver, Linear Thinker
>> \\\ 541.805.2736 \ @justzeros \ skype:marcuscreo
>>  
>>
> -- 
> -- 
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clo...@googlegroups.com <javascript:>
> Note that posts from new members are moderated - please be patient with 
> your first post.
> To unsubscribe from this group, send email to
> clojure+u...@googlegroups.com <javascript:>
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> --- 
> You received this message because you are subscribed to the Google Groups 
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to clojure+u...@googlegroups.com <javascript:>.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
> marcus blankenship
> \\\ Partner, Problem Solver, Linear Thinker
> \\\ 541.805.2736 \ @justzeros \ skype:marcuscreo
>  
>

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to