[Catalyst] Accessing DB from external model

2010-11-05 Thread Mike Raynham
Hi, I am fairly new to all things Perl and Catalyst, and would like to know if what I am attempting to do is correct. I've recently finished reading 'The Definitive Guide to Catalyst', which has been very helpful, but I am still a little confused about separating my business logic from my

Re: [Catalyst] Accessing DB from external model

2010-11-05 Thread Octavian Rasnita
From: Mike Raynham catal...@mikeraynham.co.uk Hi, I am fairly new to all things Perl and Catalyst, and would like to know if what I am attempting to do is correct. I've recently finished reading 'The Definitive Guide to Catalyst', which has been very helpful, but I am still a little

Re: [Catalyst] Accessing DB from external model

2010-11-05 Thread Mike Raynham
On 05/11/10 10:10, Octavian Rasnita wrote: From: Mike Raynham catal...@mikeraynham.co.uk Hi, I am fairly new to all things Perl and Catalyst, and would like to know if what I am attempting to do is correct. I've recently finished reading 'The Definitive Guide to Catalyst', which has been very

Re: [Catalyst] Accessing DB from external model

2010-11-05 Thread Hernan Lopes
Mike, also, if you havent already, take a look on Catalyst::Tutorial , in my opinion its by far the best documentation to begin with catalyst. http://search.cpan.org/~zarquon/Catalyst-Manual-5.8005/lib/Catalyst/Manual/Tutorial/01_Intro.pod On 11/5/10, Mike Raynham catal...@mikeraynham.co.uk

Re: [Catalyst] Accessing DB from external model

2010-11-05 Thread Mike Raynham
On 05/11/10 11:43, Hernan Lopes wrote: Mike, also, if you havent already, take a look on Catalyst::Tutorial , in my opinion its by far the best documentation to begin with catalyst. http://search.cpan.org/~zarquon/Catalyst-Manual-5.8005/lib/Catalyst/Manual/Tutorial/01_Intro.pod On 11/5/10,

[Catalyst] Message Queue Options

2010-11-05 Thread James Spath
I was wondering what people's opinions are on the various messaging/logging queues available. I know this subject has come up before, but things change, so another discussion is probably worthwhile. We're considering the following solutions for a new production we are working on: - scribe -

Re: [Catalyst] Accessing DB from external model

2010-11-05 Thread Darren Duncan
Mike Raynham wrote: Here, the connection information is moved from MyApp::Model::DB to MyApp::DB, and then Catalyst::Model::Adaptor is used to glue MyApp::Model::DB to MyApp::DB. Is it a good idea? MyApp::Model::DB appears to be part of the Catalyst application, so if I want to access the

Re: [Catalyst] Message Queue Options

2010-11-05 Thread James Spath
On Fri, Nov 5, 2010 at 11:19 AM, Peter Edwards pe...@dragonstaff.co.ukwrote: On 5 November 2010 14:50, James Spath jsp...@pangeamedia.com wrote: I was wondering what people's opinions are on the various messaging/logging queues available. I know this subject has come up before, but things

Re: [Catalyst] Message Queue Options

2010-11-05 Thread Peter Edwards
On 5 November 2010 17:08, James Spath jsp...@pangeamedia.com wrote: On Fri, Nov 5, 2010 at 11:19 AM, Peter Edwards pe...@dragonstaff.co.ukwrote: On 5 November 2010 14:50, James Spath jsp...@pangeamedia.com wrote: I was wondering what people's opinions are on the various messaging/logging

[Catalyst] Catalyst with HTML::FormHandler

2010-11-05 Thread Blaine Everingham
I'm new to Catalyst and and trying to build a simple form. In the Catalyst controller MyApp/UserInterface/Controller/Admin/Users.pm I've added an 'use MyApp::UserInterface::Form::User', however it can not find this file. Meaning that it's not in the INC path. Obviously I could push this

Re: [Catalyst] Catalyst with HTML::FormHandler

2010-11-05 Thread Steve
The actual error message would help... On 11/5/2010 2:33 PM, Blaine Everingham wrote: I'm new to Catalyst and and trying to build a simple form. In the Catalyst controller MyApp/UserInterface/Controller/Admin/Users.pm I've added an 'use MyApp::UserInterface::Form::User', however it can not

RE: [Catalyst] Catalyst with HTML::FormHandler

2010-11-05 Thread Blaine Everingham
Sorry the error message is Error: Can't locate MyApp/UserInterface/Form/User.pm in @INC (@INC contains: C:/strawberry/perl/site/lib C:/strawberry/perl/vendor/lib C:/strawberry/perl/lib .) Resource: User.pm Path: /MyApp-Software/lib/MyApp/UserInterface/Controller/Admin Location: line

Re: [Catalyst] Accessing DB from external model

2010-11-05 Thread Octavian Rasnita
From: Darren Duncan dar...@darrenduncan.net For any configuration details that might vary either per application or per deployment, make these user-configurable parameters of MyDBLib, with then each of your applications would supply arguments to it when instantiating a MyDBLib object;

Re: [Catalyst] Catalyst with HTML::FormHandler

2010-11-05 Thread Hernan Lopes
here is a simple form example of formhandler with perl catalyst: in your User.pm controller: use HTML::FormHandler; sub fields { return [ display0 = { type = 'Display', html = 'h1Personal data/h1', }, name = { type