Re: [Catalyst] URL and myapp_cgi or myapp_fastcgi mapping.

2007-05-05 Thread Sébastien Wagener
On Sat, 2007-05-05 at 21:14 +0530, Dister Kemp wrote: > Hey Sebastien, > >I am just mailing to say a quick 'Thank you', that approach worked. > Looks like my understanding of the Alias directive of Apache > was not sufficient. Neither is mine, because I do not understand why it works either :

Re: [Catalyst] URL and myapp_cgi or myapp_fastcgi mapping.

2007-05-04 Thread Sébastien Wagener
On Fri, 2007-05-04 at 20:55 +0530, Dister Kemp wrote: > Hi there, > > I am just getting exposed to the various Catalyst modules and stuff. > I have finally succeeded in setting up my Apache server with FastCGI > support to talk to myapp_fastcgi.pl server. Though there is a slight > hitch, I do

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

2007-01-17 Thread Sébastien Wagener
What about profiling real world applications where the Catalyst seems to be the bottleneck? On my production server, database requests are usually quite fast, so most of the time is spent in perl code, and here are the first lines of a "dprofpp -r" on my local 2.8 Ghz Laptop (production database,

Re: [Catalyst] info basic stash problem...maybe i am too tired this sunday

2007-01-14 Thread Sébastien Wagener
On Sun, 2007-01-14 at 19:01 +, Ash Berlin wrote: > Igor Longagnani wrote: > > Hi, newbie here... > > i thought i had understood stash behaviour... but prolly not :) > > > > I can use it together with DBIx::Class resultsets and so on, BUT now i > > would like to put such an hashref > > > > $c

Re: [Catalyst] C::V::PDF? (Anybody have one?)

2007-01-08 Thread Sébastien Wagener
On Mon, 2007-01-08 at 09:21 -0800, Dylan Vanderhoof wrote: > I figured I'd ask here real quickly before I try to write one. > > Anybody made a Catalyst::View::PDF of some sort? It looks like I'm > going to have to be dealing with some PDF output, so I figured I'd avoid > reinventing the wheel i

Re: [Catalyst] C::P::Email 0.06 problem

2006-12-24 Thread Sébastien Wagener
On Fri, 2006-12-22 at 10:55 -0800, Dylan Vanderhoof wrote: > Downgraded for now, but it'd be nice to see that fixed since my package > manager keeps wanting to upgrade and I have to talk sternly to it to get > it to stop. =) I just saw that, although 0.07 did not fix the problem, the latest versio

Re: [Catalyst] C::P::Email 0.06 problem

2006-12-24 Thread Sébastien Wagener
On Fri, 2006-12-22 at 10:55 -0800, Dylan Vanderhoof wrote: > Upgrading to 0.06 broke my code using C::P::Email that was written > nearly identically to the docs. I've the same problem, all the e-mail sending facilities are broken in my app... I would appreciate to know whether I should adapt my cod

Re: [Catalyst] has something like DBI's fetchrow_hashref()?

2006-12-18 Thread Sébastien Wagener
On Mon, 2006-12-18 at 14:11 +0100, Robert 'phaylon' Sedlacek wrote: > Wan wrote: > > hello everyone, > > > > I use DBIx::Class in my Catalyst project. > > As a note: This is _not_ a Catalyst question! Except that you access > your model via Catalyst, it is all only DBIx-Class here. DBIC has > sep

Re: [Catalyst] C::P::Email and testing

2006-12-16 Thread Sébastien Wagener
On Sat, 2006-12-16 at 07:45 +0100, Daniel McBrearty wrote: > if you have an action that sends an email, how do you write tests for it? > > perhaps print the email to a temp file in test mode? what do you guys do? > I am currently considering writing tests for my e-mails too. You could set __PACK

Re: [Catalyst] Authorization::ACL - basic question

2006-12-15 Thread Sébastien Wagener
On Thu, 2006-12-07 at 09:09 -0800, Will Smith wrote: > Hi, sorry if I ask a question that has been answered. > How could I block out the whole set of actions instead of setting for > each. For example: > instead of doing authorization for each of action in books,pm > controller such as: > __PACKAGE

Re: [Catalyst] order_by

2006-12-15 Thread Sébastien Wagener
On Thu, 2006-12-14 at 18:51 -0800, Andrew Peebles wrote: > Will Smith wrote: > I think you want: > > $c->stash->{book} = [$c->model('myappDB::Book')->search( {}, {order_by > => 'title} )]; The DBIx::Class::ResultSet pod recommends using undef instead of {}, if I remember right. > > That's how I

Re: [Catalyst] FastCGI External (solved)

2006-12-06 Thread Sébastien Wagener
Argh!!! I was doing tests and tests, and now I see that since this evening it is actually working as expected! Presumably my admin forgot to reload the apache server after doing the changes. But I do not complain as I am getting the hosting for free :-) The "solved issue" from the wiki did the tri

[Catalyst] FastCGI External

2006-12-05 Thread Sébastien Wagener
Hi, I have a Catalyst application that is running as an external FastCGI process. My Apache config looks like FastCgiExternalServer /tmp/myapp -socket /tmp/myapp.socket [...] Alias /myapp/ /tmp/myapp/ If I call http://localhost/myapp/user/login, Catalyst receives a request for "l

Re: [Catalyst] How to use FastCGI engien?

2006-11-13 Thread Sébastien Wagener
On Mon, 2006-11-13 at 21:55 +1030, Jon wrote: > Check that the user that runs apache (prob. apache or httpd, depending > on your linux distribution) has filesystem read/write/execute access to > the /etc/httpd/logs/fastcgi directory or the equivalent for your setup. > > Also check that your apache

[Catalyst] Test::WWW::Mechanize::Catalyst - HTTP::Cookies

2006-08-04 Thread Sébastien Wagener
Hi, I get the following error while testing an action that creates a cookie (CATALYST_SERVER not set): Can't locate object method "host" via package "URI::_generic" at /usr/local/share/perl/5.8.7/HTTP/Cookies.pm line 566. Here is my test code: use Test::More tests => 2; BEGIN { use_ok( 'Test::WW