These are chat archives for ldnclj/chat

20th
May 2015
Chris Howe-Jones
@chrishowejones
May 20 2015 05:14
Morning
Bruce Durling
@otfrom
May 20 2015 06:17
morning
Chris Howe-Jones
@chrishowejones
May 20 2015 07:33
I'd forgotten how much time I've spent learning how frameworks behave (and then relearning them for the next version) in Javaland. I could get used to this lightweight library composability malarky in Clojure. However, I'm finding working out the 'lifecycle' for liberator tricky but that may just be my flaky understanding of REST HTTP statuses for GET, PUT, POST, etc. Anyone else struggled with liberators many actions etc.?
Jon Pither
@jonpither
May 20 2015 07:38
morning
Thomas
@thomas-shares
May 20 2015 07:40
tere hommikust
Malcolm Sparks
@malcolmsparks
May 20 2015 07:50
@chrishowejones Webmachine and Liberator feel too low-level these days, exposing the http flow chart to users , I'm trying to raise the abstraction yet retain the fine-grained control in my yada library: http://yada.juxt.pro - it's still in alpha but I'd be interested to know whether you deem it an improvement or not on Liberator. Billy is supporting my efforts with yada and we're hoping to do some serious hacking at EuroClojure this year
plus the swagger support in yada is quite close to completion: http://yada.juxt.pro/swagger-ui/index.html?url=/api/swagger.json
(don't use yada in prod yet, it's still alpha for now)
Benedek Fazekas
@benedekfazekas
May 20 2015 07:55
@malcolmsparks thx for your answer wrt yada/swagger the other day ;)
Malcolm Sparks
@malcolmsparks
May 20 2015 07:59
np :) btw. I just released 0.4.2, and documented the critical support for HTTP status 418 ;)
Benedek Fazekas
@benedekfazekas
May 20 2015 07:59
nice one
Thomas
@thomas-shares
May 20 2015 08:05
@malcolmsparks looks really good
Korny Sietsma
@kornysietsma
May 20 2015 08:27
looks good from quick view. I used Liberator a lot in 2013 - quite liked it, but had some real issues when I had to fight the state flowchart...
Bruce Durling
@otfrom
May 20 2015 08:42
@malcolmsparks you need status 451 too
@malcolmsparks so is yada going to be the replacement for Liberator? You said Billy was supporting it.
Chris Howe-Jones
@chrishowejones
May 20 2015 08:47
@malcolmsparks thanks Malcolm. I'll take a look when time allows (no chance of me using any Clojure in prod so no danger there! ;-) )
Korny Sietsma
@kornysietsma
May 20 2015 09:20
reading the yada docs in bits while waiting for a slow deploy... I really like the async model, especially as it plays nicely with core.async
Malcolm Sparks
@malcolmsparks
May 20 2015 10:36
@otfrom Billy is being helpful and offering advice and feedback on yada, he's got thoughts about Liberator 2.0 too I believe, we'll see
@kornysietsma yeah, the async stuff is just ztellman's manifold underneath, it's a really nice library
Thomas
@thomas-shares
May 20 2015 10:37
ztellman has quite a few nice libraries imho...
and he is a really nice and helpful guy as well.
Malcolm Sparks
@malcolmsparks
May 20 2015 10:38
yeah, and they play well together too - with aleph you get http chunking of manifold streams, and end-to-end back pressure
last time we spoke he said he believes he'll be at EuroClojure this year
Jon Pither
@jonpither
May 20 2015 10:47
Anyone using boot?
Benedek Fazekas
@benedekfazekas
May 20 2015 10:48
had a play with it but not using it atm
Thomas
@thomas-shares
May 20 2015 10:49
@jonpither I used it a little for a cljsjs project.
but just looked at the other examples
Jon Pither
@jonpither
May 20 2015 10:51
Did you ever try to do usual tasks like lein uberjar?
Thomas
@thomas-shares
May 20 2015 10:54
boot package build-jar might do what you need
but not certain
Benedek Fazekas
@benedekfazekas
May 20 2015 10:54
i managed a jar...
like boot pom jar install
Benedek Fazekas
@benedekfazekas
May 20 2015 11:16
Jon Pither
@jonpither
May 20 2015 11:17
thanks
Jon Pither
@jonpither
May 20 2015 13:23
Sadly moving off boot, the uberjar that uber builds is incompatible with webjars