se from the best available
CPAN libraries, rather than to pre-select for them.
You could probably use CGI::Application to implement part of
OpenInteract, but you wouldn't use one in lieu of the other. They're
not really comparable at all.
TTYL,
-Jesse-
--
Jesse Erlbaum
The Erlbau
erver". Yes,
> there are a lot of prototypes getting millions of pageviews a day and
> generating signicifican revenue.
You hit the nail on the head there: "Prototype" in Perl, and then just
keep using it! A strategy for the NEW "New Economy".
TTYL,
-Jesse-
--
Jesse Erlbaum
The Erlbaum Group
[EMAIL PROTECTED]
Phone: 212-684-6161
Fax: 212-684-6226
Hi Dave --
Dave Rolsky writes:
> > Mason isn't fast. It is, however, fast enough for high
> volume sites -
> > that I will assert.
>
> Sure, amazon.com among them.
Amazon.com uses Mason? Why have I not heard of this before?
-Jesse-
expert designers and
programmers, that's great. Let me know where you find them! I've been
looking for years. ;-)
TTYL,
-Jesse-
--
Jesse Erlbaum
The Erlbaum Group
[EMAIL PROTECTED]
Phone: 212-684-6161
Fax: 212-684-6226
]) wrote a
version of HTML::Template for PHP:
http://htmltmpl.sourceforge.net/
This means that you could quickly, and cheaply get a system up and
running with Perl and HTML::Template, and migrate it eventually to PHP.
(If the "prototype" happens to be so good that it takes the wind out of
the sails
Hey Ken --
> Search the guide:
>
>http://perl.apache.org/search/swish.cgi?query=template&sbm=&submit=sear
ch
I'm deeply amused that there are nearly as many articles about
templating systems on perl.apache.org (30) as there are templating
modules on CPAN!
TTYL,
-Jesse-
ything which doesn't look like HTML is likely to cause them to have a
stroke. Yes, I'm a programmer-snob and a fascist, and I like to take
sharp objects away from the gentle "creative" types.
Aside from the fact that HTML::Template uses less RAM and is faster than
TT, this
ed modules, such as
Apache::CodeRed, but I don't think that's what you're looking for.
If you can define the nature of the attack, you can write code to defend
against it. Mod_perl can definitely allow you to add logic at the right
time to implement such a defense.
Warmest regards,
Philippe --
> Check out the guide:
> Check out the books:
> Check out the success stories:
Is that your answer? I was hoping for specific examples, not
hand-waving.
-Jesse-
--
Jesse Erlbaum
The Erlbaum Group
[EMAIL PROTECTED]
Phone: 212-684-6161
Fax: 212-684-6226
r lack of imagination?
TTYL,
-Jesse-
--
Jesse Erlbaum
The Erlbaum Group
[EMAIL PROTECTED]
Phone: 212-684-6161
Fax: 212-684-6226
was built to run under mod_perl,
and solve exactly this problem.
TTYL,
-Jesse-
--
Jesse Erlbaum
The Erlbaum Group
[EMAIL PROTECTED]
Phone: 212-684-6161
Fax: 212-684-6226
plenty of facilities for
managing security in this fashion.
HTH,
-Jesse-
--
Jesse Erlbaum
The Erlbaum Group
[EMAIL PROTECTED]
Phone: 212-684-6161
Fax: 212-684-6226
tantiated
directly. Instead, it is intended that your Application Module will be
implemented as a Sub-Class of CGI::Application.
If you have any questions, comments, bug reports or feature suggestions,
post them to the support mailing list! To join the mailing list, simply
send a blank message to &
d you download and install HTML::Template.
SUPPORT MAILING LIST
If you have any questions, comments, bug reports or feature suggestions,
post them to the support mailing list! To join the mailing list, simply
send a blank message to "[EMAIL PROTECTED]".
--
Jesse Erlbaum
The Erlbaum
Version 3.0 of CGI::Application is now available via CPAN!
Download site for CGI::Application:
http://www.cpan.org/authors/id/J/JE/JERLBAUM/
CHANGES SINCE VERSION 2.5:
- Changed the run() method to use Perl's built-in dynamic method
call for all run modes, whether by name or by code ref.
0 to
100, IIRC: 0 == server down, 1 == lightly loaded, 100 == heavily loaded.
TTYL,
-Jesse-
--
Jesse Erlbaum
The Erlbaum Group
[EMAIL PROTECTED]
Phone: 212-684-6161
Fax: 212-684-6226
sure. I would have loved to make one, but that was
just not the correct thing to do at the time.
TTYL,
-Jesse-
--
Jesse Erlbaum
The Erlbaum Group
[EMAIL PROTECTED]
Phone: 212-684-6161
Fax: 212-684-6226
ive dynamic adaptive load balancing
system based on server response time which is very effective.
It has been a couple years since I talked to Coyote Point about their
product. I would check to see if it is still cost-competitive.
HTH,
-Jesse-
--
Jesse Erlbaum
The Erlbaum Group
[EMAIL PROTECTED]
Phone: 212-684-6161
Fax: 212-684-6226
ial installation of Perl which can decrypt the code prior to parsing.
That sounds like a weekend project for the suitably twisted.
Warmest regards,
-Jesse-
--
Jesse Erlbaum
The Erlbaum Group
[EMAIL PROTECTED]
Phone: 212-684-6161
Fax: 212-684-6226
Ken that you should move your HTML
generation into a templating system. HTML::Template is my personal
preference. I use H::T in conjunction with CGI::Application to implement
all my web apps. FWIW, CGI::Application works equally well with Template
Toolkit, if that's your preference.
of those who are not yet putting all their code in modules,
it really does give you a profound advantage in ease of development and
management.
TTYL,
-Jesse-
--
Jesse Erlbaum
The Erlbaum Group
[EMAIL PROTECTED]
Phone: 212-684-6161
Fax: 212-684-6226
Hi Ray --
> Jesse are you saying that you have a single apache server running
> multiple vhosts with different versions of the same module loaded for
> different vhosts? Is that actually possible?
>
> I thought that whenever you first require ModuleX it will use the
> value of PERL5LIB in that con
tive "SetEnv" and "PerlSetEnv" for mod_perl users), thereby
allowing each site to have its OWN versions of libraries.
If you isolate your web site from the host operating system you will gain
significant freedom and ease of management.
Warmest regards,
-Jesse-
--
Jesse
r in a Perl
module.
Another thing to add: Only files which are directly managed by a developer
can be effectively managed in CVS. Files which are changed through a web
form or an automated process are not candidates for CVS because the
automation can't usually do important things like commit ch
ly going to be available to answer
questions. If you can isolate all project related files to a single UNIX
user you will have a tremendously portable and maintainable environment.
For example, even the cron-processes on our sites run as the user who owns
the project files.
TTYL,
-Jesse-
--
Jesse Erlbaum
The Erlbaum Group
[EMAIL PROTECTED]
Phone: 212-684-6161
Fax: 212-684-6226
27;ve already been roasted by the best of 'em!) A number of my developers
are emacs nuts, one uses vi (ouch!), and one uses a Windows-based editor and
FTP. I imagine emacs has some sort of special CVS tie-in (it ties in
everything else!), but it obviously isn't really important for basi
Hey Jim --
> Also, Randal Schwartz wrote about cvs is a slightly more general setting:
>
> http://www.linux-mag.com/2002-07/perl_01.html
The system we use goes a bit beyond even what Randal describes (although, he
is on a similar track).
In a nutshell, the Apache "httpd.conf" file is "templatiz
also encrypted and secure. Just make sure to configure your web
server to block access to "CVS/" directories!
TTYL,
-Jesse-
--
Jesse Erlbaum
The Erlbaum Group
[EMAIL PROTECTED]
Phone: 212-684-6161
Fax: 212-684-6226
nments. Other than the occasional FTP binary/ASCII mode upload
snafu, it is rare that developers on my projects step on each others' feet.
FYI, we work exclusively on UNIX. Our work is split roughly 80/20,
Linux/Solaris.
Warmest regards,
-Jesse-
--
Jesse Erlbaum
The Erlbaum Group
[EMAIL PROTECTED]
Phone: 212-684-6161
Fax: 212-684-6226
tactic is a good start.
TTYL,
-Jesse-
--
Jesse Erlbaum
The Erlbaum Group
[EMAIL PROTECTED]
Phone: 212-684-6161
Fax: 212-684-6226
as a configurable limit on connections. (For that
matter, so does Apache!) The limits are to prevent a run-away process from
taking down the server.
FWIW, I've configured MySQL to accept as many as 2000 concurrent connections
without a problem. MySQL simply rocks.
Warmest regards,
-Jesse-
Hey All -
> based on the article, i am surprised that anyone at newsfactor
> would get the
> objections, much less remove the article.
After scanning a few NewsFactor (Factory?) articles, particularly those
written by "Mike Martin", it's pretty clear that they have a successful
Internet business
oldcheck = Holds->new()
Many people (myself included) prefer the arrow notation. In general, the
arrow notation tends to be less ambiguous, particularly when it comes to
combining method calls with arguments.
HTH,
-Jesse-
--
Jesse Erlbaum
The Erlbaum Group
[EMAIL PROTECTED]
Phone: 212-684-6161
Fax: 212-684-6226
If you have any questions, comments, bug reports or feature suggestions,
post them to the support mailing list! To join the mailing list, simply
send a blank message to "[EMAIL PROTECTED]".
--
Jesse Erlbaum
The Erlbaum Group
[EMAIL PROTECTED]
Phone: 212-684-6161
Fax: 212-684-6226
openssl genrsa -out httpsd.key 1024
2. Create a Certificate Signing Request (CSR):
$ openssl req -new -key httpsd.key -out httpsd.csr
2. Create self-signed certificate:
$ openssl req -x509 -days 365 -in httpsd.csr -key httpsd.key -out
httpsd.crt
TTYL,
-Jesse-
--
Jesse Erlbaum
The Erlbaum Group
[EMAIL PROTECTED]
Phone: 212-684-6161
Fax: 212-684-6226
Hey Peter --
> I took over for some Russian programmers on one project
Wow... Sounds like there's a story in there somewhere! Is your client
suffering from globalization woes? :-)
> Most of the PHP reminds me of the older Perl4 style where a programmer
> might repeat the same code very
ache-mod_perl. Eventually,
we intend to strip out as much of that ColdFusion nastiness as we can and
replace it with Perl.
It's great to be able to stack environments. The concurrent environments
(ColdFusion coexisting with mod_perl) is letting us do so over time.
TTYL,
-Jesse-
--
J
staken?
TTYL,
-Jesse-
--
Jesse Erlbaum
The Erlbaum Group
[EMAIL PROTECTED]
Phone: 212-684-6161
Fax: 212-684-6226
ect that even if he got that working he would have a host of
incompatibilities which would necessitate a recompile, anyway.
TTYL,
-Jesse-
--
Jesse Erlbaum
The Erlbaum Group
[EMAIL PROTECTED]
Phone: 212-684-6161
Fax: 212-684-6226
Hi Ufuk --
>How can I have @INC array contain the directory names
> /usr/lib/perl/5.6.1 ... instead of /usr/lib/5.6.0.
> Apache does not run beacuse of the value of @INC.
You need to recompile Apache/mod_perl.
-Jesse-
or both of the
following:
1. Perl version mis-match between installed Perl and version compiled into
Apache.
2. Web server permissions issue.
If I were you I would closely compare the different versions and settings of
the installed perl and the compiled apache/perl.
TTYL,
-Jesse-
--
ful!
Warmest regards,
-Jesse-
--
Jesse Erlbaum
The Erlbaum Group
[EMAIL PROTECTED]
Phone: 212-684-6161
Fax: 212-684-6226
e. Having an idea of the potential
growth of the system and use of the data, combined with a few well chosen
benchmarks come in handy here.
TTYL,
-Jesse-
--
Jesse Erlbaum
The Erlbaum Group
[EMAIL PROTECTED]
Phone: 212-684-6161
Fax: 212-684-6226
rumps anecdotal data every time.
Warmest regards,
-Jesse-
--
Jesse Erlbaum
The Erlbaum Group
[EMAIL PROTECTED]
Phone: 212-684-6161
Fax: 212-684-6226
place where session data might come in handy.
Warmest regards,
-Jesse-
--
Jesse Erlbaum
The Erlbaum Group
[EMAIL PROTECTED]
Phone: 212-684-6161
Fax: 212-684-6226
Hey Tony --
>I'm a huge fan of passing Date::Simple objects, which can then take a
>strftime format string:
>
> [% date.format("%d %b %y") %]
> [% date.format("%Y-%m-%d") %]
Out of curiosity, at what point of flexibility do you feel it is OK for your
designers to go back to the programmers?
Hey Perrin & Bill --
> You could also just punt and push this out to the
> controller. (Not very "pure" but simple to implement.)
This is exactly what I had in mind. (Perhaps you can explain what you mean
by "not very pure".) The methods in any model module I would write would
have expecta
Hey Jeff --
> All in all, the additions that led to MVP do not seem particularly
> applicable to web development - it seems to me that a
> simplified MVC may
> work better here. Do others concur?
YES! I would agree whole-heartedly. As I said in my first message on this
thread, a pattern is no
Hi Bill --
> I, like many, find these discussion really interesting. I always wish
> there was some write up for the mod_perl site when all was
> said and done.
> But I guess one of the reasons it's so interesting is that
> there's more
> than one correct point of view.
I expect to complete
interacts with one Model?
>
> The model might be made up of dozens of different classes, but it's
> still referred to as "the model" as in "the application's data model."
To further elucidate -- the Controller would not dynamically select a
different Model depending on what it is doing, as it may select a different
View depending on what it is asked to do. Unless it does. :-)
Warmest regards,
-Jesse-
Jesse Erlbaum, CTO
Vanguard Media
http://www.vm.com
212.242.5317 x115
[EMAIL PROTECTED]
run a search
} else {
# 30 lines of spaghetti code to display a form
}
That, my friends, is what happens when an SPS is used in lieu of a real
architecture. Separating your Controller and View is a great cure for this
ailment.
Warmest regards,
-Jesse-
Jesse Erlbaum, CTO
Vanguard Media
http://www.vm.com
212.242.5317 x115
[EMAIL PROTECTED]
Version 2.4 of CGI::Application is now available via CPAN!
Download site for CGI::Application:
http://www.cpan.org/authors/id/J/JE/JERLBAUM/
CHANGES SINCE VERSION 2.1:
- Added new module CGI::Application::Mailform as both an
example of how to use CGI::Application and a useful
(albeit si
g::dump($r, SERVER_ERROR);
}
***
*** 153,158
--- 154,160
if($errsv) {
$r->log_error($errsv);
+ $r->notes('error-notes', $errsv);
return SERVER_ERROR unless $Debug && $Debug & 2;
return Ap
cation Module will be
implemented as a Sub-Class of CGI::Application.
If you have any questions, comments, bug reports or feature suggestions,
post them to the support mailing list! To join the mailing list, simply
send a blank message to "[EMAIL PROTECTED]".
--
+-+-+-+-+-+-+-+-+-+-+-+-
reusable components. If you enjoy working in a
creative environment supported by enlightened and experienced management,
this is the place for you!
--
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Jesse Erlbaum ... CTO
[EMAIL PROTECTED] . Vanguard Media
d that your Application Module will be
implemented as a Sub-Class of CGI::Application.
If you have any questions, comments, bug reports or feature suggestions,
post them to the support mailing list! To join the mailing list, simply
send a blank message to "[EMAIL PROTECTED]
components. If you enjoy working in a
creative environment supported by enlightened and experienced management,
this is the place for you!
--
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Jesse Erlbaum ... CTO
[EMAIL PROTECTED] . Vanguard Media
v: 212.242.
intended that your Application Module will be
implemented as a Sub-Class of CGI::Application.
If you have any questions, comments, bug reports or feature suggestions,
post them to the support mailing list! To join the mailing list, simply
send a blank message to "[EMAIL PROTECTED]".
--
};
for (split /\n(?!\s)/, $msg->{HEADER_STRING}) {
my($tag, $value) = /^([^\s:]+):\s*(.*)\s*\Z/s;
push @{ $msg->{HEADERS}{$tag} }, $value;
$tag =~ tr/-/_/;
$tag = uc($tag);
push @{ $msg->{$tag} }, $value;
}
local $/ = undef;
fo
! } elsif ($val =~ /^nothing$/) {
! # Get out quick if we don't require anything.
! return OK;
! }
}
$user_requirements =~ s/^ //go;
$group_requirements =~ s/^ //go;
<END
TTYL,
-Jesse-
--
+-+-+-+-+-+-+-+-+
you enjoy working in a
creative environment supported by enlightened and experienced management,
this is the place for you!
--
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Jesse Erlbaum ... CTO
[EMAIL PROTECTED] . Vanguard Media
v: 212.242.5317 x115
pm Apache.pm Apache
auto/Apache; )
offsite-tar:
$(CP) MANIFEST MANIFEST.orig
< END PATCH
I tested this and it appears to work for me (although I haven't tried to
distribute this file to another machine, yet). Would this patch work, or is
there some o
mailing list! To join the mailing list, simply
send a blank message to "[EMAIL PROTECTED]".
--
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Jesse Erlbaum ... CTO
[EMAIL PROTECTED] . Vanguard Media
v: 212.242.5317 x115 .. New York City
+-+-+-+-+-+- http://www.vm.com/ +-+-+-+-+-+-+
,
post them to the support mailing list! To join the mailing list, simply
send a blank message to "[EMAIL PROTECTED]".
--
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Jesse Erlbaum ... CTO
[EMAIL PROTECTED] . Vanguard Media
v: 212.242.5317 x115 .. New York City
+-+-+-+-+-+- http://www.vm.com/ +-+-+-+-+-+-+
the number of bytes
received during an upload, and I have confirmed that the upload is freezing
after about 1 meg is received.
ANY IDEAS? I'm stumped!
Much thanks!
-Jesse-
--
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Jesse Erlbaum ... CTO
[EMAIL PROTECTED]
"Perl/CGI Programmer." Please
be prepared to show code samples!
Thanks!
-Jesse-
--
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Jesse Erlbaum ... CTO
[EMAIL PROTECTED] . Vanguard Media
v: 212.242.5317 x115 .. New York City
+-+-+-+-+-+- http://www.vm.com/ +-+-+-+-+-+-+
66 matches
Mail list logo