Dennis Daupert wrote:
It seems that when chained path parts increase beyond two links,
addressing actions directly doesn't work quite as well. For example, I
have these:
User.pm
User::Blog.pm
User::Blog::Entry.pm
After I add an entry to blog 'x' for user 'y', I can transport over to
the
On Fri, Jan 8, 2010 at 6:55 AM, Tomas Doran bobtf...@bobtfish.net wrote:
$c-response-redirect($c-uri_for(/user/$user_id/blog/$blog_id/entry/list));
Eww, don't do that.
You want
$c-response-redirect($c-uri_for_action('/user/blog/entry/list',
[$user_id, $blog_id]));
I agree that's the
Hello there,
I need to build a script for my catalyst application that reads some
data and put it into the database. This script needs to run as a daily
cron job.
My first idea was to create a controller which handles this for me and
use some of the other engines for catalyst (like
I always liked the solution used by Drupal of simply making cron use
curl/wget/... to request a special URL. Then it becomes an action and is
easy to code and configure almost on any platform.
Long-running tasks (beyond that of an HTTP request) are a different
matter. At present, we do this
On Fri, Jan 8, 2010 at 7:58 AM, Christoph Friedrich
christ...@christophfriedrich.de wrote:
Hello there,
I need to build a script for my catalyst application that reads some data
and put it into the database. This script needs to run as a daily cron job.
My first idea was to create a
On Fri, Jan 8, 2010 at 9:55 AM, Tomas Doran bobtf...@bobtfish.net wrote:
$c-response-redirect($c-uri_for(/user/$user_id/blog/$blog_id/entry/list));
Eww, don't do that.
I know, I held my nose when doing that, but in point of fact, it does work,
so in a pinch
You want
Hi,
I've asked this question a few times, but never got far enough to
actually solve the problem. So, instead of asking on IRC again and
losing the logs/forgetting stuff, I'm going to try here!
I have a role that needs to be parameterized before it is applied to
my controller. However, Catalyst
ERROR: RETARD AT COMPUTER.
Turns out this is *exactly* possible at the moment:
http://github.com/bobtfish/moosex-methodattributes/blob/master/t/param_role.t
Sigh, I feel a little bit dumb now
--
Oliver Charles / aCiD2
___
List:
When I call 'script/myapp_create.pl controller Base' it creates the
module Base.pm with the following statement:
BEGIN { extends 'Catalyst::Controller'; }
What's the advantage of doing this? Are there any times one would NOT
want to place it within BEGIN?
Also, I see that the following is not
On 8 Jan 2010, at 19:48, Kiffin Gish wrote:
When I call 'script/myapp_create.pl controller Base' it creates the
module Base.pm with the following statement:
BEGIN { extends 'Catalyst::Controller'; }
What's the advantage of doing this? Are there any times one would NOT
want to place it within
10 matches
Mail list logo