[Catalyst] PathPart help

Les Fletcher les at affinitycircles.com
Fri Nov 16 04:31:16 GMT 2007


That one seems to use as explicit "view" at the end of the url instead 
of having the identifier be the last piece of the url.

Peter Karman wrote:
> Les Fletcher wrote on 11/15/07 1:47 PM:
>   
>> I have question about setting up PathPart's and Chaining.  I am trying
>> to set something that has the following look:
>>
>> /namespace/ => This lists out a list of objects
>> /namespace/<id> => displays detail information about the object with the
>> numeric id=<id>
>> /namespace/<id>/edit => brings up a form to edit object with numeric
>> id=<id>
>> /namespace/create => brings up a form to create a new object
>>
>>     
>
> This controller implements that exact API:
>
> http://search.cpan.org/~karman/Catalyst-Controller-Rose-0.04/lib/Catalyst/Controller/Rose/CRUD.pm
>
>   



More information about the Catalyst mailing list