[Catalyst] Re: Catalyst vs Rails vs Django Cook off

Jonathan Rockway jon at jrock.us
Thu Jan 18 16:48:26 GMT 2007


A. Pagaltzis wrote:
> 
> Eh? Apache doesn’t dispatch anything unless maybe you’re talking
> about mod_perl

If that's true, then GETting http://mysite.com/foo/bar/baz.html would
get a file named $DOCROOT/foo\/bar\/baz.html.  Considering that's never
the case (you can't have / in UNIX filenames, only paths), I would say
Apache is a dispatcher.  Add mod_alias and mod_rewrite into the mix, and
Apache is definitely a URL dispatcher.

-- 
package JAPH;use Catalyst qw/-Debug/;($;=JAPH)->config(name => do {
$,.=reverse qw[Jonathan tsu rehton lre rekca Rockway][$_].[split //,
";$;"]->[$_].q; ;for 1..4;$,=~s;^.;;;$,});$;->setup;



More information about the Catalyst mailing list