Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 58AEA200D57 for ; Mon, 27 Nov 2017 05:26:26 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 5720E160C00; Mon, 27 Nov 2017 04:26:26 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 773CF160BFF for ; Mon, 27 Nov 2017 05:26:25 +0100 (CET) Received: (qmail 96696 invoked by uid 500); 27 Nov 2017 04:26:23 -0000 Mailing-List: contact modperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list modperl@perl.apache.org Received: (qmail 96681 invoked by uid 99); 27 Nov 2017 04:26:23 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Nov 2017 04:26:23 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id B5D1C1A1160 for ; Mon, 27 Nov 2017 04:26:22 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.901 X-Spam-Level: X-Spam-Status: No, score=-0.901 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id ZsbQO0wQy4JM for ; Mon, 27 Nov 2017 04:26:21 +0000 (UTC) Received: from mail-pf0-f169.google.com (mail-pf0-f169.google.com [209.85.192.169]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id D231E5F177 for ; Mon, 27 Nov 2017 04:26:20 +0000 (UTC) Received: by mail-pf0-f169.google.com with SMTP id a84so16845659pfl.0 for ; Sun, 26 Nov 2017 20:26:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=2pdy8mtDNyN0lEJuy3YuBtv75rtQwM/ZmqY4/3Px5N8=; b=qZw/8S0Eb9Q1K1DDhvkdDfV2Puc0Ms4UV0pA0evGdSc4sNGgcVsmAQ/0dY2LEdoX06 npaoU1cOdowZIJeXSaBgqUC7B5zxJ+ffn3P0sPpjWsu+QFkSxSz0JhhuzHqmNT2X5ItR cgTJRtBVtTm5Jzc9lxko3xZ96Ho1jndTbYtO/74q41OnOiFbLSr43WWazYE4L1P9bB+O M9d0imwrhcXHXmqVgf+YBJ361OuM3iSl8FahrZ6pAnzQBhRnt8ne90u4VH5yrILw+YEY FXcn7Mj/p1UW6udOBze6K5+uhUGWuhji+q8+YvA12xcbgyYH+F5k4HuQeew49sRnw8DO K6+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=2pdy8mtDNyN0lEJuy3YuBtv75rtQwM/ZmqY4/3Px5N8=; b=Sw/QzpTSbyLjajrhB1Uc8o2PKWQDuc7rwHTo5st1xLV2HwFRqfkp4gcchal3wt10q6 KgR7TE/OEiVBWBoiIZAj/CB/SuEevQ1t3gN5uLWRjvnkxQEB577C67G4wu5eIZdmEyrA Q4veFJAafyR4NyTKfZPhRiYekN37ISB1keLEDpPn/2DeHxYuKtWZ8TB/G2u25ihQtsU6 NVIeNSBap1dy20xbbFuh8abBuCWqP5LBSfsS3rgbIZ2HQn8k7tzliP+GfwZnr18VnkCa 6Qv90z4aL4akGeEQE1nKPm/7yHbv1OZ+W2UDGQ2cRySvUtNE79xzxU3PzsacOsZE1Cy2 sC1A== X-Gm-Message-State: AJaThX4sZFzXD2CeKfLT/+s3h1TjbFxmQXdW/1VxQ2rtD9N+kxxgtAyj OM9+DnFFqMWK3lW6R6rHWfL6rHeElcxloryfBerdgg== X-Google-Smtp-Source: AGs4zMb33jRPhSK7o5ts9cBXxQE5RSnRM7dE74ooG9zjT4aGbG1zX3md/IhRiwGsrciuuQTUbQDOlZyS1huKj90YM4c= X-Received: by 10.99.177.8 with SMTP id r8mr22744193pgf.365.1511756773826; Sun, 26 Nov 2017 20:26:13 -0800 (PST) MIME-Version: 1.0 Received: by 10.100.149.208 with HTTP; Sun, 26 Nov 2017 20:25:33 -0800 (PST) From: Igor Chudov Date: Sun, 26 Nov 2017 22:25:33 -0600 Message-ID: Subject: CGI module deprecation To: Mod_Perl Content-Type: multipart/alternative; boundary="94eb2c1bf2287da5e1055eef4d9f" archived-at: Mon, 27 Nov 2017 04:26:26 -0000 --94eb2c1bf2287da5e1055eef4d9f Content-Type: text/plain; charset="UTF-8" I am a very long term user of the famous CGI module. My biggest project is www.algebra.com. There are al;so many others. Let me mention that my use of perl on the web, a very long time ago, started out with Embperl. At that time, I thought that use of HTML templates with perl code sprinkled in is a great idea. It was not. About two years later, I realized that use of "perl inside HTML" is completely unsuitable for the complex things that I was doing, and I abandoned Embperl and switched to the CGI module. The CGI module uses "HTML generation from perl" and that was much more suitable for me for two reasons. One reason is that my web apps are heavy with logic and relatively light with HTML. The other reason is that I like to separate presentation from application logic, and using perl in proper manner made that easy to accomplish. Fast forward to today, I can see that CGI module is being deprecated! The alternatives to it, suggested by CGI::Alternatives, seem to force on me a different paradigm of development. For example, HTML template seems to be a rerun of Embperl. That gives me bad heartburn. Several other frameworks are completely different functionally, in ways that seem to be not very compatible with my thinking. Anyway, I am sort of open minded to not use perl CGI module for HTML generation. Now what? Is there a HTML generation perl module that does not force me to use "different paradigms", but that simply makes outputting HTML from perl an easy and maintainable task? Thanks a lot. I am not looking to start a flamewar. I hope that I did not insult anyone. If I did, I apologize. All I want it to find a way to generate HTML without switching to completely new, or discarded like Embperl, paradigmatic choices. Thanks a lot. --94eb2c1bf2287da5e1055eef4d9f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I am a very long term user of the famous CGI module. My bi= ggest project is www.algebra.com. Th= ere are al;so many others.=C2=A0

Let me mention that my = use of perl on the web, a very long time ago, started out with Embperl.=C2= =A0

At that time, I thought that use of HTML templ= ates with perl code sprinkled in is a great idea. It was not.
About two years later, I realized that use of "perl inside= HTML" is completely unsuitable for the complex things that I was doin= g, and I abandoned Embperl and switched to the CGI module. The CGI module u= ses "HTML generation from perl" and that was much more suitable f= or me for two reasons. One reason is that my web apps are heavy with logic = and relatively light with HTML. The other reason is that I like to separate= presentation from application logic, and using perl in proper manner made = that easy to accomplish.

Fast forward to today, I = can see that CGI module is being deprecated!

The a= lternatives to it, suggested by CGI::Alternatives, seem to force on me a di= fferent paradigm of development. For example, HTML template seems to be a r= erun of Embperl. That gives me bad heartburn.=C2=A0

Several other frameworks are completely different functionally, in ways t= hat seem to be not very compatible with my thinking.=C2=A0

Anyway, I am sort of open minded to not use perl CGI module for HT= ML generation. Now what?

Is there a HTML generatio= n perl module that does not force me to use "different paradigms"= , but that simply makes outputting HTML from perl an easy and maintainable = task?

Thanks a lot. I am not looking to start a fl= amewar. I hope that I did not insult anyone. If I did, I apologize. All I w= ant it to find a way to generate HTML without switching to completely new, = or discarded like Embperl, paradigmatic choices. Thanks a lot.
--94eb2c1bf2287da5e1055eef4d9f--