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

Robert 'phaylon' Sedlacek rs at 474.at
Wed Jan 17 14:12:42 GMT 2007


A. Pagaltzis said:
>
> * Robert 'phaylon' Sedlacek <rs at 474.at> [2007-01-16 15:55]:
>
>> That's a rather odd comparison. I'd say "benchmarking mapping
>> of URLs to methods isn't a good test of Catalyst like
>> benchmarking DBI isn't a good test of DBIx-Class."
>
> I agree that Perrin’s analogy was a bit odd, but yours is even
> odder.

You are of course free to think so, but without some Why's I'm hardly able
to argue about it. But I always wanted to be psychic, so I'll try it
anyway :)

When I request a resource from a Catalyst application, two things are
executed: The framework logic, and my application logic. But this is not a
"first the one, then the other" execution. During the request, the
framework calls my application logic to get some response together, and my
application logic uses the framework logic in a convenient way. The
dispatching (read: The decisio on what part of my application logic to
execute) is a rather small part.

-- 
# Robert 'phaylon' Sedlacek
# Perl 5/Catalyst Developer in Hamburg, Germany
{ EMail => ' rs at 474.at ', Web => ' http://474.at ' }




More information about the Catalyst mailing list