Articles tagged with "Named Parameters"

Passing Named Parameters

By Tom OReilly
This simple tutorial will add the ability to pass named parameters to your actions.

Named Parameters are beneficial because they:
* Make for much prettier URLs
* Allow passing of a variable number of parameters easier
* Allow passing of parameters in any order
* Remove the need to pass placeholders in URLs

A URL containing named parameters may look like:
http://example.com/controller/action/param1:value1/param2:value2/
[Read more]