Most of 1-4 can be answered by using some persistent environment to run your CGI scripts in (read: mod_perl for apache!). With that, you only read each module in once (per server) and you only need only persistent DBI connection. If you can run mod_perl, by all means do so, but do realize that if you have existing CGI scripts, you'll probably need to whittle at them a bit to make them mod_perl friendly.
As for CGI and SSI, I would use SSI on mostly static pages, particularly those that are not results of any previous CGI (eg, for a quote of the day, or the like). Anything else should be done with CGI and a template solution; in most cases, the template module can be cached if you use mod_perl, so you gain a further advantage.
Dr. Michael K. Neylon - mneylon-pm@masemware.com
||
"You've left the lens cap of your mind on again, Pinky" - The Brain
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.