> On 6/17/07, Jonathan Swartz <[EMAIL PROTECTED]> wrote:
>> * Access to the wealth of plugins, e.g. sessions, auth/authz
>
> Can you comment on which ones you found useful, and didn't find easily
> with Mason by itself?
>
>> * A rich, fairly sane webapp API which is agnostic about mod_perl vs
>> FastCGI
>
> Same question: what are you finding useful here that wasn't already  
> in Mason?

Well, grepping through my source code, here's what I'm using so far:

$c->config - the availability of a global config, along with the  
automatic reading of global and local config files.

$c->path_to - path construction with knowledge of the application  
root directory

$c->url_for - URL construction with knowledge of current URL

$c->session, $c->flash

$c->response->redirect, $c->response->cookies

Yes, some of these are available in Mason already, but the Catalyst  
folks have made them work seamlessly between mod_perl, fastcgi, and  
standalone mode. So I can run a page request through the debugger or  
profiler or in unit tests, and it "just works", in a way that  
Apache:DB and Apache::DProf never quite did.

I haven't been using Catalyst for long, and haven't had a chance to  
look through all the available plugins. I do get the feeling that  
many of them are rather thin wrappers around exiting CPAN modules,  
e.g. Catalyst::Plugin::DateTime and Catalyst::Plugin::Browser, and  
I'd prefer to roll these things on my own and retain control over  
them. So "wealth of plugins" might have been overstated. :)

Jon


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Mason-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to