dynamic caching

2009-02-13 Thread JPengCA
Hello, Can we write a dynamic caching system with modperl within few days? I got the idea from this article: http://publib.boulder.ibm.com/infocenter/wsdoc400/v6r0/index.jsp?topic=/com.ib m.websphere.iseries.doc/info/ae/ae/welc6tech_dyn.html Any comments are welcome. We can pay for this projec

Re: dynamic caching

2009-02-13 Thread Perrin Harkins
On Fri, Feb 13, 2009 at 4:00 AM, wrote: > Can we write a dynamic caching system with modperl within few days? > I got the idea from this article: > > http://publib.boulder.ibm.com/infocenter/wsdoc400/v6r0/index.jsp?topic=/com.ib > m.websphere.iseries.doc/info/ae/ae/welc6tech_dyn.html That's a h

Re: Capturing Apache response

2009-02-13 Thread Mark Hedges
On Tue, 10 Feb 2009, Solutio at Gmail wrote: > First of all, I thank you both for your expert opinion on the topic. I have > never had to fiddle with this sort of Apache customization, so I'm learning in > the process... > > As for the way to communicate the file name to the filter, sure, we wo

Re: Manipulating @INC and tremendous blank page

2009-02-13 Thread Mark Hedges
On Fri, 13 Feb 2009, shiriru0...@hotmail.com wrote: > - I was manipulating @INC in a BEGIN block but wasn't working. > The main app index.pl is very basic: > > use strict; > use warnings; > > use App::Core Run => 'App::Engine'; > > I was doing the manip of @INC in the App::Engine module > within

Re: mod_perl2 with mod_dbd and Apache2

2009-02-13 Thread Mark Hedges
You'd probably want to use Apache::DBI in that case. I got the impression that you were maybe running under a threaded model with many children serving static content but sometimes opening DBI connections. Connection pooling is a cool idea but I don't know who's made it work. For example, `man

Re: Capturing Apache response

2009-02-13 Thread Solutio at Gmail
I understand your point, and we'll strip the custom headers off before sending the response to the client. We are also looking at another way to dump the response (in the application's parent template class), which would help us avoid messing with Apache altogether. ---

Re: Capturing Apache response

2009-02-13 Thread Mark Hedges
I'm trying to say that you shouldn't use custom headers to save this information, when you should be using the correct facility, which is pnotes. Why do you want to use the wrong thing when the right thing is available? Mark On Fri, 13 Feb 2009, Solutio at Gmail wrote: > I understand your poin

Re: Capturing Apache response

2009-02-13 Thread Solutio at Gmail
We'll look at pnotes too. Thanks again. -- From: "Mark Hedges" Sent: Friday, February 13, 2009 1:11 PM To: "Solutio at Gmail" Cc: "André Warnier" ; Subject: Re: Capturing Apache response I'm trying to say that you shouldn't use custom headers

Re: mod_perl2 with mod_dbd and Apache2

2009-02-13 Thread Perrin Harkins
On Fri, Feb 13, 2009 at 1:22 PM, Mark Hedges wrote: > Connection pooling is a cool idea but I don't know who's > made it work. I gave a couple of options earlier in this thread. - Perrin

Re: dealing with empty field names in query

2009-02-13 Thread Jonathan Vanasco
On Feb 6, 2009, at 4:58 PM, Phil Carmody wrote: In those name/value pairs, according to HTML 4 at least, the names must begin with a letter [A-Za-z]. The empty string does not do so. Garbage in, garbage out. Part of me agrees with that philosophy. Another part of me is more practical.

Re: Manipulating @INC and tremendous blank page

2009-02-13 Thread Perrin Harkins
On Thu, Feb 12, 2009 at 9:55 PM, wrote: > Is there a way to manipulate @INC without having to use a startup.pl in > mod_perl2??? Sure. For example, PERL5LIB. > As for now, I've created a startup.pl to manipulate @INC that is called when > the server is launched > but this has serveral draw bac

Re: dealing with empty field names in query

2009-02-13 Thread André Warnier
Jonathan Vanasco wrote: On Feb 6, 2009, at 4:58 PM, Phil Carmody wrote: In those name/value pairs, according to HTML 4 at least, the names must begin with a letter [A-Za-z]. The empty string does not do so. Garbage in, garbage out. Part of me agrees with that philosophy. Another part of

Re: dealing with empty field names in query

2009-02-13 Thread Jonathan Vanasco
On Feb 13, 2009, at 3:38 PM, André Warnier wrote: The management part of me says that if you sell shoddy merchandise to people, they are going to come back and hit you with it. Presumably, if you get such kind of posted data from a form, it is because you sent a shoddy form to the browser, which

Re: dealing with empty field names in query

2009-02-13 Thread David Nicol
On Fri, Feb 13, 2009 at 3:03 PM, Jonathan Vanasco wrote: > A simple typo could render your application broken. Or a hostile competitor.

Re: dealing with empty field names in query

2009-02-13 Thread Joe Schaefer
- Original Message > From: Jonathan Vanasco > To: modperl > Sent: Friday, February 13, 2009 3:30:20 PM > Subject: Re: dealing with empty field names in query > > > On Feb 6, 2009, at 4:58 PM, Phil Carmody wrote: > > > In those name/value pairs, according to HTML 4 at least, the names

Re: dynamic caching

2009-02-13 Thread JPengCA
In a message dated 2009-2-14 0:39:49, phark...@gmail.com writes: >That's a huge article. Which part sounded good to you? There are >many caching tools available for mod_perl. I wish to cache a full dynamic application like Web Services (SOAP). I was thinking if it's possible to make a proxy

RE: Manipulating @INC and tremendous blank page

2009-02-13 Thread shiriru0111
Thank you, Mark & Perrin for your help! > > Is there a way to manipulate @INC without having to use a startup.pl in> > > Sure. For example, PERL5LIB. Yes, sure. Sorry,my question wasn't correctly formulated. Below is closer to what I was looking for and should have expressed. > Regarding relat

Re: Re: Need help to configue mod_perl

2009-02-13 Thread sandhya pawar
I am trying to configure mod_perl2.0. but Apache used to get stop.When I enters the above lines in httpd.conf. PerlRequire "C:Program FilesApache Software FoundationApache2.2confextra.pl" ### New new line for mod_perl LoadModule perl_module modules/mod_perl.so #mod_perl - LoadFile "C:/Perl/bi