[26388] in Perl-Users-Digest
Perl-Users Digest, Issue: 8559 Volume: 10
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Sun Oct 23 18:05:24 2005
Date: Sun, 23 Oct 2005 15:05:04 -0700 (PDT)
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)
Perl-Users Digest Sun, 23 Oct 2005 Volume: 10 Number: 8559
Today's topics:
Re: getElementsByTagName, tag does not exist robic0@yahoo.com
Re: Perl equivalent of PHP and JSP: Mason? <lawrence@hummer.not-here.net>
Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: Sun, 23 Oct 2005 15:04:54 -0700
From: robic0@yahoo.com
Subject: Re: getElementsByTagName, tag does not exist
Message-Id: <lu1ol1pduvf38d0sf2uolnjomcg5nlhv66@4ax.com>
On Sat, 22 Oct 2005 09:57:21 -0400, "Matt Garrish"
<matthew.garrish@sympatico.ca> wrote:
Your right Matt. I sometimes make those comments on
Friday nights after the pub. Dissregard those,
and sorry for them. But I am usually coherent on here
and am interrested in technical development.
I mean no harm. - thanks!
>
><robic0@yahoo.com> wrote in message
>news:e5ojl1hdas8utf88tt1mknpsullko6gi29@4ax.com...
>> On Thu, 20 Oct 2005 08:04:45 -0400, "Matt Garrish"
>> <matthew.garrish@sympatico.ca> wrote:
>>>Simplistic statements like sax for everything aren't helpful.
>>
>> I didn't getcha on this statement..
>>
>
>You only talk about DOM and SAX in your original post (and being the two
>most common and supported parsers, that's not surprising). By following up
>and saying you'll never use nodes again you're implying that SAX is the only
>way to go. That's all that was meant.
>
>Matt
>
------------------------------
Date: 23 Oct 2005 11:23:04 -0700
From: Lawrence Statton N1GAK/XE2 <lawrence@hummer.not-here.net>
Subject: Re: Perl equivalent of PHP and JSP: Mason?
Message-Id: <x7mzl0qeif.fsf@hummer.i-did-not-set--mail-host-address--so-shoot-me>
Juha Laiho <Juha.Laiho@iki.fi> writes:
> Steve Chapel <stevenREMOVE.chapelTHESE@TOsbcglobalE-MAIL.netME> said:
> >I've been contracted to make a website that requires a certain amount of
> >server-side programming. Specifically, users should be able to register
> >a username and password on the site. [...]
>
> I'd say HTML::Embperl is a fair comparision with PHP. On the surface,
> Embperl doesn't list the number of libraries you get with PHP -- but
> then, with Embperl you have more or less all the native perl libraries
> at your perusal.
>
At my place of employ we have been migrating over the last year from
Embperl to Mason.
I like the ease with which I can separate program logic and
presentation using HTML::Embperl::Execute().
There are cgi programs that consist 99.9% of logic, (the 'C' of MVC)
that instantiate objects and pass control over to Embperl-coded pages
that generate visible output.
This way web designers can produce all of the 'V' part of MVC -- there
is a tiny header at the top of the page to pick up a few objects
passed in as parameters, and a one-page cheat-sheet reminds them what
[+ $user->username +] means.
Mason has a much larger ant-hill -- if you have to host your site on a
shared server, you will likely experience resistance from the sysadmin
who thinks that PHP is teh Hax0r. Mason has a much richer featureset
than Embperl, and the complexity that comes with. Mason offers a
wonderful heirarchical "onion" of handlers and components. You can
have an 'autohandler' at your DocumentRoot, for example, that sets up
all of the session data, and wraps your entire site into an eval{}
block -- one stop shopping for Transaction-safe Database programming.
My biggest squawk thus far has been: It is too easy for programmers to
put Perl code into the mason components, thus making it forever a
"programmer only" domain. There are techniques to minimize this, via
clever use of autohandlers and a library of Mason Components dedicated
only to the "view" part of MVC, but the <%init></%init> section still
tends to crash non-programmer HTML authors.
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Lawrence Statton - lawrenabae@abaluon.abaom s/aba/c/g
Computer software consists of only two components: ones and
zeros, in roughly equal proportions. All that is required is to
sort them into the correct order.
------------------------------
Date: 6 Apr 2001 21:33:47 GMT (Last modified)
From: Perl-Users-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin)
Subject: Digest Administrivia (Last modified: 6 Apr 01)
Message-Id: <null>
Administrivia:
#The Perl-Users Digest is a retransmission of the USENET newsgroup
#comp.lang.perl.misc. For subscription or unsubscription requests, send
#the single line:
#
# subscribe perl-users
#or:
# unsubscribe perl-users
#
#to almanac@ruby.oce.orst.edu.
NOTE: due to the current flood of worm email banging on ruby, the smtp
server on ruby has been shut off until further notice.
To submit articles to comp.lang.perl.announce, send your article to
clpa@perl.com.
#To request back copies (available for a week or so), send your request
#to almanac@ruby.oce.orst.edu with the command "send perl-users x.y",
#where x is the volume number and y is the issue number.
#For other requests pertaining to the digest, send mail to
#perl-users-request@ruby.oce.orst.edu. Do not waste your time or mine
#sending perl questions to the -request address, I don't have time to
#answer them even if I did know the answer.
------------------------------
End of Perl-Users Digest V10 Issue 8559
***************************************