cvs commit: modperl-2.0 Changes

2002-06-14 Thread dougm
dougm 2002/06/14 19:09:26 Modified:.Changes Log: update Changes Revision ChangesPath 1.23 +3 -0 modperl-2.0/Changes Index: Changes === RCS file: /home/cvs/modperl-2.0/Changes,v

Re: tutorials (was: Re: rfc Apache::Dynagzip)

2002-06-14 Thread Slava Bizyayev
From: Igor Sysoev [EMAIL PROTECTED] Here is first part of criticism. 1. You should not mix proxies and browsers. It's a question. I've been thinking about this, and decided to refrain from diving into a long common discussion about features of spiders, content-feeders, general indexing

Re: SEGV in bleadperl@17165 under mod_perl

2002-06-14 Thread Nick Ing-Simmons
Jarkko Hietaniemi [EMAIL PROTECTED] writes: I'm grasping at straws, and I really don't know much about PerlIO... but try this: //depot/perl/perlio.c#179 - /u/vieraat/vieraat/jhi/pp4/perl/perlio.c Index: perl/perlio.c --- perl/perlio.c.~1~ Thu Jun 13 20:05:05 2002 +++ perl/perlio.c

Re: SEGV in bleadperl@17165 under mod_perl

2002-06-14 Thread Nick Ing-Simmons
Doug Maceachern [EMAIL PROTECTED] writes: patch below also cures (when calling system() with Apache::Upload handles still alive). seems PerlIO_importFILE() should have a mode argument, It did but nobody used it and now we have legacy. The thing that world passes as 0 was suppoed to be O_READ

Re: separating C from V in MVC

2002-06-14 Thread Nigel Hamilton
A) a ridiculously flexible interface that looks sort of like SQL, except where it is SQL, except where it's only sort of like SQL, etc. B) a ridiculous profusion of classes, methods, or both. SQL has its place, and Alzabo merely provides a thin layer on top of it. Trying to jam a thick

Re: tutorials (was: Re: rfc Apache::Dynagzip)

2002-06-14 Thread Igor Sysoev
On Fri, 14 Jun 2002, Slava Bizyayev wrote: Does it make sense? For me it means that every fact which is coming from Igor Sysoev should be double-checked independently prior to practical usage. OK. It's your right. I guess some significant changes in the next version of the tutorial... On

Re: URL

2002-06-14 Thread Mark Fowler
On Thu, 13 Jun 2002, Rasoul Hajikhani wrote: Is there a way to read the actual URL typed in the location box of the browser? What's actually typed into the location bar on a browser isn't sent in the HTTP headers, and thus mod_perl cannot access it. For example, you may be able to type in

Re: separating C from V in MVC

2002-06-14 Thread Matt Sergeant
On Fri, 14 Jun 2002, Nigel Hamilton wrote: A) a ridiculously flexible interface that looks sort of like SQL, except where it is SQL, except where it's only sort of like SQL, etc. B) a ridiculous profusion of classes, methods, or both. SQL has its place, and Alzabo merely provides a

Re: tutorials (was: Re: rfc Apache::Dynagzip)

2002-06-14 Thread Slava Bizyayev
From: Igor Sysoev [EMAIL PROTECTED] Sent: Friday, June 14, 2002 3:53 AM Subject: Re: tutorials (was: Re: rfc Apache::Dynagzip) I did not check how Squid work with Vary header because any value in this header simply disables caching in MSIE. I prefer client caching to compression. It's not

Re: separating C from V in MVC

2002-06-14 Thread Mark Fowler
On Fri, 14 Jun 2002, Nigel Hamilton wrote: Generally I try to minimise the layers/tiers/abstraction between the front-end and the database - for me OO/SQL abstraction is something akin to 'GOTO considered harmful'. I think there's room for middle ground here between mapping OO directly

Re: separating C from V in MVC

2002-06-14 Thread F . Xavier Noria
On Fri, 14 Jun 2002 10:34:47 +0100 (BST) Mark Fowler [EMAIL PROTECTED] wrote: : On Fri, 14 Jun 2002, Nigel Hamilton wrote: : : Generally I try to minimise the layers/tiers/abstraction between : the front-end and the database - for me OO/SQL abstraction is something : akin to 'GOTO

Re: tutorials (was: Re: rfc Apache::Dynagzip)

2002-06-14 Thread Igor Sysoev
On Fri, 14 Jun 2002, Slava Bizyayev wrote: I did not check how Squid work with Vary header because any value in this header simply disables caching in MSIE. I prefer client caching to compression. It's not the truth again. I'm using Vary accomplished with Expires to control MSIE local

Re: separating C from V in MVC

2002-06-14 Thread Nigel Hamilton
Generally I try to minimise the layers/tiers/abstraction between the front-end and the database - for me OO/SQL abstraction is something akin to 'GOTO considered harmful'. HI Mark, I'm not sure about a monolithic SQL factory module like the one you describe. Generally, each

Re: which handler?

2002-06-14 Thread Geoffrey Young
Gabriel C Millerd wrote: On Thu, 13 Jun 2002, Geoffrey Young wrote: sounds like a job for a PerlTransHandler... if ($not_ok) { $r-uri('/not_ok_page.html'); return DECLINED; } this works great until i run into an Alias or a mod_rewite rule it seems. that's odd. the

location of LoginScript in Apache::AuthCookie* modules

2002-06-14 Thread Eric Doutreleau
Hi I 'm trying to use the Apache::AuthCoookieLDAP module to authenticate my web users using my ldap server. With the defaut configuration it works quite well. Right now i would like to make user authenticate throug a SSL page. In order to do that i modify the configuration script to use

Re: which handler?

2002-06-14 Thread Gabriel C Millerd
On Fri, 14 Jun 2002, Geoffrey Young wrote: that's odd. the above code essentially acts as though the user entered /not_ok_page.html in their browser all by themselves. maybe I incorrectly assumed that's what you were looking for? well the problem with a onsite url is that the handler

Thread bug in 5.8RC1 Win32

2002-06-14 Thread Alessandro Forghieri
Greetings. Running NT4SP6, 5.8RC1 compiled debug. The following session: D:\Apache2perl -d -e 42 Loading DB routines from perl5db.pl version 1.19 Editor support available. Enter h or `h h' for help, or `perldoc perldebug' for more help. main::(-e:1): 42 DB1 ;{use threads;my

O-R mapping vs. R-O mapping (was Re: separating C from V in MVC)

2002-06-14 Thread Ray Zimmerman
At 12:22 AM -0500 6/14/02, Dave Rolsky wrote: An Object-Relational mapper takes objects and stores them in a relational database, as transparently as possible. I think the most pure example of this I've seen in the Perl world is Tangram (www.tangram-persistence.org). SPOPS is also an O-R mapper

Re: which handler?

2002-06-14 Thread Geoffrey Young
Gabriel C Millerd wrote: On Fri, 14 Jun 2002, Geoffrey Young wrote: that's odd. the above code essentially acts as though the user entered /not_ok_page.html in their browser all by themselves. maybe I incorrectly assumed that's what you were looking for? well the problem with a

Re: [OT] Q:MVC and FuseBox methodology A?

2002-06-14 Thread Ron Mahoney
I think fusebox does not really apply very well to mod_perl or PHP. It really developed out of the fact that coldfusion (pre 5.0) had no functions and still has no real objects. Since there is no real practical way to separate code except into separate files that can be included (cf_include) or

Re: separating C from V in MVC

2002-06-14 Thread kyle dawkins
The Pet Shop has a grand total of 13 tables. How well does this approach work with 90 tables? How does it handle arbitrary queries that may join 1-6 tables, with conditionals and sorting of arbitrary complexity? Where I work we have over 90 tables and it works fine. We don't run a

[OT] WebObjects [Was: Re: separating C from V in MVC]

2002-06-14 Thread Drew Taylor
At 10:59 AM 6/14/02 -0400, kyle dawkins wrote: As for people claiming never to have seen an OR system that works, I suggest you check out EOF from NeXT/Apple. For those of you (like me) who didn't know what EOF is, it stands for Enterprise Object Framework and is part of Apple's WebObjects app

Re: [OT] WebObjects [Was: Re: separating C from V in MVC]

2002-06-14 Thread kyle dawkins
Drew is correct, EOF stands for Enterprise Object Framework. However, it's not part of the WebObjects app server... it predates WO by a long time (I think it's about 9 or 10 years old) happens to come with WO but is completely separate from it. On Friday 14 June 2002 11:27, Drew Taylor

Re: separating C from V in MVC

2002-06-14 Thread Dave Rolsky
On Fri, 14 Jun 2002, kyle dawkins wrote: bigger system, but I would also caution people to say that if you find yourself doing joins across up to 6 tables, you're almost certainly doing something wrong from the start and, basically, you're fooked because of shitty design, and O/R or R/O

Re: separating C from V in MVC

2002-06-14 Thread Drew Taylor
Fran, I think the key here is taking care of the 80% easily. This has been mentioned in this thread several times, and in previous threads. No, I don't think there will ever be an (efficient) wrapper that can handle ALL the cases and ALL the possible SQL queries. But if you can handle the

Re: tutorials (was: Re: rfc Apache::Dynagzip)

2002-06-14 Thread Slava Bizyayev
From: Igor Sysoev [EMAIL PROTECTED] Can you show me URL with Vary and Expires that MSIE would cache. You have this combination when you access my preview with your MSIE by HTTP/1.1 with no proxy (it's still old version of Apache::CompressClientFixup installed over there). The lifetime of

Re: PerlSetVar WhatEverSecure

2002-06-14 Thread Brian Reichert
On Thu, Jun 13, 2002 at 09:42:41PM -0700, Jim Helm wrote: It's not the prettiest in the world, but try this (see attached file). Thanks for the pointers; I'll give it a look-over... -- Brian 'you Bastard' Reichert[EMAIL PROTECTED] 37 Crystal Ave. #303Daytime

Re: mod_perl/passing session information (MVC related, maybe...)

2002-06-14 Thread Peter Bi
To Ward's first post: I think one may even doesn't need server cookie. Using a client-site cookie fits exactly the need. Peter - Original Message - From: Rob Nagler [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, June 13, 2002 7:49 PM Subject: Re: mod_perl/passing session

Re: tutorials (was: Re: rfc Apache::Dynagzip)

2002-06-14 Thread Igor Sysoev
On Fri, 14 Jun 2002, Slava Bizyayev wrote: From: Igor Sysoev [EMAIL PROTECTED] Can you show me URL with Vary and Expires that MSIE would cache. You have this combination when you access my preview with your MSIE by HTTP/1.1 with no proxy (it's still old version of Yes, your response is

Re: location of LoginScript in Apache::AuthCookie* modules

2002-06-14 Thread Vivek Khera
ED == Eric Doutreleau [EMAIL PROTECTED] writes: ED Right now i would like to make user authenticate throug a SSL ED page. ED In order to do that i modify the configuration script to use ED PerlSetVar WhatEverLoginScript https://corbeau/perl/login.pl Well, in order to be able to get the

Re: tutorials (was: Re: rfc Apache::Dynagzip)

2002-06-14 Thread Valerio_Valdez Paolini
On Sat, 15 Jun 2002, Igor Sysoev wrote: I mean that handler can do following: if ($r-headers_in(Accept-Encoding) =~ /gzip/ and not $r-note(disable_gzip)) { do gzipping } I understand your point of view, even I prefer Slava's approach. I'm asking myself why you will need to log

Re: tutorials (was: Re: rfc Apache::Dynagzip)

2002-06-14 Thread Slava Bizyayev
From: Igor Sysoev [EMAIL PROTECTED] Yes, your response is really cached at least in MSIE 5.5. Thanks. ... I mean that handler can do following: if ($r-headers_in(Accept-Encoding) =~ /gzip/ and not $r-note(disable_gzip)) { do gzipping } Should we consider this the

[1.27] Tests don't pass on Cygwin

2002-06-14 Thread Per Einar Ellefsen
Hi, In trying to figure out how to get mod_perl to work on Cygwin (I'm convinced it's possible.. I've been able to compile and make install with some help, and got Apache::Status working), now i want to get the tests passing (it makes me feel much better). Here's the make test output: cp

Re: PerlSetVar WhatEverSecure

2002-06-14 Thread Michael J Schout
On Thu, 13 Jun 2002, Brian Reichert wrote: Apache::AuthTicket says: Finally, by using the Secure mode of Apache::AuthCookie, the ticket is not passed over unencrypted connections. Passed in what direction? Client - server. rfc2109 says: Secure Optional. The Secure