Re: separating C from V in MVC

2002-06-10 Thread John Hurst
Ray Zimmerman wrote: So how is everybody else handling URL mapping? In the filesystem. Directly requested .tt files are all sent to a default template handler: Location /tt_engine SetHandler perl-script PerlHandler UAL::TTEngine /Location AddType text/tt .tt Action text/tt /tt_engine The

Re: separating C from V in MVC

2002-06-10 Thread John Hurst
Perrin Harkins wrote: On Mon, 10 Jun 2002, I wrote: In the filesystem. Directly requested .tt files are all sent to a default template handler: Those are both interesting and may be the most appropriate solution for the problems you're working on, but I wouldn't call either of them MVC.

Re: Handling the 'User pressed Stop button' case - not working

2001-05-25 Thread John Hurst
Matthew Darwin wrote: On Sat, 26 May 2001, Stas Bekman wrote: You right. It seems that mod_proxy won't abort on SIGPIPE. So how can I get it to without breaking everything else? Any ideas? I have a process that takes 2-3 minutes to run before the user gets any any output. I tell

Re: Apache::ASP

2001-01-25 Thread John Hurst
You may also want to try unless(UNIVERSAL::can($r, 'filename')){ ... } which also nicely avoids having to test $r first. -jh At 05:05 PM 1/25/01, Joshua Chamas wrote: Anyone see why a $r = Apache=SCALAR(0x8461790) might not respond true to $r-can('filename') on Ilya's below

Re: cookies cookies cookies

2000-12-12 Thread John Hurst
At 01:47 PM 12/12/00, Joshua Chamas wrote: Greg Stark wrote: How do I reliably remove a cookie from a browser's memory? Then Josh said: What about setting the cookie with an expires date in the past? $Response-{Cookies}{YourCookie} = { Value = '', Expires = -86400, }; In

Re: Text::Template, PACKAGES, ModPerl

2000-08-14 Thread John Hurst
"goEbusiness.com Mail Lists" wrote: Ok, here's the scenarious. snip Is there a quick easy way to reset all of those variables for each time the script is run? I'm assuming no. I did make a function that ran through the package, like so: snip From my own bag-o-tricks, this simply

Full Time Position Available

1999-11-07 Thread John Hurst
Santa Monica, CA company has immediate full time opening for advanced Perl programmer to assume maintenance and expansion of running site. Current environment is Linux/Apache/mod_perl/MySQL. Relaxed work environment. Salary and benefits commensurate with experience. Reply to me directly, please.