[Catalyst] Another RFC. $c->call()
Dominique Quatravaux
dom at idealx.com
Wed Apr 12 14:52:20 CEST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Marcus Ramberg a écrit :
> Please check out
>
> http://marcusramberg.livejournal.com/12301.html
>
> Comments welcome.
I side with the first blog comment on the naming issues. Also, the
"redispatch" version should be made to throw exceptions instead of
returning, and possibly should not return even in case of success. So
how about this:
Name Effect Exceptions
->call() Invokes controller are trapped
w/o changing $c->action
->forward() ditto ditto
->redispatch() Invokes controller, changing are fatal from
$c->action caller's POV
- --
Dominique QUATRAVAUX Ingénieur senior
01 44 42 00 08 IDEALX
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFEPPgDMJAKAU3mjcsRAthgAJ9eZsHajKV3lZfx7s7sAqJDq1vvvACfTt+R
ss5y31hSaP8iG7VYHSFMoo0=
=ndLQ
-----END PGP SIGNATURE-----
More information about the Catalyst
mailing list