Re: Apache::ASP & HTTP's validation model

2000-02-13 Thread Joshua Chamas
Aaron Ross wrote: > > hi Dmitry! > > Wouldn't it be great it someone came up with a general solution for this... > some kind of logical class from which you could inherit and implement the > necessary methods. > > There was an interesting thread about this problem with Mason. I'm sure it's >

Re: Apache::ASP & HTTP's validation model

2000-02-13 Thread Joshua Chamas
Dmitry Beransky wrote: > > (Joshua, promise to let me know when you get tired of my "ideas" and I'll > stop :-) > > >No, this wouldn't make sense for most scripts which will > >contain dynamic parts. > > What about a situation when the content is been dynamically generated from > a source that

RE: ANNOUNCE: HTML::Embperl 1.3b2

2000-02-13 Thread Steve Willer
On Mon, 14 Feb 2000, Gerald Richter wrote: > If you really like to do so, we have to compile the perl (of every object) > for every namepsace it will run into. Currently I think more of a feature > like exporting variables (like Perl modules can do), so that they are > visible in all object duri

Re: Embedded Perl XML Extensions ...

2000-02-13 Thread Joshua Chamas
Leslie Mikesell wrote: > > According to Gerald Richter: > > > > > > Will you be able to emulate the IIS/ASP 'transformNode' > > > method that renders html from xml and xsl components? > > > > > > > I don't know what transform Node exactly does, but I hope we find a common > > design, which will a

RE: ANNOUNCE: HTML::Embperl 1.3b2

2000-02-13 Thread Gerald Richter
Hi Steve, >From Steve Willer: > This looks pretty neat. I don't think I told you, but I started at a new > job last October, and immediately spearheaded an effort to replace their > internal template system with an Embperl-based system. Well, I won. :-) > :-) > However, the template language it

mod_perl vs. PHP.

2000-02-13 Thread Jason C. Leach
hi, I'm looking for some info on the pros and cons of PHP and mod_perl. Can anyone direct me to some. I'm mostly concerned with what is faster or all around better to program in, especially for something like an eComerce site and of coarse doing DB work. Thanks, J.

Re: emulating Basic Auth from Mason

2000-02-13 Thread Sean Chittenden
I'm assuming that you're doing this in an access handler. If that's the case, set up some condition in your module where it figures out whether or not the user is authenticated. If the user isn't authenticated: return(AUTH_REQUIRED); That should do it. I don't think th

RE: Embperl SEGV's in mod_perl, but not standalone

2000-02-13 Thread Gerald Richter
Hi, when you have compiled mod_perl as DSO you must _not_ load Embperl at server startup time, i.e. _no_ "PerlModule HTML::Embperl" nor a "use HTML::Embperl" in a startup.pl file! Gerald P.S. This problem will be fixed in mod_perl 1.22 --

emulating Basic Auth from Mason

2000-02-13 Thread Louis-David Mitterrand
I have this component which both displays and updates a database. If the user wants to update a record I'd like the following to happen: 1) detect in the component that a DB update is attempted, 2) check if the user is already logged in by checking for login/password presence in the Apache::Se