Re: [Catalyst] FastCGI on Shared Hosting

2010-07-16 Thread Tomas Doran
On 15 Jul 2010, at 15:02, André Walker wrote: I'm developing my first real world Catalyst application, and all I have available to publish it is my shared hosting on Hostmonster. It is working, but it's dynamic fastcgi, which means that after about a minute of inactivity the process is

Re: [Catalyst] Catalyst::Component/Model Instances and Attributes per Request

2010-07-16 Thread Tomas Doran
On 15 Jul 2010, at 21:37, Alejandro Imass wrote: On Mon, Jul 12, 2010 at 3:08 PM, Tomas Doran bobtf...@bobtfish.net wrote: Each process is in a separate memory space if you're using FCGI or mod_perl or something, but it's not entirely certain (if you use Catalyst::Engine::PSGI and Corona

Re: [Catalyst] FastCGI on Shared Hosting

2010-07-16 Thread André Walker
You could also 'cheat', by getting a free pingdom account (which will monitor your apps uptime, and wake it up for this monitoring every 60 seconds).. Depending how aggressively your ISP is killing fcgi processes this could be enough to keep it hot all the time.. I cheated! It worked :)

Re: [Catalyst] FastCGI on Shared Hosting

2010-07-16 Thread Sir Robert Burbridge
On 07/16/2010 08:15 AM, André Walker wrote: You could also 'cheat', by getting a free pingdom account (which will monitor your apps uptime, and wake it up for this monitoring every 60 seconds).. Depending how aggressively your ISP is killing fcgi processes this could be enough to keep it hot

Re: [Catalyst] FastCGI on Shared Hosting

2010-07-16 Thread J. Shirley
On Jul 16, 2010, at 7:16 AM, Sir Robert Burbridge wrote: On 07/16/2010 08:15 AM, André Walker wrote: You could also 'cheat', by getting a free pingdom account (which will monitor your apps uptime, and wake it up for this monitoring every 60 seconds).. Depending how aggressively your ISP

[Catalyst] Modifying Catalyst component load order

2010-07-16 Thread Rob Hoelz
Hello Catalyst users and developers, I'll get straight to the point: I have this idea for providing the ability to modify the component load order in Catalyst. So there's this snippet of code here that currently determines component load order in Catalyst 5.80024: sub setup_components { ###

[Catalyst] Best practice for setting up database in a complex project?

2010-07-16 Thread Matija Grabnar
I was wondering what the experienced Catalyst developers use to set up a database in a project. Do you write the database definition mysql/postgresql format, and then dump schema to get the Perl classes, or do you write Perl class definitions and use something else to output the table creation

Re: [Catalyst] Best practice for setting up database in a complex project?

2010-07-16 Thread Dave Rolsky
On Fri, 16 Jul 2010, Matija Grabnar wrote: Do you write the database definition mysql/postgresql format, and then dump schema to get the Perl classes, or do you write Perl class definitions and use something else to output the table creation statements for the database of your choice?

Re: [Catalyst] Best practice for setting up database in a complex project?

2010-07-16 Thread Darren Duncan
Matija Grabnar wrote: I was wondering what the experienced Catalyst developers use to set up a database in a project. Do you write the database definition mysql/postgresql format, and then dump schema to get the Perl classes, or do you write Perl class definitions and use something else to

Re: [Catalyst] Best practice for setting up database in a complex project?

2010-07-16 Thread Lee Aylward
On 07/16/2010 01:01 PM, Matija Grabnar wrote: I was wondering what the experienced Catalyst developers use to set up a database in a project. Do you write the database definition mysql/postgresql format, and then dump schema to get the Perl classes, or do you write Perl class definitions and

Re: [Catalyst] FastCGI on Shared Hosting

2010-07-16 Thread Lyle
On 16/07/2010 15:16, Sir Robert Burbridge wrote: On 07/16/2010 08:15 AM, André Walker wrote: Other than that, I'd suggest that slicehosts or some other small VM provider are very cheap these days ;) Yeah, I'm seriously considering that. Would really make things easier to deploy. Cheers,

Re: [Catalyst] FastCGI on Shared Hosting

2010-07-16 Thread J. Shirley
On Jul 16, 2010, at 12:25 PM, Lyle wrote: On 16/07/2010 15:16, Sir Robert Burbridge wrote: On 07/16/2010 08:15 AM, André Walker wrote: Other than that, I'd suggest that slicehosts or some other small VM provider are very cheap these days ;) Yeah, I'm seriously considering that. Would really

Re: [Catalyst] Best practice for setting up database in a complexproject?

2010-07-16 Thread Octavian Rasnita
I use to create the SQL queries by hand because if they are complicated they can be done much better in the DB directly. I don't use a versioning system because exactly when I wanted to try DBIx::Class::Schema::Versioned I wanted to do it for an Oracle database but I read that this module