On 24.03.2010 17:27, Bernhard Schussek wrote: >> What others think? > > I have thought of that before and think it's very well worth to be > included in the RFC. It's not as nicely testable as the other > approaches, but it's much cleaner than the routing magic.
I don't know if testability is really an issue. Since in most cases you need to test forms and all that have POST/GET input and can't just rely on the routing parameter, we will need to find a good solution to inject testing parameters in a request object. The request class has a setParameters method so you can probably abuse that. Not for routing though, so I don't think it's a good idea to remove routing params from the function signature, they are very handy as they are. Cheers, Jordi
signature.asc
Description: OpenPGP digital signature