Re: [Catalyst] Restarting Catalyst on request or doing something per request

2009-08-25 Thread Wade Stuart
On Mon, Aug 24, 2009 at 3:51 PM, Matthias Dietrich mdietr...@cpan.orgwrote: Hi Chris, Am 24.08.2009 um 04:43 schrieb Chris: Can you use catalyst::plugin::cache as the backend for the lexicon? Then refreshing the texts involves clearing the cache, and updates are transparent. I took a

[Catalyst] Systems built on top of Catalyst

2009-08-25 Thread Steve
I am lobbying for the exclusive use of Catalyst as the development tool of choice, and therefore Perl as the preferred language in our small software company. Having researched Catalyst and having gone through every tutorial I can get my hands on, I have a basic understanding of the

Re: [Catalyst] Systems built on top of Catalyst

2009-08-25 Thread Roderick A. Anderson
Steve wrote: I am lobbying for the exclusive use of Catalyst as the development tool of choice, and therefore Perl as the preferred language in our small software company. Having researched Catalyst and having gone through every tutorial I can get my hands on, I have a basic understanding

Re: [Catalyst] Restarting Catalyst on request or doing something per request

2009-08-25 Thread Matthias Dietrich
Hi Wade, Am 25.08.2009 um 13:48 schrieb Wade Stuart: Why cant you just do a: # ... incrementally add new lexicons Locale::Maketext::Lexicon-import({ de = [Gettext = 'local/hello/de.po'], }) ... on change instead of reloading apache? because this would only affect the current

Re: [Catalyst] Restarting Catalyst on request or doing something per request

2009-08-25 Thread Matthias Dietrich
Hi Chris, Am 25.08.2009 um 00:48 schrieb Chris: I wonder if you could force a reload using a SIG{USR1} handler and avoid a per-request check? I think so, but I need to know the processes to send the signal to. I guess $$ is only the current apache client process and a signal to this

Re: [Catalyst] Systems built on top of Catalyst

2009-08-25 Thread Steve
To be more specific, something like AutoCRUD, mixed in with some CSS would be a huge plus, as the UI is the biggest obstacle. Business logic, database design are strengths. In the past we have used a PHP-based product called ATK which comes with 'themes'. I'm looking for something similar,

[Catalyst] [ANNOUNCE] Gitalist - bringing Catalyst to gitweb

2009-08-25 Thread Dan Brook
For those of you who've had the pleasure of working with git you may have come across gitweb, the web front end to a given set of git repositories. It is bundled with the git source[1] as gitweb.perl and gets munged into gitweb.cgi after make runs through it. With gitweb.cgi you have one

[Catalyst] use base vs use parent

2009-08-25 Thread Octavian Râşniţă
Hi, I've seen some Catalyst sample modules that use use base and some others that use use parent. I know that the recommendation could be to use Moose and extends..., but if Moose is not needed, what's the difference between use parent and use base? When should be use parent be used and

Re: [Catalyst] use base vs use parent

2009-08-25 Thread Evan Carroll
I know that the recommendation could be to use Moose and extends..., but if Moose is not needed, what's the difference between use parent and use base? per base.pm Unless you are using the fields pragma, consider this module discouraged in favor of the lighter-weight parent. per

Re: [Catalyst] [ANNOUNCE] Gitalist - bringing Catalyst to gitweb

2009-08-25 Thread Stephen Sykes
Thanks for posting this to the list, Dan. I have been thinking of the same type of project recently. I am glad this is a Github project as well. ;) Best Regards, Stephen Sykes [http://catalystsites.org] Dan Brook wrote: For those of you who've had the pleasure of working with git you may have

Re: [Catalyst] use base vs use parent

2009-08-25 Thread Bill Moseley
On Tue, Aug 25, 2009 at 11:55 AM, Evan Carroll li...@evancarroll.comwrote: When should be use parent be used and not use base or it really doesn't matter which one is used? parent.pm when you can use cpan, base.pm when you can't. If it's a Moose class should you always use extends over

[Catalyst] What is correct way to re-check user password for authenticated user?

2009-08-25 Thread Oleg Kostyuk
Hello subscribers, On some pages I need to re-check user password (to be more concrete - each time when user change any settings on user settings page). I can't compare passwords directly (something like: $form-{password} eq $c-user-password()), because in DB I have only hashed passwords. Seems

Re: [Catalyst] What is correct way to re-check user password for authenticated user?

2009-08-25 Thread Matt Whipple
Oleg Kostyuk wrote: Hello subscribers, On some pages I need to re-check user password (to be more concrete - each time when user change any settings on user settings page). I can't compare passwords directly (something like: $form-{password} eq $c-user-password()), because in DB I have only

[Catalyst] Problem flattening arrays in Catalyst/Helper/Model/DBIC/Schema

2009-08-25 Thread pablo marin-garcia
Hello, Problem: Can't call method flatten on unblessed reference at /nfs/local_perl/perllib/Catalyst/Helper/Model/DBIC/Schema.pm line 165. Preamble: I was following the catalyst tutorial in a Debian etch, and when tried  in tutorial_03 Create Static DBIx::Class Schema Files I had an error with

Re: [Catalyst] use base vs use parent

2009-08-25 Thread Tomas Doran
ccing in -dev, as this is relevant there, and and contains a brain dump :_) If it's a Moose class should you always use extends over both? Yep. Hum, the CatalystAndMoose manual doesn't even show the application base class inheriting:

Re: [Catalyst] What is correct way to re-check user password for authenticated user?

2009-08-25 Thread Jason Galea
Oleg Kostyuk wrote: Hello subscribers, On some pages I need to re-check user password (to be more concrete - each time when user change any settings on user settings page). I can't compare passwords directly (something like: $form-{password} eq $c-user-password()), because in DB I have only

Re: [Catalyst] Problem flattening arrays in Catalyst/Helper/Model/DBIC/Schema

2009-08-25 Thread Tomas Doran
On 26 Aug 2009, at 00:58, pablo marin-garcia wrote: Hello, Problem: Can't call method flatten on unblessed reference at /nfs/local_perl/perllib/Catalyst/Helper/Model/DBIC/Schema.pm line 165. Your Moose::Autobox, or autobox modules are busted. At a guess, the latter, but it could be

Re: [Catalyst] Restarting Catalyst on request or doing something per request

2009-08-25 Thread Tomas Doran
On 25 Aug 2009, at 16:57, Matthias Dietrich wrote: Hi Wade, Am 25.08.2009 um 13:48 schrieb Wade Stuart: Why cant you just do a: # ... incrementally add new lexicons Locale::Maketext::Lexicon-import({ de = [Gettext = 'local/hello/de.po'], }) ... on change instead of reloading

Re: [Catalyst] What is correct way to re-check user password for authenticated user?

2009-08-25 Thread Tomas Doran
On 26 Aug 2009, at 00:50, Matt Whipple wrote: Seems that I can try to authenticate user again, by calling $c-authenticate(name=$c-user-name, pass=$form-{password}), but I concerned is this acceptable - calling authenticate, when user is already authenticated. And what will be if provided