, () , , .
You can use alternate URI semantics for certain types of arguments. Often URI design is the path to an item in a system. Unlimited parameters may not refer to a resource, but rather describe its attributes. Tags are a good example of this.
/chicken/red+tall+fat
Tags are easily implemented in CodeIgniter with one parameter.
If the parameters relate to node, you can consider a similar approach:
/hen-house.bunk4.topshelf/chicken
Or, if hierarchy is important as a path, you can use the solution func_get_args()above.
source
share