Re: Templating System

2000-07-27 Thread Autarch
On Thu, 27 Jul 2000, Jacob Davies wrote: SELECT NAME="country" OPTION VALUE="uk" #COUNTRY SELECTEDIF="uk" The Mother Country OPTION VALUE="us" #COUNTRY SELECTEDIF="us" Some Other Country /SELECT In Mason that looks like: option value="uk" % $country eq 'uk' ? 'selected' : '' % Or

Re: perldoc gateway/handler

2000-07-25 Thread Autarch
On Wed, 26 Jul 2000, Christian Jaeger wrote: testwww.ethz.ch/eile). You can download both from http://testwww.ethz.ch/eile/download/ and see it in action on This link doesn't seem to be working. I'm really interested in this. -dave /*== www.urth.org We await the New Sun

Re: [admin] new list: dev@perl.apache.org

2000-06-28 Thread Autarch
On Wed, 28 Jun 2000, Ask Bjoern Hansen wrote: We have created a new list, [EMAIL PROTECTED], to discuss development issues. We have usually had that distributed in some way between private mail, the -cvs list and the modperl list which is way overloaded. Is this just for development of

RE: Bugs 5.6.0 modperl use?

2000-05-26 Thread Autarch
On Fri, 26 May 2000, Jeff Stuart wrote: Ok, follow up question if I may. :) Are any of you using it with DBI and DBD::mysql? I see on the Mason list that people are using it with HTML::Mason so that module is safe. :) Looks like I'm gonna have to pull Except that if you use the html

Re: global variables and reparsing question (low priority ;)

2000-05-22 Thread Autarch
On Tue, 23 May 2000, Marc Lehmann wrote: stable (mod_perl really is very unstable for large applications). Apart Wow, I wish you'd warned me before I did several large applications using mod_perl. Fortunately, they haven't experienced any mod_perl related problems. Just a fluke, I guess.

Re: RFC: Apache::Request::Forms (or something similar)

2000-05-19 Thread Autarch
On Fri, 19 May 2000, Doug MacEachern wrote: C seems like serious overkill for something to simply generate plain text output. How slow is making a string in perl compared to doing it in C? I can't imagine there's to much of a difference. more like Perl is serious overkill :) SV's

Re: RFC: Apache::Request::Forms (or something similar)

2000-05-18 Thread Autarch
On Wed, 17 May 2000, Doug MacEachern wrote: personally, i'd like to see Apache::HTML for generating html, written in c. something simple along the lines of HTML::AsSubs, then another class to glues it and Apache::Request together that provides CGI.pm features, like 'sticky forms'. but, i

Re: RFC: Apache::Request::Forms (or something similar)

2000-05-18 Thread Autarch
On Thu, 18 May 2000, brian moseley wrote: i suggest that instead of subclassing Apache::Request, you write the following set of classes: 1) html widget class 2) sticky forms class - use html widget class, take $r or $q as param 3) "wrapper" class - gives you the CGI.pm interface, uses

Re: RFC: Apache::Request::Forms (or something similar)

2000-05-17 Thread Autarch
On Wed, 17 May 2000, Peter Haworth wrote: Drew Taylor and I are about to write a subclass of Apache::Request which includes form element generation methods, a la CGI.pm. The current favourite name is Apache::Request::Forms, but we'd like to know if anyone has a better one. There's going to

Re: database efficiency

2000-05-15 Thread Autarch
On Mon, 15 May 2000, Jay Jacobs wrote: mod_perl" and there's one thing I don't quite grok about it. Let's say I have a site that goes through select statements like water. If I were to cache the statement handler (as described in the guide), how does the database (database dependant)

Re: speed up/load balancing of session-based sites

2000-05-09 Thread Autarch
On Mon, 8 May 2000, Perrin Harkins wrote: Some apps that use Apache::Session, like Embperl and Mason, have chosen to rely on cookies. They implement the cookie part themselves. Apache::Session has nothing to do with cookies. I don't know about Embperl but Mason a) doesn't do anything with

Re: Cookies and redirection

2000-05-09 Thread Autarch
On Tue, 9 May 2000, Alex Menendez wrote: not completely sure about real mod_perl. However, the following works great using Apache::Registry and CGI: print $query-header(-cookie=[$id_cookie,$crypt_cookie],

Re: headless operation

2000-05-02 Thread Autarch
On Tue, 2 May 2000, Tobias Hoellrich wrote: for a future project I'm in the need to support two different ways how our web based service can be accessed: 1.) The traditional way: Handling user requests through a browser 2.) The "headless" way: Handling under-the-hood requests which basically

Re: speed up/load balancing of session-based sites

2000-04-28 Thread Autarch
On Fri, 28 Apr 2000, Igor Chudov @ home wrote: My persistent oracle connections are cached properly with mod_perl and are no problem. Are you loading Apache::DBI before you use Apache::Session? Also make sure that whatever params you give in your connects (or connect_on_init) match those you

Re: Modperl/Apache deficiencies... Memory usage.

2000-04-17 Thread Autarch
On Tue, 18 Apr 2000 [EMAIL PROTECTED] wrote: Go out of scope, yes. Destroyed, no. Want to test? No problem. Do the following in a perl script. my($funnything); print"Value of funnything is $funnything"; $funnything="Uh oh... check this out"; This only happens with Apache::Registry

Re: [RFC] Exceptions addition to the guide

2000-04-09 Thread Autarch
On Sun, 9 Apr 2000, Matt Sergeant wrote: For similar exception handling techniques, see the Try module, the Exception module and the Error module, all on CPAN. There is no Exception module on CPAN? If you're referring to my code, it's not yet on CPAN because I don't think I can justify

Re: [RFC] Exceptions addition for the guide.

2000-04-08 Thread Autarch
On Sat, 8 Apr 2000, Matt Sergeant wrote: I've written a short document on exception handling for the guide, even though it's not particularly mod_perl specific, Stas thinks it would be a good addition. Take a look at it, and let me know if there is anything you would change before it's

RE: Embperl vs. Mason

2000-02-14 Thread Autarch
On Mon, 14 Feb 2000, Gerald Richter wrote: all. We've been talking recently about how to expand mason so that it can be used in any sort of context where you have a request (from STDIN, email, whatever) for content that you want filled by components. While you are talking, Embperl can

Re: Mod_Perl learning track

2000-02-04 Thread Autarch
Well, you have a very large goal. Obviously, the first thing you need to do to learn the language. In your case you've chosen Perl (good choice). I'd recommend the following books: You may want to start with Elements of Programming with Perl. It teaches you programming from the ground up

RE: oracle : The lowdown

2000-01-11 Thread Autarch
On Tue, 11 Jan 2000, David Harris wrote: This link was just posted to the IMP list a couple min ago: "Low-Cost Unix Database Differences" http://www.toodarkpark.org/computers/dbs.html Stas, this might be a good link to drop somewhere in the guide. This is probably getting pretty

Re: Problem with compiling mod_perl

1999-12-08 Thread Autarch
On Wed, 8 Dec 1999, Craig Vincent wrote: I must have now installed mod_perl a dozen times on a dozen machines and this is the first time I've come across this problem and I can't seem to solve it...nor have I had any luck through FAQs, DejaNews or even newsgroup postings :( Has anyone ever

Fix for Redhat(?) bug in mod_perl install

1999-12-04 Thread Autarch
I don't remember if this has been discussed before but anyway. If you're running Redhat 6.0 (and maybe 6.1?) there may be some weirdness when you try to install modperl. Basically, when you go to run make on apache, it gives it some -L or -I flags that include libgdbm, because your Perl was

Re: Bug in libapreq makes form elements stick to an apache child

1999-11-20 Thread Autarch
On Fri, 19 Nov 1999, Jeffrey Baker wrote: I don't care whether Perl has allocate memory or not. All I care about is whether or not there are any defined entries in the list, which I think is most clearly expressed as 'if (defined $list[0])'. What is more clear than that? 'if (@list)'

Re: Stonehenge::Throttle, round 2 - CPU used by an IP

1999-11-16 Thread Autarch
On 16 Nov 1999, Randal L. Schwartz wrote: So, here's source. Peer review requested - I'm probably turning this in for my next WebTechniques column... It would be nice if the various package vars were configurable from a .conf file. Certainly there's no reason to hard code the history dir

Re: Image::Magick and mod_perl

1999-01-17 Thread Autarch
On Mon, 15 Nov 1999, Todd Finney wrote: process for the duration of the transaction? If each transaction lasts a couple of seconds, it this a Bad Thing? Is there a more efficient way to handle this? Unless you truly need to resize the image on the fly as part of the transaction with the