RE: Templating system opinions (CGI::Application in connection with either HTML::Template or Template::Toolkit)

2003-07-24 Thread Jesse Erlbaum
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

RE: templating system opinions (axkit?)

2003-07-21 Thread Jesse Erlbaum
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

RE: templating system opinions

2003-07-21 Thread Jesse Erlbaum
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-

RE: templating system opinions

2003-07-19 Thread Jesse Erlbaum
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

RE: templating system opinions

2003-07-19 Thread Jesse Erlbaum
]) 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

RE: templating system opinions

2003-07-19 Thread Jesse Erlbaum
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-

RE: templating system opinions

2003-07-19 Thread Jesse Erlbaum
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

RE: Dynamically banning hosts

2003-07-11 Thread Jesse Erlbaum
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,

RE: Apache::Request for CGI? (was: Re: A::Registry vs. mod_perlhandler philosophy)

2003-07-02 Thread Jesse Erlbaum
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

RE: Apache::Request for CGI? (was: Re: A::Registry vs. mod_perl handler philosophy)

2003-07-02 Thread Jesse Erlbaum
r lack of imagination? TTYL, -Jesse- -- Jesse Erlbaum The Erlbaum Group [EMAIL PROTECTED] Phone: 212-684-6161 Fax: 212-684-6226

RE: advice on implementing a controller manager

2003-07-01 Thread Jesse Erlbaum
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

RE: Authentication design

2003-06-04 Thread Jesse Erlbaum
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

ANNOUNCE: CGI::Application 3.1

2003-06-03 Thread Jesse Erlbaum
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 &

ANNOUNCE: CGI::Application::Generator 1.0

2003-02-19 Thread Jesse Erlbaum
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

ANNOUNCE: CGI::Application 3.0

2003-02-02 Thread Jesse 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.

RE: Load balancers

2003-01-13 Thread Jesse Erlbaum
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

RE: Load balancers

2003-01-13 Thread Jesse Erlbaum
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

RE: Load balancers

2003-01-13 Thread Jesse Erlbaum
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

RE: Obfusacating the source

2002-11-19 Thread Jesse Erlbaum
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

RE: Migrating from CGI.pm to Apache::Request question.

2002-11-19 Thread Jesse Erlbaum
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.

RE: [OTish] Version Control?

2002-11-01 Thread Jesse Erlbaum
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

RE: [OTish] Version Control?

2002-11-01 Thread Jesse Erlbaum
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

RE: [OTish] Version Control?

2002-11-01 Thread Jesse Erlbaum
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

RE: [OTish] Version Control?

2002-10-30 Thread Jesse Erlbaum
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

RE: [OTish] Version Control?

2002-10-30 Thread Jesse Erlbaum
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

RE: [OTish] Version Control?

2002-10-30 Thread Jesse Erlbaum
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

RE: [OTish] Version Control?

2002-10-30 Thread Jesse Erlbaum
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

RE: [OTish] Version Control?

2002-10-30 Thread Jesse Erlbaum
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

RE: [OTish] Version Control?

2002-10-30 Thread Jesse Erlbaum
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

RE: Yahoo is moving to PHP ??

2002-10-30 Thread Jesse Erlbaum
tactic is a good start. TTYL, -Jesse- -- Jesse Erlbaum The Erlbaum Group [EMAIL PROTECTED] Phone: 212-684-6161 Fax: 212-684-6226

RE: MySQL default max_connections

2002-10-23 Thread Jesse Erlbaum
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-

RE: [OT] Perl vs. PHP..... but where is mod_perl?

2002-10-18 Thread Jesse Erlbaum
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

RE: Apache::DBI and CGI::Application with lots of modules.

2002-10-14 Thread Jesse Erlbaum
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

ANNOUNCE: CGI::Application 2.6

2002-10-08 Thread Jesse Erlbaum
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

RE: newbie: apache, mod_perl, & mod_ssl (openssl) installation...

2002-09-27 Thread Jesse Erlbaum
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

RE: mod_perl & mod_php

2002-08-30 Thread Jesse Erlbaum
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

RE: mod_perl & mod_php

2002-08-29 Thread Jesse Erlbaum
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

mod_perl & mod_php

2002-08-29 Thread Jesse Erlbaum
staken? TTYL, -Jesse- -- Jesse Erlbaum The Erlbaum Group [EMAIL PROTECTED] Phone: 212-684-6161 Fax: 212-684-6226

RE: @INC

2002-08-29 Thread Jesse Erlbaum
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

RE: @INC

2002-08-29 Thread Jesse Erlbaum
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-

RE: base.pm seems to fail a check

2002-08-29 Thread Jesse Erlbaum
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- --

RE: modifying @INC at startup and version of perl used

2002-08-29 Thread Jesse Erlbaum
ful! Warmest regards, -Jesse- -- Jesse Erlbaum The Erlbaum Group [EMAIL PROTECTED] Phone: 212-684-6161 Fax: 212-684-6226

RE: Apache::Session - What goes in session?

2002-08-21 Thread Jesse Erlbaum
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

RE: Apache::Session - What goes in session?

2002-08-21 Thread Jesse Erlbaum
rumps anecdotal data every time. Warmest regards, -Jesse- -- Jesse Erlbaum The Erlbaum Group [EMAIL PROTECTED] Phone: 212-684-6161 Fax: 212-684-6226

RE: Apache::Session - What goes in session?

2002-08-19 Thread Jesse Erlbaum
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

RE: [Templates] Re: Separating Aspects (Re: separating C from V in MVC)

2002-06-07 Thread Jesse Erlbaum
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?

RE: [OT] MVC soup (was: separating C from V in MVC)

2002-06-07 Thread Jesse Erlbaum
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

RE: MVC alphabet soup (=> MVP?)

2002-06-06 Thread Jesse Erlbaum
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

RE: [OT] MVC soup (was: separating C from V in MVC)

2002-06-06 Thread Jesse Erlbaum
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

RE: separating C from V in MVC

2002-05-31 Thread Jesse Erlbaum
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]

RE: separating C from V in MVC

2002-05-30 Thread Jesse Erlbaum
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]

ANNOUNCE -- CGI::Application 2.4

2002-05-28 Thread Jesse Erlbaum
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

Patch to mod_perl 1.26: "error-notes" support

2002-04-12 Thread Jesse Erlbaum
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

ANNOUNCE -- CGI::Application v2.1

2001-08-13 Thread Jesse Erlbaum
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]". -- +-+-+-+-+-+-+-+-+-+-+-+-

JOB: Staff Perl/CGI Programmer

2001-07-17 Thread Jesse Erlbaum
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

ANNOUNCE: CGI::Application 2.0

2001-06-26 Thread Jesse Erlbaum
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]

JOB: Staff Perl/CGI Programmer

2001-06-11 Thread Jesse Erlbaum
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.

[ANNOUNCE] CGI::Application 1.31

2001-05-29 Thread Jesse Erlbaum
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]". --

PERL.COM, ORA and Songline mailservers SUCK!

2001-05-03 Thread Jesse Erlbaum
}; 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

RE: Unset PerlAuthenHandler (I wish)

2000-12-18 Thread Jesse Erlbaum
! } 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- -- +-+-+-+-+-+-+-+-+

JOB: NYC Perl Programmers needed!

2000-12-18 Thread Jesse Erlbaum
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

make tar_Apache broken?

2000-08-30 Thread Jesse Erlbaum
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

ANNOUNCE: CGI::Application 1.2

2000-07-20 Thread Jesse Erlbaum
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/ +-+-+-+-+-+-+

ANNOUNCE: CGI::Application 1.1

2000-07-12 Thread Jesse Erlbaum
, 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/ +-+-+-+-+-+-+

CGI.pm Bug?

1999-11-10 Thread Jesse Erlbaum
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]

JOB: Perl/CGI Programmer

1999-11-01 Thread Jesse Erlbaum
"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/ +-+-+-+-+-+-+