perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eugen Konkov <>
Subject Re: Alternatives to CGI perl module
Date Sun, 11 Sep 2016 11:08:24 GMT
<html><head><title>Re: Alternatives to CGI perl module</title>
<span style=" font-family:'Courier New'; font-size: 9pt;">Hi, Igor.<br>
You may try <br>
&#1042;&#1099; &#1087;&#1080;&#1089;&#1072;&#1083;&#1080;
10 &#1089;&#1077;&#1085;&#1090;&#1103;&#1073;&#1088;&#1103;
2016 &#1075;., 15:54:44:<br>
<td width=2 bgcolor= #0000ff><br>
<td><span style=" font-family:'courier new'; font-size: 9pt;">I hope that this
message would not be considered off topic. <br>
I have been developing web apps since 1996 and have about 84,000 lines of perl code implementing
various websites that I own. I do not work for anybody, &nbsp;own all websites that I
work on, and these sites feed my family.<br>
The largest website is </span><a style=" font-family:'courier new'; font-size: 9pt;"
href=""></a><span style=" font-family:'courier
new'; font-size: 9pt;"> and I have plenty of other websites, some to be used inside my
own company, and some niche websites like </span><a style=" font-family:'courier
new'; font-size: 9pt;" href=""></a><span
style=" font-family:'courier new'; font-size: 9pt;">. All these sites work, and all use
the CGI perl module. <br>
I always considered the CGI perl module to be a work of a genius. How it does forms, prefilling
of form values, working with arguments, headers, cookies, html generation and so on were outstanding.
The criticism of CGI as far as importing HTML generating functions in the main namespace is
valid, but can be answered in a simple way, do not use the functionality if you do not like
it (which is what I do), and use templates in your own code when necessary (as I do). <br>
OK, so now, as of ubuntu 16.04, CGI is considered obsolete and is being phased out. I cannot
change it. I am literally freaking out for two reasons, one is that I have 84,000 lines of
code using it, and another is that I have hard times finding a suitable alternative.<br>
One concern is that I want any alternatives to be maintained for the next 20 years. I can
start using something new now if I can find a suitable system. I read CGI::Alternatives and
I am left with a feeling that none of these will survive for 20 years. Second, while templating
is important for any big consumer facing websites, it is not necessary for intranet and niche
websites and makes things difficult to maintain. Additionally, templating involves more than
just HTML templates and sometimes needs to be done in perl scripts, using perl functions to
generate HTML as part of templating, not just HTML files.<br>
So, I am looking for some web app framework that is sensible, has good support going forward
and lets people use it "the easy way" (without a bazillion of files supporting a simple script)
or the "hard way" (with templates etc). I want a module where HTML can be expressed as a perl
statement. <br>
Are these any realistically good modules made for people such as myself?<br>
<span style=" font-family:'arial'; color: #c0c0c0;"><i>-- <br>
&#1057; &#1091;&#1074;&#1072;&#1078;&#1077;&#1085;&#1080;&#1077;&#1084;,<br>
 Eugen &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</i></span><a style="
font-family:'arial';" href=""></a></body></html>

View raw message