Re: [Catalyst] Contributing code

2010-06-21 Thread iain
code it'll probably be more distracting than helpful to core devs. Surely the core devs can work with comments? Would having more comments not encourage more developers to contribute by lowering the barrier for entry? Iain. ___ List: Catalyst@li

[Catalyst] Re: Catalyst/C:M:Adaptor/Moose/Moosex::Declare bug?

2010-02-02 Thread iain
iain hubbard wrote: On 28 January 2010 11:22, iain <mailto:iainhubb...@googlemail.com>> wrote: iain wrote: Hi all, This is probably going to end up being nothing to do with catalyst but as this is where I am seeing the problem its where im

[Catalyst] Re: Catalyst/C:M:Adaptor/Moose/Moosex::Declare bug?

2010-01-31 Thread iain hubbard
On 28 January 2010 11:22, iain wrote: > iain wrote: > >> Hi all, >> >> This is probably going to end up being nothing to do with catalyst but as >> this is where I am seeing the problem its where im starting. >> >> I have a standalone set of objects t

[Catalyst] Re: Catalyst/C:M:Adaptor/Moose/Moosex::Declare bug?

2010-01-28 Thread iain
iain wrote: Hi all, This is probably going to end up being nothing to do with catalyst but as this is where I am seeing the problem its where im starting. I have a standalone set of objects that work as expected. When I wrap these with Catalyst::Model::Adaptor for use as a model they fail

[Catalyst] Catalyst/C:M:Adaptor/Moose/Moosex::Declare bug?

2010-01-27 Thread iain
t;. I am using the latest CPAN versions of Catalyst (5.80018), Catalyst::Model::Adaptor (0.06), Moose (0.94), MooseX::Declare (0.32) and the Perl version is 5.10.0 on ubuntu. Hopefully somebody with more knowledge of the inner workings can shed some light on the problem. Tha

[Catalyst] Catalyst book authors live question and answer

2009-10-28 Thread iain
- 21:00 (all times GMT). If you can think of any questions in advance please send them to m(dot)keating(at)shadowcat.co.uk or tweet with the #nwepm tag more info: mdk.per.ly - http://bit.ly/3bpl3p northwestengland.pm - http://bit.ly/2VzQJF Iain

Re: [Catalyst] Validating single arg id

2009-10-21 Thread iain
sensible. Other people in the team can just chuck a new action on the URI without wondering what I called my validation routine. It prints a nice URI dispatch table in debug mode. As I said, for me its lots of little reasons that just feel right. But mainly its about the URI structure. Iain.

Re: [Catalyst] Validating single arg id

2009-10-16 Thread iain
# your validation here my $obj = $c->model( 'DB::Foo' )->find( $id ) || return $c->res->status( 404 ); $c->stash->{obj} = $obj; return 1; } sub view : Chained('start') Args(0) { my ( $self, $c ) = @_; # do something with $c->stash-

Re: [Catalyst] Best practice: How to build app parts reusable?

2009-06-02 Thread Iain
This has allowed us to have the same code for a number of sites with different urls and site specific stuff kept in the respective child controllers. Iain. ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listin

Re: [Catalyst] Using test database with TWAM?

2009-04-30 Thread Iain
ve several developers so running multiple tests at the same time caused all kinds of strange problems and nobody wanted to maintain a DB per developer! Iain. ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/l

Re: [Catalyst] RFC: Sample press release and announcement homepage

2009-04-24 Thread Iain
velopment framework for Perl" and "More and more companies are turning to Catalyst as a core web application technology. Many of these websites, such as XXX, comfortable scale to XXX unique page views daily" would be good hooks to draw people in. <2p/> Iain.

Re: [Catalyst] Authentication methods question

2009-04-15 Thread Iain
s OpenID > account, if (s)he has one, or then, by default using an user account > stored in a database. > If someone has already done it, clue welcome. > > Thanks in advance Haven't used it myself but Catalyst::Authentication::Realm::Progressive - http://bit.ly/3beuPm s

Re: [Catalyst] Eclipse and Catalyst

2009-04-13 Thread iain
EPIC as working with catalyst is no different to any other Perl project. I have had most success running eclipse on linux, so YMMV on windows. Iain. p.s. I came across a nice feature (bug) recently that helps with content assist and object/classes http

[Catalyst] OT: edit/add seperate actions?

2009-03-03 Thread Iain
body has any thoughts/experience, pros/cons best practice etc of either approach. Actually, I like option 2 best. So I suppose I'm asking for reasons why we shouldn't use option 1 :-) Iain. ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://li

Re: [Catalyst] Troubleshooting FastCGI error

2008-08-13 Thread Iain Hubbard
out to be a permissions problem. Iain. GMG Regional Digital is part of the Guardian Media Group plc. CONFIDENTIALITY NOTICE. The information contained in this e-mail is intended only for [EMAIL PROTECTED] It may contain privileg

Re: [Catalyst] myapp_server.pl with code coverage

2008-07-31 Thread Iain Hubbard
d:Cover script/myapp_server.pl" The biggest thing to remember is to put an action in your app so that the server can shutdown cleanly. e.g. sub super_secret_exit : Local { exit; } in your MyApp.pm HTH, Iain. GMG Regional Digital is p