Re: Comparing and selecting web API libraries

2018-03-08 Thread jmckitrick
So it sounds like your choice would be compojure-api, correct? On Thu, Mar 8, 2018 at 11:28 AM Erik Assum wrote: > Hi, > > On my current project, we’re using compojure with liberator. It works, but > there are a few down sides as far as I can see: > Compojure is opaque, eg the routing is express

Re: What’s the best way to browse all lein templates?

2018-03-05 Thread jmckitrick
I'll definitely try that again, but since I'm not read to get specific yet, I'm still working at a 'fuzzy logic' level. I'm especially interested in what is most popular, current, and has a lot of community support. On Sun, Mar 4, 2018 at 8:11 PM Edward Knyshov wrote: > Did you try to narrow dow

Re: Best way to include dev-only functions?

2018-01-22 Thread jmckitrick
Ah, ok. I’ve not used with-redefs. I’ll give it a shot. On Wed, Jan 17, 2018 at 8:23 AM Patrik Sundberg wrote: > I tend to add a path to my :resource-paths in boot for dev-only things. > You can do the same with lein (and hopefully any other build tool you use). > > I'm not sure I got your quest

Re: Adding http header to SOAP request

2018-01-02 Thread jmckitrick
Will do. I was hoping to get something up and running quickly for demo purposes, but that might not be practical. It depends on how quickly I hear back from the author. On Sat, Dec 30, 2017 at 1:38 AM Sean Corfield wrote: > Please keep me posted on how that goes. The Zero-Ltd version is a fork

Re: Adding http header to SOAP request

2017-12-29 Thread jmckitrick
Yes, that’s exactly the one I’m looking at. I emailed the recent contributor. We’ll see what happens On Fri, Dec 29, 2017 at 6:06 PM Sean Corfield wrote: > Which clj-soap are you talking about? > > > > There are several unmaintained forks of the original project lying around. > > > > This se

Re: Converting json to work with clojure.spec

2017-08-08 Thread jmckitrick
Hmm, that might be useful. I assume it would make sense for an API called from other apps, but not so much for internal web services called from your own client app. On Mon, Aug 7, 2017 at 4:04 AM Peter Hull wrote: > > On Sunday, 4 December 2016 15:11:55 UTC, Jonathon McKitrick wrote: >> >> That

Re: Namespace question and request for project with non-trivial use of clojure.spec

2016-12-16 Thread jmckitrick
That did the trick. Thanks! On Fri, Dec 16, 2016 at 12:29 PM Alex Miller wrote: > > > On Friday, December 16, 2016 at 10:59:50 AM UTC-6, Jonathon McKitrick > wrote: > > I've run into some odd namespace issues with clojure.spec, and I'm sure > it's because I'm doing something wrong. I have this i

Re: Protocols for persistence - not sure about a few cases

2016-08-29 Thread jmckitrick
I read too quickly. I might need multi-methods after all, just like I used in Common Lisp. I want different types of persisted objects to have the same interface, if possible. Actually, I'm just experimenting with protocols, so I'm probably better off looking for a different use case. On Mon, Aug

Re: Protocols for persistence - not sure about a few cases

2016-08-29 Thread jmckitrick
Makes perfect sense. Thanks! On Mon, Aug 29, 2016 at 5:09 PM Jonathan Fischer wrote: > The most straightforward one: just make your protocols a thing that your > storage medium implements, instead of your records. E.g.: > > (defprotocol ThingStore > (load-item [store item-id]) > (load-items

Re: Using OAuth2 to call one web app from another

2016-06-20 Thread jmckitrick
It would be great if you'd upload it to clojars. I'll start working with it immediately after that, and hopefully it will do the trick. On Mon, Jun 20, 2016 at 8:53 PM wrote: > Great! I'll give it a try! > > On Mon, Jun 20, 2016 at 8:51 PM Karl Blomström > wrote: > >> Hi Jonathon! I am working

Re: Using OAuth2 to call one web app from another

2016-06-20 Thread jmckitrick
Great! I'll give it a try! On Mon, Jun 20, 2016 at 8:51 PM Karl Blomström wrote: > Hi Jonathon! I am working on a client library for retrieving oauth2 > tokens. Have a look here: https://github.com/blmstrm/loudmoauth and here > for example usage: > https://github.com/blmstrm/loudmoauth-examples/