Brandon Black wrote:
The View should handle everything specific to HTML rendering, and the
Controller should really be a very thin translation layer that maps
HTTP inputs into View updates and Model calls. In a design laid out
like that, your question would become How do I write a utility
[Was: Re: [Catalyst] Command-line utility using Controller - examples?]
On Jul 17, 2007, at 9:21 AM, Ronald J Kimball wrote:
(The Controller in this case is probably not as thin as it should
be. :)
The issue I had is that Catalyst makes it very easy to do the
database part of the Model,
The Makefile.PL is missing a requirement for Module::Install!
-Alex
-Original Message-
From: Yuval Kogman [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 12, 2007 1:53 PM
To: Development of the elegant MVC web framework
Cc: The elegant MVC web framework
Subject: [Catalyst] Re:
* Joe Landman [EMAIL PROTECTED] [2007-07-14 01:16]:
Nowadays I simply put all the variable creation in a separate
section near the beginning.
Yuck!, please don’t. At the very least make sure not to declare
variables for a wider scope than necessary.
Regards,
--
Aristotle Pagaltzis //
Catalyst::Helper::_mk_changes calls POSIX::strftime on line 390:
my $time = strftime('%Y-%m-%d %T', localtime time);
the %T parameter causes my Activestate Perl 5.8.8 820 to infinite loop.
In fact,
perl -MPOSIX -e print POSIX::strftime('%T', localtime time);
also infinite loops.
Nice.
* Christopher Heschong [EMAIL PROTECTED] [2007-07-14 01:15]:
What about:
my $vote = $bar and $foo;
Seems to pass the test above and is vaguely readable. Is it
similarly evil?
I think you mean
my $vote = $bar $foo;
That’s not terribly pretty tho. It conceils intent. In particular
it
On Tue, Jul 17, 2007 at 05:33:52PM +0200, Hartmaier Alexander wrote:
The Makefile.PL is missing a requirement for Module::Install!
No, the dist is missing inc/
And there's already a new version on CPAN that fixes this :)
--
Matt S Trout Need help with your Catalyst or DBIx::Class
Hi Jim,
The DBIx::Class module is kind-of successor to DBIC. It is much more
flexible in terms of what it allows you to do, and it works with the
new realms functionality of C::P::Authentication. DBIC doesn't.
DBIx::Class allows more complex specification of the user during
authentication.
I was just curious about peoples opinions of
Catalyst::Plugin::Authentication::Store::DBIC vs
Catalyst::Plugin::Authentication::Store::DBIx::Class
We use DBIx::Class for our model and the DBIC module for authentication
currently.
I realize that DBIC allows us to use DBIx::Class or
On Tue, Jul 17, 2007 at 12:32:48PM -0400, bits wrote:
Catalyst::Helper::_mk_changes calls POSIX::strftime on line 390:
my $time = strftime('%Y-%m-%d %T', localtime time);
the %T parameter causes my Activestate Perl 5.8.8 820 to infinite loop.
Odd, it doesn't cause any AS perl I've seen
bits wrote:
Catalyst::Helper::_mk_changes calls POSIX::strftime on line 390:
my $time = strftime('%Y-%m-%d %T', localtime time);
the %T parameter causes my Activestate Perl 5.8.8 820 to infinite loop.
In fact,
perl -MPOSIX -e print POSIX::strftime('%T', localtime time);
also
I didn't mention it, but I'm running Windows Vista 32-bit. UAC is enabled
and this occurs whether running with elevated privileges or not. I should
note that I previously had Catalyst running on a Vista laptop with
ActiveState 820 and did not have this problem.
Not sure if the build environment
Matt S Trout wrote:
On Mon, Jul 16, 2007 at 02:48:50PM +0200, Daniel McBrearty wrote:
is there a way to have some C's and M's load into catalyst
conditionally? for example, if some config variable is set?
Exclude some of them with setup_components config.
Or just do it via @INC
On Tuesday 17 July 2007 02:02:20 pm Jim Spath wrote:
We use DBIx::Class for our model and the DBIC module for authentication
currently.
Just to clarify, DBIC and DBIx::Class are the same thing. DBIx::Class is a
lot to type, so modules that work with DBIx::Class are often called
On Jul 17, 2007, at 6:11 PM, Jonathan Rockway wrote:
On Tuesday 17 July 2007 02:02:20 pm Jim Spath wrote:
We use DBIx::Class for our model and the DBIC module for
authentication
currently.
Just to clarify, DBIC and DBIx::Class are the same thing.
DBIx::Class is a
lot to type, so modules
On Jul 16, 2007, at 9:26 AM, Christopher H. Laco wrote:
Matt S Trout wrote:
On Mon, Jul 16, 2007 at 02:48:50PM +0200, Daniel McBrearty wrote:
is there a way to have some C's and M's load into catalyst
conditionally? for example, if some config variable is set?
Exclude some of them with
16 matches
Mail list logo