[Catalyst] multi-homed application and proxy configuration

2007-02-09 Thread Cédric Bouvier
I'm trying to achieve the following setup (with apache+mod_perl) - one server in front: http://front/myapp, serving the static content and proxying for several instances in the back-end. - several instances of the application in the back-end, but each with a different purpose. i.e., the user

[Catalyst] Re: memory usage of mod_perl process

2007-02-09 Thread Peter Edwards
Are you hitting the database very hard? Complex joins? Are your pages very complex? No, it's a fairly simple backend processor that mostly handles XML transactions for a Flash frontend. There are some XHTML admin pages generated with Template::Toolkit (and so are slower) but they are rarely hit.

Re: [Catalyst] multi-homed application and proxy configuration

2007-02-09 Thread Bill Moseley
On Fri, Feb 09, 2007 at 10:40:39AM +0100, Cédric Bouvier wrote: So I'd need to install one Catalyst app that can be reached either as /myapp, /myapp/A or /myapp/B. And it should somehow know through which path it has been accessed (because it's behaviour will be slightly different whether it's

RE: [Catalyst] HTTP redirect - delayed Firefox

2007-02-09 Thread Lampert, Hugh
Andy Grundman wrote: -k is a hack and you shouldn't use it unless you need to do IE testing. Real web servers do not have a problem with keep-alive. You may also want to try Catalyst::Engine::HTTP::POE instead. :) What are the advantages of Catalyst::Engine::HTTP::POE compared to the

Re: [Catalyst] Re: memory usage of mod_perl process

2007-02-09 Thread Jeffrey Ng
On 2/9/07, Peter Edwards [EMAIL PROTECTED] wrote: Are you hitting the database very hard? Complex joins? Are your pages very complex? No, it's a fairly simple backend processor that mostly handles XML transactions for a Flash frontend. There are some XHTML admin pages generated with

Re: [Catalyst] Re: memory usage of mod_perl process

2007-02-09 Thread Jeffrey Ng
On 2/9/07, Oliver Gorwits [EMAIL PROTECTED] wrote: Jeffrey Ng wrote: I am the coworker of Fayland who posted the topic memory usage of mod_perl process. Our company has invested quite some time on migrating our perl code to catalyst (more than half year of time by 7 programmers). However,

[Catalyst] Pagenav?

2007-02-09 Thread Bernhard Janetzki
Hey Guys, i am wondering if there is a pagenavigation-View e.g. (Page 1|2|3...100) available? Greets Boerni ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive:

Re: [Catalyst] Re: memory usage of mod_perl process

2007-02-09 Thread Perrin Harkins
On 2/9/07, Jeffrey Ng [EMAIL PROTECTED] wrote: here's the result on a live server: total used free sharedbuffers cached Mem: 415097226540161496956 0 275481313344 -/+ buffers/cache:13131242837848 Swap: 8385912

[Catalyst] save session data

2007-02-09 Thread Fernan Aguero
Hi! I'm currently using the Session, Session::Store::DBIC, and Session::State::Cookie plugins to track session data for each user. One of the things I'm doing is storing user queries into the session: $c-session-{queries} = { 1 = { deeper data structure here }, 2 = { ... },

Re: [Catalyst] Question about Angerwhale Catalyst Application

2007-02-09 Thread Jonathan Rockway
John Napiorkowski wrote: I was under the impression that it you needed the context in a component you needed to override ACCEPT_CONTEXT, since new is only called once when the application starts up. Using ACCEPT_CONTEXT transforms your component to a type Class, since it creates a new

Re: [Catalyst] Pagenav?

2007-02-09 Thread Jonathan Rockway
Bernhard Janetzki wrote: Hey Guys, i am wondering if there is a pagenavigation-View e.g. (Page 1|2|3...100) available? If you're using DBIC, try $resultset-page($page_number) and $resultset-pager. The pager (Data::Page) object will give you all the vital information like current page #,

Re: [Catalyst] save session data

2007-02-09 Thread Daniel Westermann-Clark
On 2007-02-09 16:51:11 -0300, Fernan Aguero wrote: Now, if I want to have this session data stored into a diffent db table and with additional data, I imagine I'd have to write my own Session-Store-DBIC workalike ... or perhaps it's easier to just dump the structure, encode it somehow

Re: [Catalyst] save session data

2007-02-09 Thread Jonathan Rockway
Fernan Aguero wrote: Anyone went that path? Perhaps this wheel is already available from cpan? :) Catalyst::Plugin::Session::PerUser? -- package JAPH;use Catalyst qw/-Debug/;($;=JAPH)-config(name = do { $,.=reverse qw[Jonathan tsu rehton lre rekca Rockway][$_].[split //, ;$;]-[$_].q; ;for

Re: [Catalyst] save session data

2007-02-09 Thread Perrin Harkins
On 2/9/07, Fernan Aguero [EMAIL PROTECTED] wrote: Now, if I want to have this session data stored into a diffent db table and with additional data, I imagine I'd have to write my own Session-Store-DBIC workalike ... or perhaps it's easier to just dump the structure, encode it somehow (base64?)

Re: [Catalyst] save session data

2007-02-09 Thread Fernan Aguero
+[ Jonathan Rockway [EMAIL PROTECTED] (09.Feb.2007 17:32): | | Fernan Aguero wrote: | Anyone went that path? Perhaps this wheel is already | available from cpan? :) | | Catalyst::Plugin::Session::PerUser? | +] This seems a perfect fit, thanks! Fernan

Re: [Catalyst] CGI::State style Plugin?

2007-02-09 Thread Ash Berlin
Jim Spath wrote: I was considering using the following module in my Catalyst app. http://search.cpan.org/~dkubb/CGI-State-0.02/State.pm Until I saw that it does a use CGI;, the only purpose of which is for the creation of a CGI object if you don't pass one in. So I went ahead and wrote a

Re: [Catalyst] CGI::State style Plugin?

2007-02-09 Thread Jim Spath
Ash Berlin wrote: Jim Spath wrote: I was considering using the following module in my Catalyst app. http://search.cpan.org/~dkubb/CGI-State-0.02/State.pm Until I saw that it does a use CGI;, the only purpose of which is for the creation of a CGI object if you don't pass one in. So I went

Re: [Catalyst] Re: memory usage of mod_perl process

2007-02-09 Thread Tony Losey
On Fri February 9 2007 12:53 pm, Jeffrey Ng wrote: On 2/9/07, Oliver Gorwits [EMAIL PROTECTED] wrote: Jeffrey Ng wrote: I am the coworker of Fayland who posted the topic memory usage of mod_perl process. Our company has invested quite some time on migrating our perl code to

Re: [Catalyst] save session data

2007-02-09 Thread Yuval Kogman
On Fri, Feb 09, 2007 at 15:39:25 -0500, Perrin Harkins wrote: I can't see why you wouldn't store it like any other data in a database table. Just make a table structure that fits it and use it the way you normally use your database. voice type=celebrity class=cheesy,wash_out Hi, my name is

Re: [Catalyst] Re: memory usage of mod_perl process

2007-02-09 Thread Wade . Stuart
Tony Losey [EMAIL PROTECTED] wrote on 02/09/2007 04:05:17 PM: On Fri February 9 2007 12:53 pm, Jeffrey Ng wrote: On 2/9/07, Oliver Gorwits [EMAIL PROTECTED] wrote: Jeffrey Ng wrote: I am the coworker of Fayland who posted the topic memory usage of mod_perl process. Our

Re: [Catalyst] save session data

2007-02-09 Thread Yuval Kogman
On Sat, Feb 10, 2007 at 00:19:01 +0200, Yuval Kogman wrote: voice type=celebrity class=cheesy,wash_out Hi, my name is Yuval Kogman. You may know me from modules such as Crap, what a stupid misquote... you may *remember* me... sorry everyone. -- Yuval Kogman [EMAIL PROTECTED]

Re: [Catalyst] Re: memory usage of mod_perl process

2007-02-09 Thread Jeffrey Ng
On 2/10/07, Tony Losey [EMAIL PROTECTED] wrote: On Fri February 9 2007 12:53 pm, Jeffrey Ng wrote: On 2/9/07, Oliver Gorwits [EMAIL PROTECTED] wrote: Jeffrey Ng wrote: I am the coworker of Fayland who posted the topic memory usage of mod_perl process. Our company has invested

Re: [Catalyst] save session data

2007-02-09 Thread Jonathan Rockway
Yuval Kogman wrote: Hi, my name is Yuval Kogman. You may know me from modules such as Crap, what a stupid misquote... you may *remember* me... sorry everyone. If you're trying to sound like Troy McClure, it's Hi, my name is $name. You may remember me from such modules as `Foo' and `Bar'. :)

Re: [Catalyst] save session data

2007-02-09 Thread Yuval Kogman
On Fri, Feb 09, 2007 at 17:09:50 -0600, Jonathan Rockway wrote: If you're trying to sound like Troy McClure, it's Hi, my name is $name. You may remember me from such modules as `Foo' and `Bar'. :) That's what I was going for -- Yuval Kogman [EMAIL PROTECTED]

Re: [Catalyst] CGI::State style Plugin?

2007-02-09 Thread Nilson Santos Figueiredo Junior
On 2/9/07, Jim Spath [EMAIL PROTECTED] wrote: Looks interesting, but it doesn't provide for arrays? It should - at least that's what CGI::Expand's documentation claims (CGI::Expand is the underlying module which actually converts params to data structures). Unfortunately, it seems to be

Re: [Catalyst] Pagenav?

2007-02-09 Thread Nilson Santos Figueiredo Junior
On 2/9/07, Jonathan Rockway [EMAIL PROTECTED] wrote: $rs = $c-model('DBIC')-search-whatever; I'd advise you against calling whatever() and limiting yourself to the first search() call if you're planning on using DBIC's built-in pager for this resultset. As of 0.07005, multiple search()es over

[Catalyst] Catalyst::Plugin::ConfigLoader::Environment on windows

2007-02-09 Thread Greg McAlpin
Hi. Trying to install Angerwhale and running into a problem with one of the tests for Catalyst::Plugin::ConfigLoader::Environment. I hope that it's okay to post this to this list. I would appreciate any help. The test (01-live.t) expects to find hash keys like 'foo' and 'bar' and

Re: [Catalyst] Catalyst::Plugin::ConfigLoader::Environment on windows

2007-02-09 Thread Jonathan Rockway
On Friday 09 February 2007 21:03, Greg McAlpin wrote: Hi. Trying to install Angerwhale and running into a problem with one of the tests for Catalyst::Plugin::ConfigLoader::Environment. I hope that it's okay to post this to this list. I would appreciate any help. I suggest installing it

[Catalyst] site down

2007-02-09 Thread Ken Perl
why catalyst.perl.log can not be visited? -- perl -e 'print unpack(u,62V5N\FME;G\!EFQ`9VUA:6PN8V]M\[EMAIL PROTECTED] )' ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: