mla ha scritto:
I just finished getting the tutorial project working.
The thing I'm not clear on is this separation between lib/MyAppDB/
and lib/MyApp/Model/
The tutorial says:
"With Catalyst::Model::DBIC::Schema you essentially end up with two sets
of model classes (only one of which you wri
On Mon, May 14, 2007 at 07:42:00PM -0700, mla wrote:
> >Which is why I like the "form" validation tools to not be specific to
> >the web/HTML side of things. The HTML side of the forms are easy, anyway,
> >and often require hand-customizing. That way the same "forms" can be
> >used for more than
Hi
A couple of Login/authentication questions:
As expected, when using frames, when a session times out and displays the
Login page, it does so in the frame that is the target for that request.
Is there any easy trick to be able to get that Login screen to use '_top' as
the target? perhaps an
Bill Moseley wrote:
On Mon, May 14, 2007 at 04:44:41PM -0500, Dave Rolsky wrote:
On Mon, 14 May 2007, mla wrote:
Anyone have validation logic in the model and are happy with it?
There are two kinds of validation here. One is model-level validation, and
yes, it's in my model code. My model thr
I'm wrestling with Catalyst under Cygwin. I wanted to play/prototype
in that environment. I have the Catalyst Tutorial working, but with a
few jury-rigged changes. I imagine there may be a better way to "fix"
things...
I have taken Cache::FastMmap v1.15 (from Ash Berlin) and installed
On Mon, 14 May 2007, Bill Moseley wrote:
There are two kinds of validation here. One is model-level validation, and
yes, it's in my model code. My model throws exceptions, which I trap in
the controller and "mess with" to make it work for the web UI.
I tend to have much less validation in the
I just finished getting the tutorial project working.
The thing I'm not clear on is this separation between lib/MyAppDB/
and lib/MyApp/Model/
The tutorial says:
"With Catalyst::Model::DBIC::Schema you essentially end up with two sets
of model classes (only one of which you write... the other s
On Sat, May 12, 2007 at 06:48:01PM +0100, Matt S Trout wrote:
> I've had several people contact me with possible patches for C::V::Mason
> (and for others), but my response of "I don't know Mason well enough, please
> can you post to the list for info" has been ignored every single time.
>
> Pleas
On Mon, May 14, 2007 at 04:44:41PM -0500, Dave Rolsky wrote:
> On Mon, 14 May 2007, mla wrote:
>
> >Anyone have validation logic in the model and are happy with it?
>
> There are two kinds of validation here. One is model-level validation, and
> yes, it's in my model code. My model throws except
Dave Rolsky wrote:
On Mon, 14 May 2007, mla wrote:
Could you give an example of how you munge the exceptions into error
messages for the user?
eval
{
$user->update( %bunch_of_stuff );
};
if ( my $e = Exception::Class->caught(
'My::App::Exception::DataValidation') )
{
# $e->er
On Mon, 14 May 2007, mla wrote:
There are two kinds of validation here. One is model-level validation, and
yes, it's in my model code. My model throws exceptions, which I trap in the
controller and "mess with" to make it work for the web UI.
The controller might also do some validation, but a
Thanks, I'm using apache 2.2.3 -- That setup does sound much more logical,
and here is what I have to match the example:
-
PerlSwitches -I/var/www/registration/lib
PerlModule Registration
ServerName myhostname
DocumentRoot /var/www/registration/root
SetHandler modperl
PerlRes
Dave Rolsky wrote:
On Mon, 14 May 2007, mla wrote:
Anyone have validation logic in the model and are happy with it?
There are two kinds of validation here. One is model-level validation,
and yes, it's in my model code. My model throws exceptions, which I trap
in the controller and "mess wit
On Mon, 14 May 2007, mla wrote:
Anyone have validation logic in the model and are happy with it?
There are two kinds of validation here. One is model-level validation, and
yes, it's in my model code. My model throws exceptions, which I trap in
the controller and "mess with" to make it work f
mla wrote:
Clearly Catalyst has an opinion on how to handle the request
with Catalyst::Request. I'm sure you could override that somehow and
use your own, but it's helpful that there's a default request
interface that new developers can get up to speed quickly with.
I don't see why that can't a
On May 14, 2007, at 5:09 PM, John Goulah wrote:
If this is the wrong list, please direct me to the right place.
I'm trying to get Catalyst working under apache/mod_perl (works
fine with the standalone server).
Basically, I have a very simple app called Registration. In apache
I set it u
If this is the wrong list, please direct me to the right place. I'm trying
to get Catalyst working under apache/mod_perl (works fine with the
standalone server).
Basically, I have a very simple app called Registration. In apache I set it
up like:
SetHandler perl-script
PerlHandler Registration
[EMAIL PROTECTED] wrote:
mla <[EMAIL PROTECTED]> wrote on 05/14/2007 02:45:49 PM:
I'm studying different frameworks for a new project.
I'm very new to Catalyst and am reading through the tutorial.
In part 8, advanced CRUD, there's an example of form validation.
The approach is very similar to
mla <[EMAIL PROTECTED]> wrote on 05/14/2007 02:45:49 PM:
> I'm studying different frameworks for a new project.
> I'm very new to Catalyst and am reading through the tutorial.
> In part 8, advanced CRUD, there's an example of form validation.
>
> The approach is very similar to what I've al
I'm studying different frameworks for a new project.
I'm very new to Catalyst and am reading through the tutorial.
In part 8, advanced CRUD, there's an example of form validation.
The approach is very similar to what I've always used
but I've been looking at Rails recently and noticed that they
r
On Mon, May 14, 2007 at 06:46:59PM +0400, Oleg Pronin wrote:
> 2007/5/8, Matt S Trout <[EMAIL PROTECTED]>:
> >
> >On Mon, May 07, 2007 at 06:58:16PM +0400, Oleg Pronin wrote:
> >> I can test the part related to the subject of this thread with great
> >> pleasure.
> >>
> >> I'm currently making full
Hi There.
Yes. Tests are a bit borked at the moment.
Jay
On May 14, 2007, at 8:01 AM, Jamie Neil wrote:
Apologies in advance if this is the wrong place to ask this.
Trying to compile the latest dev release of the authentication
plugin (0._01) and it's failing on tests:
PERL_DL_NONLAZY=
Please tell me how could i implement that without making the interface a
complete app ?
2007/5/8, Matt S Trout <[EMAIL PROTECTED]>:
On Mon, May 07, 2007 at 06:58:16PM +0400, Oleg Pronin wrote:
> I can test the part related to the subject of this thread with great
> pleasure.
>
> I'm currently m
On Mon, May 14, 2007 at 06:05:20PM +0400, Oleg Pronin wrote:
> Is this feature planned for the next release ?
I'm not sure the 'feature' is really well-defined enough yet to call it
such.
It's going to take somebody with a requirement for something along these
lines to spike the work and see what
Is this feature planned for the next release ?
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev site: http://dev.catalyst.per
On Mon, May 14, 2007 at 01:22:43PM +0100, Richard Jones wrote:
> Matt S Trout wrote:
> >On Sun, May 13, 2007 at 10:43:31AM -0700, Balaji Srinivasan wrote:
> >
> >>Rather than the two approaches above, I think a better one was to add a
> >>new
> >>validation type to the FormBuilder VALIDATE array
Matt S Trout wrote:
On Sun, May 13, 2007 at 10:43:31AM -0700, Balaji Srinivasan wrote:
Rather than the two approaches above, I think a better one was to add a new
validation type to the FormBuilder VALIDATE array.
$CGI::FormBuilder::Field::VALIDATE{FOOFIELD} = '/^[^,"]{6,40}$/';
Now in all m
Apologies in advance if this is the wrong place to ask this.
Trying to compile the latest dev release of the authentication plugin
(0._01) and it's failing on tests:
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/04_authe
Thanks Matt,
Yes, I believe that is the reason why we have to go with FastCGI
in Catalyst Apps. At least, as a starter, I am able to see a substantial
exec time increase with CGI over FastCGI. So I guess I will stick
with FastCGI.
Thanks
Dister.
On 5/7/07, Matt S Trout <[EMAIL PROTECTED]> wrot
29 matches
Mail list logo