Re: [Catalyst] Catalyst needs Advent Calendar Volunteers!

2010-11-22 Thread Jason L. Froebe
When the advents are posted, can people make sure they put the catalyst
version number that was used?  I ask because your advent may be viewed a
year or more later where it no longer works because catalyst (or some other
dependency) changed.

jason

On Mon, Nov 22, 2010 at 1:13 PM, Devin Austin devin.aus...@gmail.comwrote:

 Hey Steve,

 Great, just for people's inbox's sake, if you have an article idea (that
 you don't want reviewed by the community at least), go ahead and just email
 me directly or pm me on IRC.

 Let's touch base and I can get you set up with what you need.

 -Devin


 On Mon, Nov 22, 2010 at 10:53 AM, Steve st...@matsch.com wrote:

 Hi,

 I have an Advent Calendar suggestion that I think could have a large
 audience - Using Catalyst with JQuery Themes/Themeroller.  The reason I
 think it might find a good audience is simply that I think having a
 ready-to-use UI is possibly the biggest think keeping people from
 adopting Catalyst.  Speaking for myself, I'm not real keen on learning
 tons about CSS and JavaScript.  It's little more than a headache to me,
 but is extremely important nonetheless.

 I'm willing to put in some effort - mostly in terms of providing docs,
 but also some coding.

 Steve

 On 11/17/2010 1:01 PM, Devin Austin wrote:

 Hi all,

 It's that time again.  Catalyst needs volunteers for the Advent Calendar,
 so we need both article authors and cat herders to make sure we have
 articles for each day.

 Please feel free to contact me via irc (dhoss in #catalyst on
 irc.perl.org http://irc.perl.org), twitter (@dhoss) or the mailing
 list.


 Thanks, and happy hacking!

 -Devin

 --
 Devin Austin
 http://www.codedright.net
 9702906669 - Cell


 ___
 List: Catalyst@lists.scsys.co.uk
 Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
 Searchable archive:
 http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
 Dev site: http://dev.catalyst.perl.org/


 ___
 List: Catalyst@lists.scsys.co.uk
 Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
 Searchable archive:
 http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
 Dev site: http://dev.catalyst.perl.org/




 --
 Devin Austin
 http://www.codedright.net
 9702906669 - Cell

 ___
 List: Catalyst@lists.scsys.co.uk
 Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
 Searchable archive:
 http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
 Dev site: http://dev.catalyst.perl.org/


___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/


Re: [Catalyst] How to share a database connection across multiple Catalyst apps?

2010-09-07 Thread Jason L. Froebe

Hi Simon,

Reducing the number of connections to the database from three to one 
will reduce the responsiveness and will definitely hurt when trying to 
debug issues (performance, etc).  My recommendation is that each 
application have at least one unique connection to the database.


jason


On 09/07/2010 12:59 PM, Simon Miner wrote:

Hi,

I am running 3 separate Catalyst (version '5.80022) apps that use a 
common (Oracle 11g) database. Each app has a model class which wraps 
around a common DBIC schema class, like so.


-

package App1::Model::DB;

use strict;

use base 'Catalyst::Model::DBIC::Schema';

__PACKAGE__-config(

schema_class = Common::DB::Schema',

);

1;


-

package App2::Model::DB;

use strict;

use base 'Catalyst::Model::DBIC::Schema';

__PACKAGE__-config(

schema_class = Common::DB::Schema',

);

1;

-

package App3::Model::DB;

use strict;

use base 'Catalyst::Model::DBIC::Schema';

__PACKAGE__-config(

schema_class = Common::DB::Schema',

);

1;

-

This setup passes changes to the Common::DB::Schema class on to the 
Catalyst app model classes.


All three of these apps run under a single Apache 1.3.42/mod_perl 1.31 
server. It appears that each server process creates a unique database 
connection variable for each of these apps. Although these database 
connections get reused from request to request, I would like to make 
things even more efficient by having a single database connection 
variable per server process which gets shared across all 3 Catalyst 
apps. How do I update my model to accomplish this?


Thanks.


--
-- Simon


___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/
   


___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/