MESSAGE
DATE | 2020-08-04 |
FROM | From:
|
SUBJECT | Re: [Hangout - NYLXS] suggestions for perl as web development
|
From hangout-bounces-at-nylxs.com Thu Aug 6 22:04:00 2020 Return-Path: X-Original-To: archive-at-mrbrklyn.com Delivered-To: archive-at-mrbrklyn.com Received: from www2.mrbrklyn.com (www2.mrbrklyn.com [96.57.23.82]) by mrbrklyn.com (Postfix) with ESMTP id CF78D16400D; Thu, 6 Aug 2020 22:03:59 -0400 (EDT) X-Original-To: hangout-at-www2.mrbrklyn.com Delivered-To: hangout-at-www2.mrbrklyn.com Received: by mrbrklyn.com (Postfix, from userid 1000) id 928F8164011; Thu, 6 Aug 2020 22:01:32 -0400 (EDT) Resent-From: Ruben Safir Resent-Date: Thu, 6 Aug 2020 22:01:32 -0400 Resent-Message-ID: <20200807020132.GA24245-at-www2.mrbrklyn.com> Resent-To: hangout-at-mrbrklyn.com X-Original-To: ruben-at-mrbrklyn.com Delivered-To: ruben-at-mrbrklyn.com Received: from mailroute1-lw-us.apache.org (mailroute1-lw-us.apache.org [207.244.88.153]) by mrbrklyn.com (Postfix) with ESMTP id D8DEF163F91 for ; Tue, 4 Aug 2020 20:33:08 -0400 (EDT) Received: from mail.apache.org (localhost [127.0.0.1]) by mailroute1-lw-us.apache.org (ASF Mail Server at mailroute1-lw-us.apache.org) with SMTP id 710CA125089 for ; Wed, 5 Aug 2020 00:33:08 +0000 (UTC) Received: (qmail 60560 invoked by uid 500); 5 Aug 2020 00:33:08 -0000 Mailing-List: contact modperl-help-at-perl.apache.org; run by ezmlm Precedence: bulk Delivered-To: mailing list modperl-at-perl.apache.org Received: (qmail 60545 invoked by uid 99); 5 Aug 2020 00:33:07 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Aug 2020 00:33:07 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 90280181457 for ; Wed, 5 Aug 2020 00:33:06 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.209 X-Spam-Level: X-Spam-Status: No, score=0.209 tagged_above=-999 required=6.31 tests=[DKIM_INVALID=0.1, DKIM_SIGNED=0.1, KAM_DMARC_STATUS=0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=neutral reason="invalid (public key: not available)" header.d=prosentient.com.au Received: from mx1-he-de.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id Q0YA4euJUhS5 for ; Wed, 5 Aug 2020 00:33:03 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=14.201.38.58; helo=mail.prosentient.com.au; envelope-from=dcook-at-prosentient.com.au; receiver= Received: from mail.prosentient.com.au (mail.prosentient.com.au [14.201.38.58]) by mx1-he-de.apache.org (ASF Mail Server at mx1-he-de.apache.org) with ESMTPS id 469017F5C9 for ; Wed, 5 Aug 2020 00:32:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=prosentient.com.au; s=MDaemon; t=1596587569; x=1597797169; i=dcook-at-prosentient.com.au; q=dns/txt; h=MDPGP-Results: MDPGP-Results:From:To:References:In-Reply-To:Subject:Date: Message-ID:MIME-Version:Content-Language:Thread-Index: Content-Type; bh=90PnU6/wexMyS8To5pJ5rTBY5qydBiIMqcuR0ERZtvI=; b=jVUE3VyjJksX38aIRsTQiksTS0CfUEGmIN2vzTbudj4AuUH3gv0kQ/HHX3fHw7 JfCcyz/I8GHl5i795lJkIoA6gs6SsFR/H0sE4zhzj/5Pi90Tg6tBTBFJl9xZZjmT W9Ni5k1N36SMfVP/FEDujo2qSTQ3XPdLWs8MlI3hw+BrU= Received: from DCOOK by prosentient.com.au with ESMTPSA id pgp50006429620.mdpgp.msg; Wed, 05 Aug 2020 10:32:48 +1000 X-Spam-Processed: mail.prosentient.com.au, Wed, 05 Aug 2020 10:32:48 +1000 (not processed: message from trusted or authenticated source) X-MDPGP-Result: t=v; k=7F73AFCB1DDF1871; (mail.prosentient.com.au) X-MDArrival-Date: Wed, 05 Aug 2020 10:32:48 +1000 X-Authenticated-Sender: dcook-at-prosentient.com.au X-Return-Path: dcook-at-prosentient.com.au X-Envelope-From: dcook-at-prosentient.com.au X-MDaemon-Deliver-To: modperl-at-perl.apache.org MDPGP-Results: mail.prosentient.com.au; Wed, 05 Aug 2020 10:32:48 +1000; id=118484; t=v; e=dcook-at-prosentient.com.au; k=7F73AFCB1DDF1871; verified signature created by dcook-at-prosentient.com.au with key-id 7F73AFCB1DDF1871 MDPGP-Results: mail.prosentient.com.au; Wed, 05 Aug 2020 10:32:40 +1000; id=118484; t=s; e=dcook-at-prosentient.com.au; k=7F73AFCB1DDF1871; signed by dcook-at-prosentient.com.au with key-id 7F73AFCB1DDF1871 From: To: References: <27779c3e56564c73a7fa49b49cc3f9f0-at-sanger.ac.uk> <20200804191421.GA31200-at-www2.mrbrklyn.com> In-Reply-To: <20200804191421.GA31200-at-www2.mrbrklyn.com> Date: Wed, 5 Aug 2020 10:32:39 +1000 Message-ID: <032101d66abf$ec7e0d30$c57a2790$-at-prosentient.com.au> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 16.0 Content-Language: en-au Thread-Index: AQIgUb9Jt5Onyc3VAo98d4u4L9KirQHkvthZASfqyEUB3hnuZQLgWmBhqFZ7hvA= Subject: Re: [Hangout - NYLXS] suggestions for perl as web development language [EXT] X-BeenThere: hangout-at-nylxs.com X-Mailman-Version: 2.1.30rc1 List-Id: NYLXS Tech Talk and Politics List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1371023125==" Errors-To: hangout-bounces-at-nylxs.com Sender: "Hangout"
--===============1371023125== Content-Language: en-au Content-Type: multipart/signed; boundary="MDPGP_part_boundary_1596587560"; micalg=pgp-sha1; protocol="application/pgp-signature"
--MDPGP_part_boundary_1596587560 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I don't really see the utility of this thread, since these are just = circular arguments based primarily on opinion, and no one is going to convince someone else that their opinion is wrong.
That said, I'll just point out one thing about the earlier comment "How = many platforms can survive 30 years. Mod_Perl/Apache."
Mod_perl is 24 years old (http://perl.apache.org/about/history.html), = Apache httpd is 25 years old (https://httpd.apache.org/ABOUT_APACHE.html), and = Perl is roughly 32 years old (https://en.wikipedia.org/wiki/Perl).=20
At this point, no Mod_Perl/Apache platforms has survived 30 years. I = have 1 Mod_Perl/Apache platform left and it is about 9 years old, and its = lifespan is currently based on inertia. At some point, it will be replaced by a = new system written in a programming language for which the system owner (ie = not me) can shop around, unless the dollar cost of doing that is greater = than letting inertia continue.
One other comment. The worst performing parts of my Mod_perl/Apache application have nothing to do with Mod_perl or Apache. They have to do = with poor quality code and poor database schema design completed by other developers nearly a decade ago. I could run the same application using Starman and Nginx, and it would still have the exact same problems. You = can take any tool and craft a poor solution. Likewise, you can take many = tools and craft a great solution.
I have no complaints about Mod_perl/Apache per se, but - like Perl - = they're aging. I already use Starman with other projects, and at some point I'll replace mod_perl with it, as I know it better and I know more people who know it better. I'm also using a Catalyst framework, so it's pretty much plug and play.
Note also that it's easier to get a specific version of Starman than it = is to get a specific version of Mod_perl/Apache in a particular OS.=20
Anyway, with the exception of those aforementioned dates, that's just my opinion.=20
David Cook
-----Original Message----- From: Ruben Safir =20 Sent: Wednesday, 5 August 2020 5:14 AM To: Andr=E9 Warnier (tomcat/perl) Cc: modperl-at-perl.apache.org Subject: Re: suggestions for perl as web development language [EXT]
On Tue, Aug 04, 2020 at 05:04:50PM +0200, Andr=E9 Warnier (tomcat/perl) = wrote: > On 04.08.2020 11:31, paul trader wrote: > >On Tue, 4 Aug 2020 at 07:36, James Smith opined: > > > >JS:Others will disagree but the best way I still believe is using=20 > >mod_perl > >JS:- but only if you use it's full power - and you probably need a=20 > >special JS:sort of mind set to use - but that can be said for any language. > > > >i will second this motion. mod_perls ability to hook into any step=20 > >of the process apache uses to serve up a page makes it easy to design =
> >a web solution that can be tailored for any solution. > > >=20 > Let me agree and add to that. >=20 > If your purpose is simply to write "classic web applications" (in the=20 > sense of user interface etc), then there are probably nowadays easier=20 > and "more modern" tools than mod_perl; and indeed it is a problem to=20 > find young programmers who already know perl. > (It is not difficult however for a good young programmer, to learn=20 > perl. And I would always prefer a good young programmer who doesn't=20 > know perl yet, over a not so good young programmer who knows=20 > everything except perl.) >=20 > On the other hand, if your kind of project involves a very tight=20 > integration with all aspects of Apache httpd, then there really isn't=20 > any other tool than mod_perl to do it. > It is difficult in a short message like this to detail all the ways=20 > that you can interact with Apache httpd to get things done, but have a =
> look at the schema here : >=20 > https://www.askapache.com/s/s.askapache.net/httpd/modules/modsecurity- > apache_2.1.4/doc/html-multipage/04-processing-phases.html >=20 > and imagine that, with mod_perl, you can interact with Apache httpd=20 > and control virtually everything that happens within any of those=20 > boxes (and even between them). > Together, Apache httpd + mod_perl are a tool for creating complex=20 > web-based applications, which has no equivalent anywhere (not with any =
> other webserver, not with any other programming language, not with any =
> kind of OS)(in the open-source/free world). > In addition, using mod_perl does not prevent you from using any other=20 > Apache add-on module or any other development tool in addition (in=20 > whatever programming language you choose). mod_perl just allows you to =
> do more, and faster. >=20 > A possible problem with mod_perl may be its continued support,=20 > considering the kind of discussions (hopefully temporary) going on at=20 > the moment in the perl 5.x/7.x development community. > But I believe that there is such a wide existing base of solid web=20 > applications based on perl, mod_perl and the (also incomparable) CPAN=20 > library, that any idea of dropping support for them, would be for some =
> time quite far in the future. >=20
Everything depends....
Consider this though, when whipping up your new JSOm superwidget dodad enterprise project...
How many platforms can survive 30 years. Mod_Perl/Apache.
How many platforms can be taken seriously with regard to privacy?
If I am doing a serious enterprise for something like healthcare, you = need to consider mod_perl for the longevity and security.
Concurancy is a problem that the modperl team and perl team should fix.
> P.S. As an example : I am at the moment working on expanding an=20 > Apache/mod_perl user authentication module, that has to be able to=20 > authenticate users using either of HTTP Basic, LDAP, SAML, SPNEGO=20 > (Windows), OpenId, SiteMinder (tm), client IP and and login-form based =
> authentication, while delivering a consistent "user profile" > to follow-up web applications. > And I cannot think of any other tool than Apache/mod_perl which would allow me to do this. > (except this : https://metacpan.org/pod/Apache2::AuthAny, but that is=20 > also mod_perl based)
-- So many immigrant groups have swept through our town that Brooklyn, like Atlantis, reaches mythological proportions in the mind of the world - RI Safir 1998 http://www.mrbrklyn.com=20
DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002 = http://www.nylxs.com - Leadership Development in Free Software = http://www2.mrbrklyn.com/resources - Unpublished Archive http://www.coinhangout.com - coins! http://www.brooklyn-living.com=20
Being so tracked is for FARM ANIMALS and extermination camps, but incompatible with living as a free human being. -RI Safir 2013
--MDPGP_part_boundary_1596587560 Content-Type: application/pgp-signature; name="signature.asc" Content-Disposition: attachment; filename="signature.asc"
-----BEGIN PGP SIGNATURE----- Version: OpenPGP for MDaemon v19.5.4
wsBVAwUAXyn+KX9zr8sd3xhxAwISkQgAgYSaCR2Uhu4O6xb3cB6ek9mZEVowMDDA Nz5gJxys4X6rr1nzR5euoNLAD3GkeEnGnPm0GoSRObbryc4JrzFdKSY30o34ymw8 HPF74lDYcrOoGFsM2bgRQgTCHFBEPgPzrmiTun3Mt/JyGooHn+3F0HguMvrEfJCJ VPOLtXpIsT1vhO7yc41IMjyp+hzZZPdXBQDmQn2Nd0YPQ3X4jPGqmVbUleuDNmGa ssuN7iC0DyCBPdQUivVR2Y9aYN3ygZmLm0JAZ/9o2COh9lzhR5dEB3137WuBBTGi zY5OVttzTmibAC+WoEbynbNeUpi+U7QkNF+dyYafEkVVq1tke1asOw== =lSx/ -----END PGP SIGNATURE-----
--MDPGP_part_boundary_1596587560--
--===============1371023125== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline
_______________________________________________ Hangout mailing list Hangout-at-nylxs.com http://lists.mrbrklyn.com/mailman/listinfo/hangout
--===============1371023125==--
--===============1371023125== Content-Language: en-au Content-Type: multipart/signed; boundary="MDPGP_part_boundary_1596587560"; micalg=pgp-sha1; protocol="application/pgp-signature"
--MDPGP_part_boundary_1596587560 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I don't really see the utility of this thread, since these are just = circular arguments based primarily on opinion, and no one is going to convince someone else that their opinion is wrong.
That said, I'll just point out one thing about the earlier comment "How = many platforms can survive 30 years. Mod_Perl/Apache."
Mod_perl is 24 years old (http://perl.apache.org/about/history.html), = Apache httpd is 25 years old (https://httpd.apache.org/ABOUT_APACHE.html), and = Perl is roughly 32 years old (https://en.wikipedia.org/wiki/Perl).=20
At this point, no Mod_Perl/Apache platforms has survived 30 years. I = have 1 Mod_Perl/Apache platform left and it is about 9 years old, and its = lifespan is currently based on inertia. At some point, it will be replaced by a = new system written in a programming language for which the system owner (ie = not me) can shop around, unless the dollar cost of doing that is greater = than letting inertia continue.
One other comment. The worst performing parts of my Mod_perl/Apache application have nothing to do with Mod_perl or Apache. They have to do = with poor quality code and poor database schema design completed by other developers nearly a decade ago. I could run the same application using Starman and Nginx, and it would still have the exact same problems. You = can take any tool and craft a poor solution. Likewise, you can take many = tools and craft a great solution.
I have no complaints about Mod_perl/Apache per se, but - like Perl - = they're aging. I already use Starman with other projects, and at some point I'll replace mod_perl with it, as I know it better and I know more people who know it better. I'm also using a Catalyst framework, so it's pretty much plug and play.
Note also that it's easier to get a specific version of Starman than it = is to get a specific version of Mod_perl/Apache in a particular OS.=20
Anyway, with the exception of those aforementioned dates, that's just my opinion.=20
David Cook
-----Original Message----- From: Ruben Safir =20 Sent: Wednesday, 5 August 2020 5:14 AM To: Andr=E9 Warnier (tomcat/perl) Cc: modperl-at-perl.apache.org Subject: Re: suggestions for perl as web development language [EXT]
On Tue, Aug 04, 2020 at 05:04:50PM +0200, Andr=E9 Warnier (tomcat/perl) = wrote: > On 04.08.2020 11:31, paul trader wrote: > >On Tue, 4 Aug 2020 at 07:36, James Smith opined: > > > >JS:Others will disagree but the best way I still believe is using=20 > >mod_perl > >JS:- but only if you use it's full power - and you probably need a=20 > >special JS:sort of mind set to use - but that can be said for any language. > > > >i will second this motion. mod_perls ability to hook into any step=20 > >of the process apache uses to serve up a page makes it easy to design =
> >a web solution that can be tailored for any solution. > > >=20 > Let me agree and add to that. >=20 > If your purpose is simply to write "classic web applications" (in the=20 > sense of user interface etc), then there are probably nowadays easier=20 > and "more modern" tools than mod_perl; and indeed it is a problem to=20 > find young programmers who already know perl. > (It is not difficult however for a good young programmer, to learn=20 > perl. And I would always prefer a good young programmer who doesn't=20 > know perl yet, over a not so good young programmer who knows=20 > everything except perl.) >=20 > On the other hand, if your kind of project involves a very tight=20 > integration with all aspects of Apache httpd, then there really isn't=20 > any other tool than mod_perl to do it. > It is difficult in a short message like this to detail all the ways=20 > that you can interact with Apache httpd to get things done, but have a =
> look at the schema here : >=20 > https://www.askapache.com/s/s.askapache.net/httpd/modules/modsecurity- > apache_2.1.4/doc/html-multipage/04-processing-phases.html >=20 > and imagine that, with mod_perl, you can interact with Apache httpd=20 > and control virtually everything that happens within any of those=20 > boxes (and even between them). > Together, Apache httpd + mod_perl are a tool for creating complex=20 > web-based applications, which has no equivalent anywhere (not with any =
> other webserver, not with any other programming language, not with any =
> kind of OS)(in the open-source/free world). > In addition, using mod_perl does not prevent you from using any other=20 > Apache add-on module or any other development tool in addition (in=20 > whatever programming language you choose). mod_perl just allows you to =
> do more, and faster. >=20 > A possible problem with mod_perl may be its continued support,=20 > considering the kind of discussions (hopefully temporary) going on at=20 > the moment in the perl 5.x/7.x development community. > But I believe that there is such a wide existing base of solid web=20 > applications based on perl, mod_perl and the (also incomparable) CPAN=20 > library, that any idea of dropping support for them, would be for some =
> time quite far in the future. >=20
Everything depends....
Consider this though, when whipping up your new JSOm superwidget dodad enterprise project...
How many platforms can survive 30 years. Mod_Perl/Apache.
How many platforms can be taken seriously with regard to privacy?
If I am doing a serious enterprise for something like healthcare, you = need to consider mod_perl for the longevity and security.
Concurancy is a problem that the modperl team and perl team should fix.
> P.S. As an example : I am at the moment working on expanding an=20 > Apache/mod_perl user authentication module, that has to be able to=20 > authenticate users using either of HTTP Basic, LDAP, SAML, SPNEGO=20 > (Windows), OpenId, SiteMinder (tm), client IP and and login-form based =
> authentication, while delivering a consistent "user profile" > to follow-up web applications. > And I cannot think of any other tool than Apache/mod_perl which would allow me to do this. > (except this : https://metacpan.org/pod/Apache2::AuthAny, but that is=20 > also mod_perl based)
-- So many immigrant groups have swept through our town that Brooklyn, like Atlantis, reaches mythological proportions in the mind of the world - RI Safir 1998 http://www.mrbrklyn.com=20
DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002 = http://www.nylxs.com - Leadership Development in Free Software = http://www2.mrbrklyn.com/resources - Unpublished Archive http://www.coinhangout.com - coins! http://www.brooklyn-living.com=20
Being so tracked is for FARM ANIMALS and extermination camps, but incompatible with living as a free human being. -RI Safir 2013
--MDPGP_part_boundary_1596587560 Content-Type: application/pgp-signature; name="signature.asc" Content-Disposition: attachment; filename="signature.asc"
-----BEGIN PGP SIGNATURE----- Version: OpenPGP for MDaemon v19.5.4
wsBVAwUAXyn+KX9zr8sd3xhxAwISkQgAgYSaCR2Uhu4O6xb3cB6ek9mZEVowMDDA Nz5gJxys4X6rr1nzR5euoNLAD3GkeEnGnPm0GoSRObbryc4JrzFdKSY30o34ymw8 HPF74lDYcrOoGFsM2bgRQgTCHFBEPgPzrmiTun3Mt/JyGooHn+3F0HguMvrEfJCJ VPOLtXpIsT1vhO7yc41IMjyp+hzZZPdXBQDmQn2Nd0YPQ3X4jPGqmVbUleuDNmGa ssuN7iC0DyCBPdQUivVR2Y9aYN3ygZmLm0JAZ/9o2COh9lzhR5dEB3137WuBBTGi zY5OVttzTmibAC+WoEbynbNeUpi+U7QkNF+dyYafEkVVq1tke1asOw== =lSx/ -----END PGP SIGNATURE-----
--MDPGP_part_boundary_1596587560--
--===============1371023125== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline
_______________________________________________ Hangout mailing list Hangout-at-nylxs.com http://lists.mrbrklyn.com/mailman/listinfo/hangout
--===============1371023125==--
|
|