<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Brian Moseley wrote:
<blockquote
cite="mid:29a761a00801291426l7053874ex85fe731bfb235e2@mail.gmail.com"
type="cite">
<pre wrap="">On Jan 29, 2008 2:22 PM, <a class="moz-txt-link-rfc2396E" href="mailto:dandiep@apache.org"><dandiep@apache.org></a>
wrote:
</pre>
<blockquote type="cite">
<pre wrap="">.addRoute("service", "/:base", TargetType.TYPE_SERVICE)
.addRoute("feed", "/:base/:collection", TargetType.TYPE_COLLECTION)
</pre>
</blockquote>
<pre wrap=""><!---->
out of curiosity, why the ":foo" syntax? why not "{foo}" as in url
templates? or are those not acting as templates?
</pre>
</blockquote>
Simply following rails conventions. The semantics are different too I
believe. James can probably give a better answer though - I don't
really care either way.<br>
<br>
- Dan<br>
<pre class="moz-signature" cols="72">--
Dan Diephouse
MuleSource
<a class="moz-txt-link-freetext" href="http://mulesource.com">http://mulesource.com</a>
| <a class="moz-txt-link-freetext" href="http://netzooid.com/blog">http://netzooid.com/blog</a></pre>
</body>
</html>
|