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 <[email protected]> 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 [email protected]
> Note that posts from new members are moderated - please be patient with
> your first post.
> To unsubscribe from this group, send email to
> [email protected]
> 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 [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/clojurescript.

Reply via email to