Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^3: Perl FCGI Error: mod_fcgid: error reading data from FastCGI server

by Anonymous Monk
on Jan 28, 2020 at 21:39 UTC ( [id://11111991]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Perl FCGI Error: mod_fcgid: error reading data from FastCGI server
in thread Perl FCGI Error: mod_fcgid: error reading data from FastCGI server

The reason for trying FCGI was following the advice from https://metacpan.org/pod/CGI::Fast "CGI::Fast is based on CGI.pm it is no longer advised as a way to write Perl web apps".

you're totally missing the point of that propaganda , it isnt to reinvent CGI or use less convenient imitations...

Re: Replacing CGI.pm is busywork

Re^3: appending to html at beginning ( use CGI for parsing cgi)

Re: CGI Parameters (CGI.pm, CGI::Fast )

  • Comment on Re^3: Perl FCGI Error: mod_fcgid: error reading data from FastCGI server

Replies are listed 'Best First'.
Re^4: Perl FCGI Error: mod_fcgid: error reading data from FastCGI server
by knox (Sexton) on Jan 28, 2020 at 23:52 UTC

    This helps put a new perspective on several questions I've had. I've been reluctant to dive into a frameworks because 1, its overkill for the project I am working on and 2, I want to be able understand code without a layer of abstraction.

    Recently, I've been involved with a Perl web project and really enjoying it. As someone new'ish to Perl, reading about CGI.pm online has been a can of worms, and I don't wish spark any animosity. However, by removing CGI.pm and not adapting frameworks (yet), it has forced me to look under the hood and learn Perl more deeply and has been rewarding. I've gleaned quite a bit just by inspecting the CGI.pm too. The threads you've provided give much food for thought, thank you.

      I think for a new programmer with some understanding of HTTP, Mojolicious is probably easier to learn, definitely easier to write, and an altogether superior toolkit to any of the F?CGI:: family. I like CGI.pm for what it is and I wrote thousands of scripts/CGIs with it. I would never use it again except for certain kinds of testing and quick HTML templating.

        Thank you. I've read good things about Dancer as well. From your experience, Would you say that Mojolicious is the best framework for FCGI?

        As an aside, I am not necessary a new programmer, just rusty. I developed PHP years ago, then moved into other areas of tech. Outside of a little bit of python, lua, and javascript, I've done very little programming for nearly 8 years. I recently had project that Perl was the perfect fit, and I became hooked. I never realised the vastness of cpan and 'usefulliness' of Perl, so its made diving back into programming fun again. This particular board has been useful for when I am stuck, and when I am very stuck, the responses have been very quick!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11111991]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2024-04-19 04:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found