[Catalyst] Virtual file system
Robert 'phaylon' Sedlacek
rs at 474.at
Mon Dec 18 14:00:29 GMT 2006
vti wrote:
> Actually I just want to stay in no-?-params style. I really like chaining
> things when you have something like /material/1232/edit.
And what if you want to edit something named edit?
/material/edit/edit
You could even get around that, but what about viewing something named
123/edit?
/material/123/edit
Wouldn't be quite it.
> I thought about the same way, but doing like:
>
> /materials/add/<and here goes our path>
You can do that too. But if you are always dealing with a variable
number of arguments, prefixing the called action onto the path is the
way to go imho. It is a much cleaner approach in my experience.
--
# Robert 'phaylon' Sedlacek
# Perl 5/Catalyst Developer in Hamburg, Germany
{ EMail => ' rs at 474.at ', Web => ' http://474.at ' }
More information about the Catalyst
mailing list