Thanks for the nice words about Bidi (https://github.com/juxt/bidi). For 
the record, Bidi now supports ClojureScript too.

btw. The reason for matching on the path (rather than allowing matches on 
the query-string) is intentional, since I think that encourages a more 
RESTful architecture. However, it's possible to extend the Pattern protocol 
to match on anything in the request, should that be needed.

On Wednesday, 6 August 2014 09:27:44 UTC+1, DomKM wrote:
>
> Hi Craig,
>
> Great question! Bidi <https://github.com/juxt/bidi> is a fantastic 
> library and was my favorite Clojure routing library prior to Silk. The 
> design of Silk was heavily influenced by that of Bidi.
>
> In terms of commonalities, both Silk and Bidi are bidirectional, pure (no 
> side effects), based on data composition (not function/macro composition), 
> extensible via protocols, and decouple matching from handling.
>
> In terms of differences, Bidi is (obviously) not compatible with 
> ClojureScript. Bidi's design is the most amenable to porting to 
> ClojureScript of any Clojure library that I've reviewed, but it still makes 
> many assumptions about using Ring and running in a server environment.
> Bidi routes are defined in a tree structure that branches at URL path 
> segments. While Silk can match any part of a URL, Bidi can only match the 
> URL path due to its routes structure. I also think that Silk's route syntax 
> is a lot easier to read and programmatically manipulate than Bidi's, but 
> this is subjective.
>
> Hope that helps. :)
>
> Cheers,
> Dom
>
>
>
> On Mon, Aug 4, 2014 at 10:10 PM, Craig <craig....@gmail.com <javascript:>> 
> wrote:
>
>> How would you position Silk in relation to Bidi? 
>>
>> Thanks for any insights.
>>
>> -- 
>> 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/d/optout.
>>
>
>

-- 
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