It actually doesn't do anything Clout does.
Latest modifications actually make it 100% complementary to clout, so now
you can do:

(defroute about "/about")(defroute documents "/docs/:title")


(compojure/defroutes main-routes
  (compojure/GET about-template request (handlers.root/root-page
request)) ;; will use /about as a template
  (compojure/GET documents-template request
(handlers.root/documents-page request)) ;; will use /documents as a
template
  (route/not-found "Page not found"))


Meaning that on Route One side you specify the way you generate url from
parts, and clout takes same template and makes urls parseable.

To sum it up: Clout only does route recognition (URL => route), while Route
One does only URL generation (route => URL)

Thanks!

On Tue, Aug 13, 2013 at 7:12 PM, Baishampayan Ghose <b.gh...@gmail.com>wrote:

> Curious, how does it differ from Clout? ~BG
>
> On Tue, Aug 13, 2013 at 9:38 PM, Michael Klishin
> <michael.s.klis...@gmail.com> wrote:
> > On behalf of the ClojureWerkz team, I'm happy to announce our not-so-new
> > project that has recently reached 1.0.0-rc1 stage: Route One [1].
> >
> > Route One is a route generation library complimentary to Clout, part of
> > Compojure.
> > It takes a route definition and parameters and produces a URL/URI/path.
> >
> > It can be used in any application that may need to generate
> URLs/URIs/paths.
> >
> > 1.0.0-rc1 release notes:
> >
> http://blog.clojurewerkz.org/blog/2013/08/12/route-one-1-dot-0-0-rc1-is-released/
> >
> > Documentation and examples:
> > https://github.com/clojurewerkz/route-one#documentation--examples
> >
> > 1. http://github.com/clojurewerkz/route-one
> > --
> > MK
> >
> > http://github.com/michaelklishin
> > http://twitter.com/michaelklishin
> >
> > --
> > --
> > 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/groups/opt_out.
> >
> >
>
>
>
> --
> Baishampayan Ghose
> b.ghose at gmail.com
>
> --
> --
> 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/groups/opt_out.
>
>
>


-- 
alex p

-- 
-- 
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/groups/opt_out.

Reply via email to