Re: [Catalyst] Looking for a working example using DBIC and Authentication

2009-05-28 Thread Kieren Diment
On 28/05/2009, at 2:21 PM, Simon Baird wrote: I've been struggling to get off the ground with Catalyst/DBIC/Authentication. I'm new to Catalyst so I want to do everything as standard as possible, (ie please don't tell me there is more than one way to do it or I might have to cry.. :) and I

Re: [Catalyst] FormFu edit form problem

2009-05-28 Thread Toby Corkindale
Carl Franks wrote: 2009/5/26 Toby Corkindale toby.corkind...@strategicdata.com.au: And after applying the patch linked above, the problem went away. Presto! I'm looking forward to that being included in a 0.04004 release soon.. Thanks - that patch had gotten past my radar! It's now applied,

Re: [Catalyst] Where is the DAO equivalent?

2009-05-28 Thread Tomas Doran
Jarom Smith wrote: Hello Catalysters: First of all, a thousand apologies if this is a FAQ (and if it is, please point me in the right direction). I have been programming in Perl for a while but I freely admit there's a lot I don't know, which is why I am here. I have completed the Catalyst

Re: [Catalyst] perl -d chokes in namespace-clean ...

2009-05-28 Thread Tomas Doran
Kiffin Gish wrote: For some reason I cannot use the Perl debugger to debug my Catalyst application, which normally starts up and runs just fine without the debugger. Can you let us know what versions of B::Hooks::EndOfScope and Variable::Magic you have installed? (perl -MVariable::Magic\

[Catalyst] Catalyst::Manual v5.8000 Now On CPAN

2009-05-28 Thread hkclark
Hi Everyone, A new version of Catalyst::Manual has been posted to CPAN. Although we don't yet have a lot of Catalyst 5.80-specific material just yet (there is some initial information at http://search.cpan.org/perldoc?Catalyst::Manual::CatalystAndMoose -- Please send in any contributions you

Re: [Catalyst] Looking for a working example using DBIC and Authentication

2009-05-28 Thread Tomas Doran
Simon Baird wrote: [1] Well perhaps some details in brief note form... - The Authentication section of the Tutorial in CPAN uses some deprecated stuff (I find out eventually) - I got Auth working with DBIC as per the docs (with users, roles, user_roles tables) but without a realm. So I can use

Re: [Catalyst] FormFu edit form problem

2009-05-28 Thread Moritz Onken
Do you run the latest version of DBIC? Hi Carl, The patched version of 0.04004 seemed to work fine, however the released 0.05000 only works on some, but not all, of my tables. I tracked the issue down to part of HTML::FormFu::Model::DBIC around line 534, where you do:

Re: [Catalyst] Multiple instances of same app with 5.80 under mod_perl

2009-05-28 Thread Tomas Doran
Stephen Clouse wrote: I have seen hints dropped in places such as http://osdir.com/ml/lang.perl.modules.dbix-class/2006-08/msg00188.html that Catalyst 5.80 has gained more explicit support for such a deployment model under mod_perl, but so far I have come up empty on finding references or

Re: [Catalyst] Multiple instances of same app with 5.80 under mod_perl

2009-05-28 Thread Tomas Doran
Stuart Watt wrote: I did a simple tweak to the configuration file management so environment variables could be substituted into configuration files. All I added to MyApp.pm was: snip Then, I could use YAML settings like: session: storage: '__ENV(TEMP)__/sessions' It was pretty easy

Re: [Catalyst] Multiple instances of same app with 5.80 under mod_perl

2009-05-28 Thread Tomas Doran
Matthias Dietrich wrote: do you use Log::Log4perl in your Catalyst apps? Months ago I wrote a message to the list about problems with Log::Log4perl and multiple instances of Catalyst within one Apache. Nobody answered and because it's currently not very important to me (not in production

Re: [Catalyst] Multiple instances of same app with 5.80 under mod_perl

2009-05-28 Thread Stuart Watt
Tomas Doran wrote: If you try to run multiple copies of the same application in the same perl process, it won't work like you expect - the setting will come from the first application loaded.. Your solution just makes it much easier to have multiple deployment environments with different

Re: [Catalyst] Multiple instances of same app with 5.80 under mod_perl

2009-05-28 Thread Stephen Clouse
On Thu, May 28, 2009 at 12:00 PM, Tomas Doran bobtf...@bobtfish.net wrote: Sorry to let you down, but this mail was written in 2006, and contains the plan as it was then. Unfortunately, nobody has stepped up to the plate to do the requisite work to split the application class and context

Re: [Catalyst] Looking for a working example using DBIC and Authentication

2009-05-28 Thread Simon Baird
On Thu, May 28, 2009 at 11:08 PM, Tomas Doran bobtf...@bobtfish.net wrote: Simon Baird wrote: [1] Well perhaps some details in brief note form... - The Authentication section of the Tutorial in CPAN uses some deprecated stuff (I find out eventually) - I got Auth working with DBIC as per the

Re: [Catalyst] Looking for a working example using DBIC and Authentication

2009-05-28 Thread Simon Baird
Thanks for the advice. I might start fresh and see if I can pinpoint where things went wrong. Ok, so just now I have: * Googled and ended up here: http://search.cpan.org/~mramberg/Catalyst-Runtime-5.7000/lib/Catalyst/Manual/Tutorial/Authentication.pod * Did the svn checkout as described:

Re: [Catalyst] Looking for a working example using DBIC and Authentication

2009-05-28 Thread Andrew Rodland
On Thursday 28 May 2009 07:36:29 pm Simon Baird wrote: Thanks for the advice. I might start fresh and see if I can pinpoint where things went wrong. Ok, so just now I have: * Googled and ended up here: http://search.cpan.org/~mramberg/Catalyst-Runtime-5.7000/lib/Catalyst/Manua

Re: [Catalyst] Looking for a working example using DBIC and Authentication

2009-05-28 Thread Kieren Diment
On 29/05/2009, at 10:36 AM, Simon Baird wrote: Thanks for the advice. I might start fresh and see if I can pinpoint where things went wrong. Ok, so just now I have: * Googled and ended up here:

Re: [Catalyst] Looking for a working example using DBIC and Authentication

2009-05-28 Thread hkclark
Hi Simon, It looks like Google has taken you to some really old versions of the tutorial. Try this: http://search.cpan.org/dist/Catalyst-Manual/ You can get back to this point if you go to http://search.cpan.org and put in Catalyst Tutorial or Catalyst Manual. Unfortunately, the search in

Re: [Catalyst] Looking for a working example using DBIC and Authentication

2009-05-28 Thread J. Shirley
On Thu, May 28, 2009 at 5:36 PM, Simon Baird simon.ba...@gmail.com wrote: Thanks for the advice. I might start fresh and see if I can pinpoint where things went wrong. Ok, so just now I have: * Googled and ended up here:

Re: [Catalyst] Looking for a working example using DBIC and Authentication

2009-05-28 Thread Tomas Doran
On 29 May 2009, at 01:49, hkcl...@gmail.com wrote: For example, a search for Catalyst Tutorial on search.cpan.org shows a bunch of the 5.7014 stuff near the top... and that's over 7 months (and 9 releases) old. Is there a way to kill off older releases like that (or at least push them down in

Re: [Catalyst] Looking for a working example using DBIC and Authentication

2009-05-28 Thread Octavian Rasnita
From: J. Shirley Trusting Google to give you the latest version is probably a pretty bad idea :) To derail this conversation a little bit, perhaps the canonical meta tag pointing to the most recent release would do well on older versions still sitting on CPAN? I'm not sure how else to

Re: [Catalyst] FormFu edit form problem

2009-05-28 Thread Toby Corkindale
Moritz Onken wrote: Do you run the latest version of DBIC? I was running on 0.08012, however I have updated to 0.08103 and still have the same problem. -Toby Hi Carl, The patched version of 0.04004 seemed to work fine, however the released 0.05000 only works on some, but not all, of my