There is one,

Wakeful (https://github.com/ninjudd/wakeful) routing library fits your 
criteria. 

Here I copy the sample from its README

(use 'flatland.wakeful.core)

(def handler (wakeful "awesome.api"))

Now http calls dispatch to methods calls in namespaces under awesome.api:

GET  /photo-123/thumbnail  -> awesome.api.photo/thumbnail

GET  /photo-123/tags       -> awesome.api.photo/tags

POST /photo-123/tag/user-1 -> awesome.api.photo/tag!


Unfortunately, it's been 2 years since last commit.


On Wednesday, 6 May 2015 06:53:14 UTC+7, Sean Corfield wrote:
>
> Perhaps I should rephrase that as a request for simple, convention-based 
> routing that works with Ring directly? :) 
>
> I’m sure Pedestal’s great, but just looking at the repo and documentation 
> doesn’t exactly scream "simple"… I just don’t want to have to read that 
> much documentation to get a simple web app up and running. 
>
> Sean 
>
> On May 5, 2015, at 4:45 PM, Paul deGrandis <paul.de...@gmail.com 
> <javascript:>> wrote: 
> > Pedestal's router is just an interceptor in the chain.  You could easily 
> write an interceptor that looks at the request and sees if it can resolve a 
> var by that name.  You could even stack multiple routers - first the var/fn 
> lookup and failing that, a more explicit router. 
>
>

-- 
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/d/optout.

Reply via email to