Re: [Catalyst] Why use external FastCGI apps?

2008-02-11 Thread Mitchell Jackson
I experienced similar behavior with Catalyst when using external FastCGI controlled by init.d under two FC8 boxes. When the app was restarted, it never came back. The processes were still there, but the socket became non-responsive. Issuing another start command would bring up another copy

[Catalyst] Any plugins to replicate mod_perl ENV values?

2008-02-11 Thread Brasten Sager
I'm converting a large application from mod_perl to Catalyst. The ultimate goal is to replace all ENV usages with the appropriate Catalyst calls, but that's not a realistic goal for our first pass. Are there any plugins that populates ENV similarly to how mod_perl did? Thanks --Brasten

[Catalyst] Menu navigation implementation

2008-02-11 Thread Jennifer Ahn
hi everybody! I'm trying to implement a menu on a left navigation column in my web application and i would like to know how others have approach a similar topic. My controller object contains the menu items. How would my layout template, which is part of a wrapper, access this array of

RE: [Catalyst] Why use external FastCGI apps?

2008-02-11 Thread Matt Pitts
Although I haven't had any experience yet with *external* fastcgi, I'm feeling this approach as well, mainly because it allows me to hang my hat on the starting/stopping/reloading of apache. I'm also trying to treat an Apache vhost like an appliance that I can drop anywhere. I basically have

Re: [Catalyst] Dumb question of a beginner

2008-02-11 Thread Johan Lindstr
At 11:21 2008-02-11, Alex Povolotsky wrote: Looking at Catalyst::Enzyme::CRUD::Controller ... $c-stash-{items} = [ $model-retrieve_all() ]; ... what should I change? If you're a newbie, I think it's a mistake to go down the Class::DBI route instead of using DBIx::Class. Which means,

[Catalyst] Config-only components

2008-02-11 Thread Dagfinn Ilmari Mannsåker
Hi all, Castaway mentioned the idea of having components defined entirely by config entries, without the need for any actual class files on disk, and I was bored, so I went ahead and implemented it. For each config key matching ^([MVC]|Model|View|Controller):: it checks if the corresponding

Re: [Catalyst] Dumb question of a beginner

2008-02-11 Thread Johan Lindstr
At 15:41 2008-02-11, Alex Povolotsky wrote: But the short term answer to your question is here: http://search.cpan.org/~tmtm/Class-DBI-v3.0.17/lib/Class/DBI.pm#search Looks reasonable; I'm trying to untie Enzyme from CDBI. Nice. Patches welcome (or adoption for that matter). /J

Re: [Catalyst] Dumb question of a beginner

2008-02-11 Thread Alex Povolotsky
Chisel Wright wrote: On Mon, Feb 11, 2008 at 12:55:55PM +0300, Alex Povolotsky wrote: Hello! I haven't find the answer in FAQ and cookbook, so I'm asking here. How do I add server-side sorting for list operation? I want to select * from table sort by field instead of default select * from

Re: [Catalyst] Re: Sharing a database handle between components

2008-02-11 Thread Matt S Trout
On Sun, Feb 10, 2008 at 06:39:51PM -0600, Jonathan Rockway wrote: * On Sun, Feb 10 2008, Matt S Trout wrote: On Sun, Feb 10, 2008 at 05:41:28AM -0600, Jonathan Rockway wrote: At some point this pattern will be made easier (see Bread::Board on CPAN), and perhaps we can write a dbh manager

Re: [Catalyst] Dumb question of a beginner

2008-02-11 Thread Tobias Kremer
Quoting Alex Povolotsky [EMAIL PROTECTED]: How do I add server-side sorting for list operation? I want to select * from table sort by field instead of default select * from table I assume you're using DBIx::Class and I suggest you check out its introduction to learn about its basic operation:

[Catalyst] using frontend proxy with non-/ PATH_INFO

2008-02-11 Thread Peter Karman
Here's my setup: * frontend Apache running mod_proxy, proxying at /myapp * backend Cat dev server on :3000 I have this config in Apache: # proxy for MyApp Directory /path/to/MyApp/trunk/root/static Order deny,allow Allow from all /Directory Alias /static

[Catalyst] Dumb question of a beginner

2008-02-11 Thread Alex Povolotsky
Hello! I haven't find the answer in FAQ and cookbook, so I'm asking here. How do I add server-side sorting for list operation? I want to select * from table sort by field instead of default select * from table Alex. ___ List:

Re: [Catalyst] Dumb question of a beginner

2008-02-11 Thread Chisel Wright
On Mon, Feb 11, 2008 at 12:55:55PM +0300, Alex Povolotsky wrote: Hello! I haven't find the answer in FAQ and cookbook, so I'm asking here. How do I add server-side sorting for list operation? I want to select * from table sort by field instead of default select * from table I think you are