abdera-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James M Snell <jasn...@gmail.com>
Subject Re: svn commit: r616540 - in /incubator/abdera/java/trunk: ./ dependencies/i18n/ dependencies/i18n/src/main/java/org/apache/abdera/i18n/templates/ jcr/src/main/java/org/apache/abdera/jcr/ jcr/src/test/java/org/apache/abdera/jcr/ server/src/main/java/
Date Tue, 29 Jan 2008 23:29:37 GMT
There are two reasons:

1. I wanted to follow the Rails conventions

2. A Route is definitely different than a URI Template and I want to
    make sure it's clear which is being used.

- James

Dan Diephouse wrote:
> Brian Moseley wrote:
>> On Jan 29, 2008 2:22 PM,  <dandiep@apache.org> wrote:
>>
>>   
>>> .addRoute("service", "/:base", TargetType.TYPE_SERVICE)
>>> .addRoute("feed", "/:base/:collection", TargetType.TYPE_COLLECTION)
>>>     
>>
>> out of curiosity, why the ":foo" syntax? why not "{foo}" as in url
>> templates? or are those not acting as templates?
>>   
> 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.
> 
> - Dan
> 
> -- 
> Dan Diephouse
> MuleSource
> http://mulesource.com | http://netzooid.com/blog
> 

Mime
View raw message