On Wed, Dec 27, 2006 at 11:42:41AM -0600, Brandon Black wrote:
> On 12/27/06, Jesse Sheidlower <[EMAIL PROTECTED]> wrote:
> >
> >I _am_ just using DBIx::Class for this app. If this is
> >supposed to be being handled for me, it's not doing a very
> >good job
> >
>
> Your first email indicates y
* Jonathan Rockway <[EMAIL PROTECTED]> [2006-12-27 21:25]:
> No, it's not. Creating an object in Perl amounts to setting a
> flag (the OBJECT flag in subclasses of SvPVMG, to be exact).
>
> See illguts: http://gisle.aas.no/perl/illguts/
Are you being too literal on purpose? Yeah blessing a ref i
On Wed, 2006-12-27 at 11:30 -0500, Kenny Gatdula wrote:
> Hi,
> I agree with you that a table of contents would be useful. Maybe next
> year? In the meantime, this will work.
> http://dev.catalyst.perl.org/wiki/DocLinks/AdventCalendar2006
>
That's great, thanks.
--
Jon
I've previously posted about my performance issues regarding TT. At
the time, one of Matt's suggestions for improving performance was to
reduce the usage of uri_for() whenever possible.
I had some "list" pages where I'd need to display dozens of items and
link to each one of them and all my link
After working through the tutorial, and getting
crypted passwords to work, I now need to build my
first production app.
One thing I've run into: I don't have control over the
Model, and the DBIx schemas and classes are all in
outside modules. However, the layout of the DBIx
schema and class files
--- Eden Cardim <[EMAIL PROTECTED]> wrote:
> On 12/27/06, Mark Zealey <[EMAIL PROTECTED]> wrote:
> > Hi there,
> >
> > I'm basically wanting to write a simple log
> function which logs hits on my
> > website as entries in a database (automatically
> adding $c->user->{id} and
> > $c->req->referrer
On 12/27/06, Octavian Rasnita <[EMAIL PROTECTED]> wrote:
Hi,
Is there a way to see what's happening when doing:
$c->login($username, $password);
Hi Octavian,
You might have already tried this, but have you watched it under the
Perl debugger by starting the dev server with:
perl -d script/
> Isn't that really really slow though? Constructing a new object for each call?
No, it's not. Creating an object in Perl amounts to setting a flag (the
OBJECT flag in subclasses of SvPVMG, to be exact).
See illguts: http://gisle.aas.no/perl/illguts/
--
package JAPH;use Catalyst qw/-Debug/;($;
On 12/27/06, Jesse Sheidlower <[EMAIL PROTECTED]> wrote:
On Wed, Dec 27, 2006 at 10:34:25AM -0600, Brandon Black wrote:
> On 12/27/06, Chisel Wright <[EMAIL PROTECTED]> wrote:
> >On Wed, Dec 27, 2006 at 10:35:27AM -0500, Jesse Sheidlower wrote:
> >> Any suggestions what might be causing this, or
Hi,
Is there a way to see what's happening when doing:
$c->login($username, $password);
I found that each time the login is ok (the username and the password are
valid), the application gives a 404 Not Found error, and I want to see
what's happening.
I guess something's wrong when saving th
On Wed, Dec 27, 2006 at 10:34:25AM -0600, Brandon Black wrote:
> On 12/27/06, Chisel Wright <[EMAIL PROTECTED]> wrote:
> >On Wed, Dec 27, 2006 at 10:35:27AM -0500, Jesse Sheidlower wrote:
> >> Any suggestions what might be causing this, or where I should
> >> start to try to figure it out? Keep in
On 12/27/06, Chisel Wright <[EMAIL PROTECTED]> wrote:
On Wed, Dec 27, 2006 at 10:35:27AM -0500, Jesse Sheidlower wrote:
> Any suggestions what might be causing this, or where I should
> start to try to figure it out? Keep in mind that I cannot seem
> to force this to happen, so when it's OK, as i
On 12/27/06, Mark Zealey <[EMAIL PROTECTED]> wrote:
Hi there,
I'm basically wanting to write a simple log function which logs hits on my
website as entries in a database (automatically adding $c->user->{id} and
$c->req->referrer etc), but to do so I want to use a model (I think). Any
ideas how I
On Dec 26, 2006, at 7:12 PM, Jon wrote:
I would like to make one small suggestion - would it be possible to
add
a table of contents? (As in a list of titles rather than dates).
Hi,
I agree with you that a table of contents would be useful. Maybe next
year? In the meantime, this will wo
On Wednesday 27 December 2006 1:01 pm, Ash Berlin wrote:
> Very very *VERY* bad idea.
>
> __PACKAGE__->mk_accessors(context);
>
> sub ACCEPT_CONTEXT {
>my ($self, $c, @args) = @_;
>
>my $new = bless({ %$self }, ref $self);
>$new->context($c);
>return $new;
> }
Isn't that really rea
On Wed, Dec 27, 2006 at 10:35:27AM -0500, Jesse Sheidlower wrote:
> Any suggestions what might be causing this, or where I should
> start to try to figure it out? Keep in mind that I cannot seem
> to force this to happen, so when it's OK, as it is now, I can't
> get it started.
This sounds a bit l
that's cos the database connection has gone away (it happens after about 20
min) and the DBD driver for you database doesnt have autoreconnect set. This
is a DBD:: specific thing - the way for mysql databases is to set
mysql_auto_reconnect to true in the DBI connection options (which iirc you
c
For the past few months, with two of my Cat apps, I've been
having unpredictable problems where a logged-in user would get
redirected back to the login page, and could not re-login
again. After some amount of time, the user would be able to
log in.
This was sporadic and I never managed to be onli
--- Lorn <[EMAIL PROTECTED]> wrote:
> you can passa the $c from controller to model
> $c->model(foo)->bar($c,$foobar);
I'd vote for this method over setting the context,
since one of the goals of a model is to not care about
how or when it's called, that way you are encouraging
yourself to not b
Mark Zealey wrote:
Hi there,
I'm basically wanting to write a simple log function which logs hits on my
website as entries in a database (automatically adding $c->user->{id} and
$c->req->referrer etc), but to do so I want to use a model (I think). Any
ideas how I can just say $c->model('Log')
you can passa the $c from controller to model
$c->model(foo)->bar($c,$foobar);
On 12/27/06, Mark Zealey <[EMAIL PROTECTED]> wrote:
Hi there,
I'm basically wanting to write a simple log function which logs hits on my
website as entries in a database (automatically adding $c->user->{id} and
$c->
Hi there,
I'm basically wanting to write a simple log function which logs hits on my
website as entries in a database (automatically adding $c->user->{id} and
$c->req->referrer etc), but to do so I want to use a model (I think). Any
ideas how I can just say $c->model('Log')->info("foo") and aut
> I'd like to throw in a vote of thanks and commendation to all who
> invested their time and effort into putting together the 2006 advent
> calendar. This kind of "task-oriented" narrative is invaluable both as
> learning material and for prompting the ol' brain into thinking how
> these things
I think you can't
A well-trained Perl Developer want a job about Perl.
Telecommute only
Contact me: gensking[at]gmail[dot]com
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://
[EMAIL PROTECTED] ha scritto:
Recently there have been a number of messages relating to the difficulties
of installing Catalyst on Windows.
Although installing Perl-modules on Windows-machines is always a bit
difficult, I find that Catalyst and its related modules are not more
difficult to inst
25 matches
Mail list logo