This was a cool interjection of cosmic coincidence. I'm sitting here reading the 4th Edition of "Learning Perl." I wore the other editions out. I have "Learning Perl Objects, References & Modules" on the shelf right next to me.
Thanks for the great reads (and the sense of humor) over the ye
> "Frank" == Frank Wiles <[EMAIL PROTECTED]> writes:
Frank> Someone correct me if I'm wrong, but I seem to remember that the
Frank> first couple of versions of PHP were written in mod_perl. Then
Frank> again I could be suffering from sleep deprivation! :)
>From what I recall, the *fir
I've worked with PHP since 4.2 and I think its a nice language.
For somebody else. I bloody well hate it.
Mark>>> Frank Wiles <[EMAIL PROTECTED]> 17-Feb-06 18:02:47 PM >>>
On Fri, 17 Feb 2006 16:54:23 -0600"will trillich" <[EMAIL PROTECTED]> wrote:> as for php, it's a nice language, in no sm
On Fri, 17 Feb 2006 16:54:23 -0600
"will trillich" <[EMAIL PROTECTED]> wrote:
> as for php, it's a nice language, in no small part due to its grammar
> being so perl-like. my theory is: php arose because pete (isn't that
> the first P in PHP? pete's home page?) wanted a module built in to
> apache
On 2/16/06, Clinton Gormley <[EMAIL PROTECTED]> wrote:
> It seems to me that a lot of people new to mod_perl and
> to Perl have joined this mailing list recently.
i'm a perl hack, not all that comfy with the myriad modules available,
but can make it do what i need.
as for php, it's a nice languag
On Fri, 2006-02-17 at 19:08 +0100, Daniel McBrearty wrote:
> Frank, what's the light/heavy approach?
>
http://perl.apache.org/docs/1.0/guide/scenario.html#One_Plain_and_One_mod_perl_enabled_Apache_Servers
Frank, what's the light/heavy approach?On 2/17/06, Frank Wiles <[EMAIL PROTECTED]> wrote:
On Fri, 17 Feb 2006 06:31:21 -0500 (EST)Jeff Pang <[EMAIL PROTECTED]> wrote:> I do agree mod_perl is a strong web-develop language.But I still> think it consume too much memory. Under my test,it's not so stabl
From: "Jonathan Vanasco" <[EMAIL PROTECTED]>
>
> In a production environment, I found this:
> HTML::Template::JIT was the fastest. it averaged something like .
> 0003 seconds
> Template::Toolkit was around .003
> Petal was around .008 (without pre-caching)
>
> my application logic was about .08
On Feb 17, 2006, at 4:45 AM, Octavian Rasnita wrote:
Yes, and you also forgot to say about the speed of this templating
system
which is very low comparing with other templating systems.
Teddy
Petal is slow because of the way is implemented. Template::Tal i s a
bit faster, but doesn't cac
On Fri, 17 Feb 2006 06:31:21 -0500 (EST)
Jeff Pang <[EMAIL PROTECTED]> wrote:
> I do agree mod_perl is a strong web-develop language.But I still
> think it consume too much memory. Under my test,it's not so stable as
> fast-cgi,and eat much more memory than fast-cgi.Maybe the truth is
> not so,it'
On Fri, 17 Feb 2006 11:36:08 +0800
"Foo Ji-Haw" <[EMAIL PROTECTED]> wrote:
> I think people choose templating engines depending on how they want
> to use it. For me, HTML::Template is fairly ideal because it
> encourages me to focus on the business logic, and abstracts the
> presentation fairly we
rl@perl.apache.org
>Subject: Re: A question for the newbies
>
>On Thu, 2006-02-16 at 23:13 +0100, Daniel McBrearty wrote:
>> Can you give any recs on choosing a templating system if memory use is
>> also a factor?
>
>The one you have (CGI::FastTemplate) or Apache::SSI a
From: "Jonathan" <[EMAIL PROTECTED]>
> Just because I like to advocate TAL:
>
>
>
> First item?
> Even item?
> Odd item?
> Replaced by Foo{'blah'}{'var'}
> Replaced by Foo{'blah'}->method()
>
>
>
>
> template:
> renders in browser without code, as it would be seen
> i
od_perl"
Sent: Friday, February 17, 2006 11:19 AM
Subject: Re: A question for the newbies
> Foo Ji-Haw <[EMAIL PROTECTED]> wrote:
> > > I knew that perl could do OO and I couldn't find
> > > design patterns to go to the next step.
> > You brought up a good
> On Feb 16, 2006, at 10:18 PM, Foo Ji-Haw wrote:
> > I think the biggest complaint about Perl, is that it is too
> > symbolic (which
>
> I thought that its ugly code - caused in part by no standard coding
> practices, and far too many people pushing 'theres more than one way
> to do it'
I actually
and Template Toolkit.
- Original Message -
From: "Jonathan" <[EMAIL PROTECTED]>
To: "Michael Greenish" <[EMAIL PROTECTED]>
Cc: "mod_perl"
Sent: Friday, February 17, 2006 2:16 AM
Subject: Re: A question for the newbies
>
> On Feb 16, 2006, at 12:48
Foo Ji-Haw <[EMAIL PROTECTED]> wrote:
> > I knew that perl could do OO and I couldn't find
> > design patterns to go to the next step.
> You brought up a good point. I wish someone will write a Design Patterns
> book based on Perl...
This helps:
http://perldesignpatterns.com/perld
> Did you ever try Template Toolkit? I'd say it's probably more popular than
> HTML::Template, and much less restrictive (although you also have more
rope to
> hang yourself too) and can do everything that you mentioned below.
What's the draw of Template Toolkit? I am a heavy user of HTML::Template
On Feb 16, 2006, at 10:18 PM, Foo Ji-Haw wrote:
I think the biggest complaint about Perl, is that it is too
symbolic (which
I thought that its ugly code - caused in part by no standard coding
practices, and far too many people pushing 'theres more than one way
to do it'
On Feb 16, 2006
> I knew that perl could do OO and I couldn't find
> design patterns to go to the next step.
You brought up a good point. I wish someone will write a Design Patterns
book based on Perl...
I've read up on Ruby (to understand the growing interest around it). It
looks Perlish, and it's an interesting
> Just an FYI, Perl 6 will use the dot notation for calling methods.
I did an O'Reilly read on Perl 6. The new syntaxes for variable manipulation
is a bit rough going for sunk-in Perl5 people like me.
But more importantly: when will it ever be ready?!? ( I know there are no
answers to this...)
d_perl"
Sent: Thursday, February 16, 2006 11:37 PM
Subject: Re: A question for the newbies
> I guess I'm still considered a mod_perl / perl newbie. I started
> learning perl 6 months
> ago in anticipation of translating a CMS (Content Management System) I
> wrote in PHP.
ore importantly, how do you Reflect with
Perl?
- Original Message -
From:
Mark
Galbreath
To: modperl@perl.apache.org ; [EMAIL PROTECTED]
Sent: Thursday, February 16, 2006 10:42
PM
Subject: Re: A question for the
newbies
I've been developing apps for busi
n the same basket...
- Original Message -
From: "Arne Skjaerholt" <[EMAIL PROTECTED]>
To:
Sent: Thursday, February 16, 2006 11:11 PM
Subject: Re: A question for the newbies
I'm not exactly a newbie anymore, but I came to mod_perl by way of Perl
scripts for the
: "Arne Skjaerholt" <[EMAIL PROTECTED]>
To:
Sent: Thursday, February 16, 2006 11:11 PM
Subject: Re: A question for the newbies
> I'm not exactly a newbie anymore, but I came to mod_perl by way of Perl
> scripts for the shell. I'd already written some PHP, but when I l
On 2/16/06, Jonathan Vanasco <[EMAIL PROTECTED]> wrote:
On Feb 16, 2006, at 4:20 PM, Perrin Harkins wrote:> On Thu, 2006-02-16 at 22:14 +0100, Daniel McBrearty wrote:>> One question about the various template systems and mod_perl : is>> there not a performance hit in using these?
and whatever the p
On Thursday 16 February 2006 05:23 pm, Jonathan Vanasco wrote:
> On Feb 16, 2006, at 4:20 PM, Perrin Harkins wrote:
> > Probably slower. TT and Mason don't need to do any regexes because
> > they have compiled the template to a perl sub. They don't have to parse
> > the template at all after th
On Feb 16, 2006, at 4:20 PM, Perrin Harkins wrote:
On Thu, 2006-02-16 at 22:14 +0100, Daniel McBrearty wrote:
One question about the various template systems and mod_perl : is
there not a performance hit in using these?
and whatever the performance hit is - remember that 90% of your
proces
On Thu, 2006-02-16 at 23:13 +0100, Daniel McBrearty wrote:
> Can you give any recs on choosing a templating system if memory use is
> also a factor?
The one you have (CGI::FastTemplate) or Apache::SSI are pretty good in
low-memory situations. Others like TT and HTML::Template can be set to
not c
Thanks Perrin. Great article. I remember reading it a while back, and was a bit overwhelmed with info at the time, but good to come back to it. It starts to fall into place more now.Can you give any recs on choosing a templating system if memory use is also a factor?
My site currently runs on a VM
On Thu, 2006-02-16 at 22:14 +0100, Daniel McBrearty wrote:
> One question about the various template systems and mod_perl : is
> there not a performance hit in using these?
As opposed to not using anything? Yes. They are much faster than what
people usually write on their own though.
> If ther
A quick word in amongst the other stuff - couldn't agree more about the horriblenes of PHP's treating hashes and arrays as one thing. It was a pretty instant put off for me when I looked at that language a year or two back.
One question about the various template systems and mod_perl : is there not
Just because I like to advocate TAL:
First item?
Even item?
Odd item?
Replaced by Foo{'blah'}{'var'}
Replaced by Foo{'blah'}->method()
template:
renders in browser without code, as it would be seen
is valid markup
works in multiple languages
This thread has brought out some quite interesting marketing (as in
advocacy and understanding) issues so far - any volunteers for adding to
or creating a FAQ about getting into mod_perl?
John
On Thu, 2006-02-16 at 10:10 -0800, Tyler MacDonald wrote:
> OK, this is the fifth time this morning I've heard about
> template::toolkit. It all started when a friend that I'm working on an AJAX
> library with came up to me and said "hey, ingy's rewritten Template::Toolkit
> in javascript! Th
> "Tyler" == Tyler MacDonald <[EMAIL PROTECTED]> writes:
Tyler> Why am I forced to say
Tyler> [% FOREACH(blah) foo %]
Tyler> Instead of the
Tyler> [% for my $i (@foo) %]
Tyler> I've become happily used to?
Because the day will come when you want to replace
foo.a # get $foo->{
On Feb 16, 2006, at 12:48 PM, Michael Greenish wrote:
What I like about PHP over perl is the ease of
variable declaration. I feel I have to use strict
with perl, I would like the ability to not have to put
"my" in front of every new variable.
putting my / our before variables is good though.
Perrin Harkins <[EMAIL PROTECTED]> wrote:
> > My biggest complaint for perl for web apps, however,
> > is the templating. I haven't found a template module
> > in perl that rivals Smarty templates in PHP.
> It sounds like you somehow missed Template Toolkit:
> http://www.template-toolkit.org/docs/
On Thu, 2006-02-16 at 09:48 -0800, Michael Greenish wrote:
> What I like about PHP over perl is the ease of
> variable declaration. I feel I have to use strict
> with perl, I would like the ability to not have to put
> "my" in front of every new variable. Probably 1/4 of
> my errors when debuggin
Some selective answers...(not really relevant to your present job, but maybe
more helpful in the future)
Michael Greenish wrote:
> I looked around on the web for a while, tried
> to study the modperl apache site's examples, but just
> couldn't derive a good code example; I understood OO,
> I knew
Many people do not realize that the core of .NET is an open standard. It was submitted to ECMA and approved 3 years ago. There is, in fact, a pretty robust open source .NET project on SourceForge: Mono. Since Java 5.0 was released, however, the interest in C# has decreased, and no one was ever
I've been writing in perl for just over a year. I was
a developer in embedded controls, but had an idea for
a website and some free time so started learning perl.
I had a strong C++ background so understood OO pretty
well. I chose Perl because I had heard so much about
it. My first site was pur
Well, I'm a newbie that has [and has used] a pink copy of the Camel book 1.
I choose perl _BECAUSE_ it was antiquated then; awk, sed and perl had stood the test of time.
Community? Perl was built by those with need for those with need;
I hear a corporation "owns" Java... and as for the creater of
On Thu, 16 Feb 2006 09:42:49 -0500
"Mark Galbreath" <[EMAIL PROTECTED]> wrote:
> I miss the reference dot notation of Java and other OO languages,
> however. Why didn't Larry include that? And the 'use v. require'
> issue seems silly to me. Why not a simple 'import' statement? And
> the access
I guess I'm still considered a mod_perl / perl newbie. I started
learning perl 6 months
ago in anticipation of translating a CMS (Content Management System) I
wrote in PHP.
I considered Python, and C++ as alternatives. C++ was over kill and
would require
way too much development just to get
truly. The only thing PHP ever had going for it as far as I can see is templating. And the Perl Template Toolkit is way cooler than PHP's templating framework.
On the other hand, if you write OO PHP (available since version 5), it could develop into a robust scripting language. But there are
I started learning Perl about two years ago, and prior to that hadn't
done any programming since my two pascal classes in highschool, except
for a smattering of dos scripting. I had been mucking around with
various linux distros and was fishing for a good language to get back
onboard with, and
I've been developing apps for business, ecommerce, and government in Java for 6 years. I developed Web sites with Perl 5.0 CGI in the mid-1990s but never much cared for it outside of its excellent string maniulation, being attracted to the pure OO languages. I spent the last 2 years developing i
I'm not exactly a newbie anymore, but I came to mod_perl by way of Perl
scripts for the shell. I'd already written some PHP, but when I learned
Perl I saw the error of my ways as it were and realized that PHP really
is quite the makeshift language and that developing in Perl was far more
comfortabl
Well I'm more of an old-bie, but I've heard quite a few people recently
(first hand) acknowledging that PHP (specifically) isn't really a
'serious' contender for enterprise web apps. (no flames please, I have
no opinions!)
I've also noticed my favourite news site* defining 'LAMP' as "Linux,
It seems to me that a lot of people new to mod_perl and to Perl have
joined this mailing list recently.
And this is during a period when popular opinion (amongst those who know
no better) seems to regard Perl as antiquated.
I'm delighted that new people are joining.
My question is, what prompted
51 matches
Mail list logo