Tag: silk

  • Bidi vs Silk

    Bidi vs Silk

    In previous blog posts I mention that Bidi and Silk are essentially equivalent. I don’t believe this anymore. I now prefer Silk and I can show you why with a little example. First, let’s define some routes: (def silk-routes (domkm.silk/routes [[:home-page [[]]] [:about [[“about”]]]])) (def bidi-routes [“/” {“” :home-page “about” :about-page}]) When it comes to defining […]

  • Bidi vs Silk

    Bidi vs Silk

    In previous blog posts I mention that Bidi and Silk are essentially equivalent. I don’t believe this anymore. I now prefer Silk and I can show you why with a little example. First, let’s define some routes: (def silk-routes (domkm.silk/routes [[:home-page [[]]] [:about [[“about”]]]])) (def bidi-routes [“/” {“” :home-page “about” :about-page}]) When it comes to defining […]

  • No-hashes bidirectional routing in re-frame with silk and pushy

    No-hashes bidirectional routing in re-frame with silk and pushy

    Update: there’s a version of this article that uses bidi instead of silk: No-hashes bidirectional routing in re-frame with bidi and pushy. The content is very similar, only the code changes. I recently replaced secretary with silk and pushy in a re-frame project that was created fresh out of leiningen template and this is how I did it, but […]