Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Learning CGI and mod_perl

by sundialsvc4 (Abbot)
on Dec 30, 2008 at 22:10 UTC ( #733347=note: print w/ replies, xml ) Need Help??


in reply to Learning CGI and mod_perl

Part of the challenge that you face is simply determining what it is that you want to learn (how to do). What is the business objective that you are trying to achieve, and what business obstacles must be overcome?

We have come a lon-n-n-n-n-g way (thankfully...) from the days when Perl scripts read a GET/POST message as their standard-input and PRINTed their replies. The original CGI module (itself a light-years advancement over all that came before it) has since been augmented and extended by an immense number of “application frameworks” of various degrees of focus and complexity, as the members of the Perl community labored to make the best possible use of both their laziness and their hubris. :-D They are all right there, waiting for you, in CPAN.

When you are reading a text of even slight age, you might well find yourself being pedantically taught how to do ... “a thing that has already been done,” and “oh by the way, done very well indeed.” In that case, you're just wasting your time (if not your personal curiosity) “learning how to do that thing” all over again. One does not prepare for a long road trip by learning how to refine gasoline.

CPAN, “that luscious repository of ten thousand tested software modules,” is always the place to start ... and to finish. DRYOAE = Don't Repeat Yourself Or Anyone Else. Find the highest-level framework, or other body of existing, tested code, that you can find. Base your project on that.


Comment on Re: Learning CGI and mod_perl

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (9)
As of 2014-12-26 15:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (171 votes), past polls